This topic describes how to manually release a pay-as-you-go ApsaraDB RDS for SQL Server instance or unsubscribe from a subscription ApsaraDB RDS for SQL Server instance.
Usage notes
Before you release or unsubscribe from the last read-only RDS instance from a primary RDS instance, you must disable the read-only endpoint of the primary RDS instance. For more information, see Disable a read-only routing endpoint
After you release or unsubscribe from a primary RDS instance, the subscription and pay-as-you-go read-only RDS instances of the primary RDS instance are automatically deleted. The payments for the subscription read-only RDS instances of the primary RDS instance are refunded.
Released or unsubscribed RDS instances are no longer displayed in the ApsaraDB RDS console and are not billed. If a primary RDS instance runs for more than seven days and then is released or unsubscribed from, the instance can be restored from the recycle bin. For more information, see Manage ApsaraDB RDS for SQL Server instances in the recycle bin.
After you trigger an operation to release or unsubscribe from an RDS instance, the instance is immediately deleted and its data is no longer retained. We recommend that you back up the RDS instance and download the backup files before you release or unsubscribe from the instance. For more information, see Back up an ApsaraDB RDS for SQL Server instance and Download data backup files and log backup files.
If you create a privileged account for an RDS instance by using Terraform, you cannot delete the account by using Terraform and may fail to release or unsubscribe from the instance. For more information, see Create an account.
Release or unsubscribe from a primary RDS instance
Release a pay-as-you-go primary RDS instance
Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region in which the primary RDS instance resides.
Use one of the following methods to release an RDS instance:
Find the RDS instance and choose
in the Actions column.Find the primary RDS instance that you want to release and click the ID of the instance. On the Basic Information page, click Release Instance.
In the dialog box that appears, click OK.
Unsubscribe from a subscription primary RDS instance
If you want to unsubscribe from a subscription RDS instance, submit a ticket.
Release a read-only RDS instance
Release a pay-as-you-go read-only RDS instance
- Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region in which your RDS instance resides.
Use one of the following methods to release an RDS instance:
Find the read-only RDS instance that you want to release and choose
in the Actions column.Find the read-only RDS instance that you want to release and click the ID of the instance. On the Basic Information page, click Release Instance.
In the dialog box that appears, click OK.
Unsubscribe from a subscription read-only RDS instance
If you want to unsubscribe from a subscription RDS instance, submit a ticket.
Automatically release a read-only RDS instance
After you release or unsubscribe from a primary RDS instance, the subscription and pay-as-you-go read-only RDS instances of the primary RDS instance are automatically deleted. The payments for the subscription read-only RDS instances of the primary RDS instance are refunded.
FAQ
If I release or unsubscribe from a read-only RDS instance, are my workloads interrupted?
Yes, if you release or unsubscribe from a read-only RDS instance, your workloads on the read-only RDS instance are interrupted. Before you release or unsubscribe from a read-only RDS instance, we recommend that you set the read weight of the read-only RDS instance to 0. For more information, see Modify the latency threshold and read weights of ApsaraDB RDS for MySQL instances.
The cached connection to the read-only RDS instance remains valid. If you want to forward the read requests over the cached connection to other read-only RDS instances, you must establish new connections.
Related operations
Operation | Description |
Releases a pay-as-you-go RDS instance. You cannot unsubscribe from a subscription RDS instance by calling an API operation. |