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.

Unlock an overdue RDS instance

If a pay-as-you-go-billed RDS instance is locked due to overdue payments, check the billing method of your Alibaba Cloud account in the Billing Management console.

Unlock an expired RDS instance

If a subscription-billed RDS instance is locked due to expiration, you can go to the recycle bin to renew the subscription of the RDS instance.

  1. Log on to the recycle bin.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the target RDS instance resides.
    Select a region
  3. Find the target RDS instance and click Unlock to renew the subscription.

The target RDS instance is immediately unlocked after the renewal is complete.

Rebuild an RDS instance

After a subscription-billed RDS instance expires, it will be retained for a specific period of time. After the retention period that you specify elapses, the RDS instance will be released. However, the data backup files of the RDS instance will continue to be retained for eight more days. During the eight-day retention period, you can restore the data of the RDS instance to a new RDS instance by using a data backup file. For more information, see Unlock an instance that expires or is overdue.

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

By default, the system creates an RDS instance with the same specifications in the same zone. You can also create an RDS instance with different specifications in a different zone.

Destroy an RDS instance

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

Warning After you destroy an RDS instance, all of the backup files except cross-region backup files are destroyed. The backup files that are destroyed include regular data backup files, log backup files, and permanent backup files. Proceed with caution. For more information, see Back up an ApsaraDB RDS for MySQL instance across regions.
  1. Open the recycle bin.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the target RDS instance resides.
    Select a region
  3. Find the target RDS instance and click Destroy.

References

Unlock an instance that expires or is overdue