This topic describes how to manage expired and overdue ApsaraDB RDS for MySQL instances in the recycle bin. You can unlock, rebuild, or destroy these instances in the recycle bin.

Limits

If an RDS instance meets one of the following requirements, the instance is not moved to the recycle bin after you release or unsubscribe from the instance:
  • The RDS instance was created seven or less days ago.
  • The RDS instance runs the RDS Enterprise Edition.
  • The RDS instance is created in a dedicated cluster.
Note All RDS instances that do not meet any of the preceding requirements can be moved to the recycle bin. For more information, see Unlock or rebuild an expired or overdue ApsaraDB RDS instance or Release or unsubscribe from an ApsaraDB RDS for MySQL instance.

Unlock an overdue RDS instance

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 expired RDS instance

If a subscription RDS instance is locked due to expiration, you can renew the RDS instance in the recycle bin.

  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 renewal is complete, the RDS instance is immediately restored to normal.

Rebuild an RDS instance

After a subscription RDS instance expires, it is retained for a specified period of time. After the specified retention period elapses, ApsaraDB RDS releases the RDS instance. However, the data backup files of the RDS instance can still be retained for eight more days. During the eight-day retention period, you can rebuild the RDS instance by using a data backup file. For more information, see Unlock or rebuild an expired or overdue ApsaraDB RDS instance.

  1. Go to the recycle bin.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the RDS instance resides.
  3. Find the RDS instance and click Recreate Instance.

By default, ApsaraDB RDS creates an RDS instance that has the same specifications in the same zone as the original RDS instance. You can also create an RDS instance that has different specifications in a different zone than the original RDS instance.

Destroy an RDS instance

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

Warning After you destroy an RDS instance, all the backup files except cross-region backup files are destroyed. The backup files that are destroyed include regular data backup files, archived backup files, and log backup files. Proceed with caution. For more information, see Back up an ApsaraDB RDS for MySQL instance across regions.
  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 Destroy.

References

Unlock or rebuild an expired or overdue ApsaraDB RDS instance