All Products
Search
Document Center

ApsaraDB RDS:enable and disable release protection for instances

Last Updated:Feb 25, 2025

For RDS SQL Server instances that support critical business operations, enabling release protection is advisable. This feature safeguards pay-as-you-go or Serverless instances from accidental deletion due to user error, thus preventing potential irreversible data loss. This guide details the steps to enable and disable release protection for instances, enhancing the management and security of your business data.

Protection effects

Upon activating release protection for an instance, the system implements the following safeguards during a release operation on the protected instance:

  • An error message appears when manually releasing an instance in the RDS console, preventing the release.

  • The DeleteDBInstance interface returns an error message when called to release an instance, blocking the operation.

Prerequisites

The instance's billing method is either pay-as-you-go or Serverless.

Precautions

The release protection feature cannot prevent the automatic release of RDS instances in normal scenarios such as the following scenarios:

  • A payment in your account is overdue for more than 15 days.

  • The RDS instance does not comply with the security compliance policies.

Enable release protection when creating an instance

You can enable release protection while creating an instance via the RDS console or through the CreateDBInstance or CloneDBInstance interfaces, controlled by the DeletionProtection parameter.

Note

The following section focuses on options related to release protection for instances. For more information about other configurations, see quickly create and use an RDS SQL Server instance.

  1. Click here to open the new RDS instance creation page.

  2. Set the Billing Method to Pay-as-you-go or Serverless.

  3. In the More Configurations area, select Prevent Accidental Deletion Through The Console Or API. Configure the remaining options as needed.

    image

Modify the release protection property after instance creation

Modify the release protection property of an existing instance via the RDS console or the ModifyDBInstanceDeletionProtection interface to enable or disable release protection.

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region in which the RDS instance resides.

  2. On the Instance List page, locate the instance to be modified. In the Actions column, click More > Modify Instance Release Protection.

  3. Toggle Instance Release Protection as required.

  4. Click OK.

Check the status of the release protection feature

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.

  2. On the Basic Information page, view the Release Protection parameter in the Configuration Information section.

    释放保护