This topic describes how to manage ApsaraDB RDS for SQL Server instances that expired or have overdue payments in the recycle bin. You can unlock, re-create, or destroy the RDS instances in the recycle bin.

Description

If an RDS instance is manually released or expires, the RDS instance is moved to the recycle bin. If the payment for an RDS instance is refunded, the RDS instance is also moved to the recycle bin. An RDS instance is not moved to the recycle bin in the following situations:
  • The payment for the RDS instance is refunded or the RDS instance is manually released within seven days after the instance is created.
  • The RDS instance is a pay-as-you-go RDS instance and is automatically released due to overdue payments.
  • The RDS instance is a read-only RDS instance.

Unlock an RDS instance whose payment is overdue

If a pay-as-you-go RDS instance is locked due to overdue payments, log on to the Billing Management console. Then, verify that a valid payment method is specified for your Alibaba Cloud account.

Unlock an RDS instance that has expired

If a subscription RDS instance is locked due to expiration, you can renew the instance in the recycle bin within the next 15 days. If you do not renew the instance within 15 days, the instance is released.

  1. Log on to the ApsaraDB RDS console.
  2. In the left-side navigation pane, click Locked Instances. In the top navigation bar, select the region where the RDS instance resides.
  3. Find the RDS instance and click Unlock to renew the RDS instance.

After the RDS instance is renewed, it is immediately restored to normal.

Re-create an RDS instance

After a subscription RDS instance is automatically released due to expiration or a pay-as-you-go or subscription RDS instance that is created seven days ago or earlier is manually released, the backup files of the RDS instance are retained for eight days. During the eight-day retention period, you can restore the data of the RDS instance to a new RDS instance by using the backup files. After the eight-day retention period elapses, ApsaraDB RDS deletes the backup files of the instance.

Note
Precautions

If the Transparent Data Encryption (TDE) feature is enabled for an RDS instance, the backup files of the RDS instance cannot be used to re-create the RDS instance. For more information, see Configure TDE for an ApsaraDB RDS for SQL Server instance.

  1. Log on to the ApsaraDB RDS console.
  2. In the left-side navigation pane, click Locked Instances. In the top navigation bar, select the region where the RDS instance resides.
  3. Find the RDS instance and click Recreate Instance.

Destroy an RDS instance

If an RDS instance is locked due to expiration or overdue payments, you can destroy the RDS instance in the recycle bin.

Warning After you destroy an RDS instance, all data backup files of the instance are destroyed. Proceed with caution.
  1. Log on to the ApsaraDB RDS console.
  2. In the left-side navigation pane, click Locked Instances. In the top navigation bar, select the region where the RDS instance resides.
  3. Find the instance and click Destroy.

References