Updated on 2024-04-03 GMT+08:00

Modifying Recycling Policy

RDS allows you to move deleted pay-per-use DB instances to the recycle bin. You can rebuild a DB instance that was deleted up to 7 days ago from the recycle bin.

Constraints

  • Read replicas cannot be moved to the recycle bin.
  • A stopped instance will not be moved to the recycle bin after being deleted.
  • The recycle bin is enabled by default and cannot be disabled.

Precautions

  • The recycle bin is enabled by default and cannot be disabled. This function is free of charge.
  • Instances in the recycle bin are retained for 7 days by default. A new recycling policy only applies to DB instances that were put in the recycle bin after the new policy was put into effect. For DB instances that were in the recycle bin before the modification, the original recycling policy takes effect.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. In the navigation pane on the left, choose Recycle Bin.
  4. Click Modify Recycling Policy and set the retention period of deleted instances. The value ranges from 1 to 7 days.

    Figure 1 Setting the retention period

  5. Then, click OK.