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 RDS management 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 that runs SQL Server 2008 R2 is released due to expiration or overdue payments, ApsaraDB RDS continues to retain the data backup files of the instance 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 data backup files. After the eight-day retention period elapses, ApsaraDB RDS deletes the data backup files, and you can no longer restore the data of the RDS instance.

Note You cannot re-create RDS instances that run SQL Server 2012 or SQL Server 2016.
  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 RDS management 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