This topic describes how to manually release a pay-as-you-go ApsaraDB RDS for SQL Server instance or unsubscribe from a subscription RDS instance.

Precautions

  • After you release or unsubscribe from an RDS instance, the RDS instance and its data are immediately deleted. Before you release or unsubscribe from an RDS instance, we recommend that you back up the RDS instance and download the required backup file.
  • If you want to release the last read-only RDS instance that is attached with a primary RDS instance, you must disable the read/write splitting function for the primary RDS instance. For more information, see Disable the read-only routing endpoint of an ApsaraDB RDS for SQL Server instance.
  • After you release a primary RDS instance, the subscription read-only RDS instances or pay-as-you-go read-only RDS instances of the primary RDS instance are automatically deleted. In addition, the payments for the subscription read-only RDS instances of the primary RDS instance are refunded.
  • After you release or unsubscribe from an RDS instance, the RDS instance is no longer displayed in the ApsaraDB RDS console, and no fees are generated for the RDS instance. If the RDS instance is a primary RDS instance and has been used for more than seven days, you can rebuild the RDS instance in the recycle bin. For more information, see Manage ApsaraDB RDS for SQL Server instances in the recycle bin.

Release or unsubscribe from an RDS instance

Release or unsubscribe from a primary RDS instance

Release a pay-as-you-go primary RDS 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 in which your RDS instance resides.
  2. Use one of the following methods to release an RDS instance:
    • Find the primary RDS instance that you want to release and choose More > Release Instance in the Actions column. Release an instance
    • 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. Release the RDS instance on the Basic Information page
  3. In the message 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 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 the RDS instance resides.
  2. Use one of the following methods to release a read-only RDS instance:
    • Find the read-only RDS instance that you want to release and choose More > Release Instance 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.
  3. In the message 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.
Note 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

OperationDescription
Release an instanceReleases a pay-as-you-go instance. You cannot unsubscribe from a subscription instance by calling an API operation.