All Products
Search
Document Center

ApsaraDB RDS:Release or unsubscribe from an instance

Last Updated:Mar 30, 2026

When you no longer need an ApsaraDB RDS for MySQL instance, you can release or unsubscribe from it to stop billing. The action depends on your billing model: release a pay-as-you-go or serverless instance, or unsubscribe from a subscription instance.

Prerequisites

Before you begin, confirm the following:

  • Billing model: Identify whether your instance uses pay-as-you-go, serverless, or subscription billing. The action you take differs by billing model.

  • Suspension state: A pay-as-you-go instance in the Suspended state cannot be released directly. Restart the instance first, or call the DeleteDBInstance API operation.

  • Last read-only instance: To release or unsubscribe from the last read-only instance attached to a primary instance, first disable read/write splitting on the primary instance.

  • After you unsubscribe from a subscription instance, it enters a locked state. It remains visible in the console but billing stops. You must destroy the instance in the recycle bin to permanently remove it from the console.

  • Data backup: Releasing or unsubscribing from an instance permanently deletes its data in most cases. Back up the instance before proceeding, then download the backup files to local storage.

What happens after you release or unsubscribe

Recycle bin

The following instances are moved to the recycle bin after release or unsubscription. You can unlock and rebuild them from the recycle bin:

  • Subscription instances that expire or are manually unsubscribed from

  • Pay-as-you-go instances that are manually released

  • Serverless instances that are manually released

Not all instances meet the requirements for the recycle bin. For details, see Manage ApsaraDB RDS for MySQL instances in the recycle bin.

Data retention

Your data outcome depends on whether you configured backup retention before releasing or unsubscribing:

Scenario What happens
Backup Retention Policy After Release is configured Backup files are retained after the instance is released. Download them from the console. If the parameter is set to Latest or All, backup storage fees continue to apply. To stop charges, delete the backup files.
Cross-region backup is enabled and the instance is within the retention period Cross-region backup files are retained.
Neither of the above Instance data is immediately and permanently deleted. This cannot be undone.

Read-only instances

When you release or unsubscribe from a primary instance, all associated read-only instances — both pay-as-you-go and subscription — are automatically deleted. Payments for subscription read-only instances are refunded.

Subscription instances in the console

After you unsubscribe from a subscription instance, it is locked and no further fees are charged. The instance remains visible in the ApsaraDB RDS console until you destroy it in the recycle bin.

Release or unsubscribe from a primary instance

Release a pay-as-you-go or serverless primary instance

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Use either of the following methods to release the instance:

    • Method 1: Find the instance. In the Actions column, choose More > Release Instance.实例列表释放按量付费实例

    • Method 2: Find the instance and click its ID. On the Basic Information page, go to the Status section and click Release Instance.Submit a ticketSubmit a ticket

  3. In the dialog box, click Yes.

Unsubscribe from a subscription primary instance

Use any of the following methods to unsubscribe from a subscription instance.

From the Unsubscriptions page

Go to the Resource Unsubscription page and submit a ticketticketticketticketticketticketticket to apply for unsubscription.

Log on to the Unsubscription Management page and submit a ticket to request unsubscription from the subscription instance.

Log on to the Unsubscription Management page and submit a ticket to request unsubscription from the subscription instance.

From the Basic Information page

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Find the instance and click its ID. On the Basic Information page, go to the Status section and click Cancellation of Instance Subscription to open the Resource Unsubscription page. Submit a ticketticketticketticketticketticketticket to apply for unsubscription.

From the instance list

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Find the instance. In the Actions column, choose More > Cancellation of Instance Subscription. In the dialog box, click OK to open the Resource Unsubscription page. Submit a ticketticketticketticketticketticketticket to apply for unsubscription.

Release or unsubscribe from a read-only instance

Release a pay-as-you-go read-only instance

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Use either of the following methods to release the instance:

    • Method 1: Find the read-only instance. In the Actions column, choose More > Release Instance.实例列表释放按量付费实例

    • Method 2: Find the read-only instance and click its ID. On the Basic Information page, click Release Instance.实例基本信息释放按量付费实例

  3. In the dialog box, click OK.

Unsubscribe from a subscription read-only instance

Use any of the following methods to unsubscribe from a subscription read-only instance.

From the Unsubscriptions page

Go to the Resource Unsubscription page and submit a ticketticketticketticketticketticketticket to apply for unsubscription.

From the Basic Information page

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Find the read-only instance and click its ID. On the Basic Information page, go to the Status section and click Cancellation of Instance Subscription to open the Resource Unsubscription page. Submit a ticketticketticketticketticketticketticket to apply for unsubscription.

From the instance list

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instance resides.

  2. Find the read-only instance. In the Actions column, choose More > Cancellation of Instance Subscription. In the dialog box, click OK to open the Resource Unsubscription page. Submit a ticketticketticketticketticketticketticket to apply for unsubscription.

Automatic deletion

When you release or unsubscribe from a primary instance, all its read-only instances are automatically deleted and subscription payments are refunded. No separate action is required.

FAQ

Will releasing a read-only instance interrupt my workloads?

Yes. Releasing or unsubscribing from a read-only instance interrupts traffic routed to it.

  • Database proxy enabled: Set the read weight of the read-only instance to 0 before releasing it. Existing cached connections to that instance remain valid, but new connections are needed to route read requests to other read-only instances.

  • Database proxy disabled: Update your application connection settings to replace the endpoint of the released read-only instance with another read-only instance or the primary instance.

How do I recover data after releasing or unsubscribing from my instance?

If you configured the Backup Retention Policy After Release parameter before releasing the instance, go to the Backup for Deleted Instances tab on the Backups page in the ApsaraDB RDS console to restore the data.

I can't find Release Instance in the console. Why?

Subscription instances cannot be released directly — only unsubscribed from. Submit a ticketticketticketticketticketticketticket to unsubscribe.submitting a ticketsubmitting a ticket

API reference

Operation Description
DeleteDBInstance Releases a pay-as-you-go or serverless instance. Not applicable to subscription instances.

What's next

References