If your ApsaraDB RDS for SQL Server instance uses the pay-as-you-go billing method and runs critical workloads, you can enable the release protection feature for the instance. This feature prevents your RDS instance from being manually released due to unintended operations or lack of communication among team members. This topic describes how to enable or disable the release protection feature for an ApsaraDB RDS for SQL Server instance.
Prerequisites
The RDS instance uses the pay-as-you-go billing method.
Usage notes
- A payment in your Alibaba Cloud account is overdue for more than 15 days.
- The RDS instance does not comply with the security compliance policies.
Benefits of release protection
- If you manually release the RDS instance in the ApsaraDB RDS console, an error message indicating that the RDS instance fails to be released is displayed.
- If you call the DeleteDBInstnace operation to release the RDS instance, an error message indicating that the RDS instance fails to be released is returned.
Enable the release protection feature when you create an RDS instance
This section describes how to configure the release protection feature when you create an RDS instance. For more information, see Create an ApsaraDB RDS for SQL Server instance.
- 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 your RDS instance resides.
- On the Instances page, click Create Instance.
- In the Basic Configurations step, set Billing Method to Pay-As-You-Go and configure other required parameters. Then, click Next: Instance Configuration.
- In the Instance Configuration step, select Prevent release through the console or API by mistake and configure other required parameters. Then, click Next: Confirm Order.
- Configure the required parameters.
Modify release protection settings
You can also enable or disable the release protection feature for an RDS instance by modifying the settings of the RDS instance.
- 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 your RDS instance resides.
- On the Instances page, find the RDS instance whose release protection settings you want to modify. In the Actions column, click More and select Change Instance Release Protection Settings.
- In the dialog box that appears, turn on or turn off Release Protection.
- Click OK.
Check the status of the release protection feature
- 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.
- On the Basic Information page, view the Release Protection parameter in the Configuration Information section.
Related operations
Operation | Description |
Create an instance | Creates an ApsaraDB RDS instance. |
Restore data to a new instance | Restores the data of an ApsaraDB RDS instance to a new instance, which is a cloned instance. |
Enable or disable the release protection feature | Enables or disables the release protection feature for an ApsaraDB RDS instance. |