Deleting a Pay-per-Use DB Instance or Read Replica
Scenarios
You can delete DB instances or read replicas billed in the pay-per-use mode as required on the Instance Management page to release resources. (To delete DB instances or read replicas billed in the yearly/monthly mode, you need to unsubscribe the order. For details, see Unsubscribing a Yearly/Monthly DB Instance.)
Constraints
DB instance deletion has the following constraints:
- DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.
- If you delete a pay-per-use DB instance, its automated backups are also deleted and you are no longer charged for them. Manual backups are still retained and will incur additional costs.
- If you delete a primary DB instance, its read replicas are also deleted automatically. Exercise caution when performing this operation.
- Deleted DB instances cannot be recovered and resources are released. Exercise caution when performing this operation. If you want to retain data, create a manual backup first before deleting the DB instance.
Deleting a Pay-per-Use DB Instance
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, locate the target primary DB instance to be deleted and click More > Delete in the Operation column. Figure 1 Deleting a DB instance
- In the displayed dialog box, click Yes.
- If you have enabled the operation protection function, click Send Code in the displayed Identify Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication is required to improve the security of your account and cloud product. For details about how to enable operation protection, see the Identity and Access Management User Guide.
- Refresh the DB instance list later to check that the deletion is successful.
Deleting a Pay-per-Use Read Replica
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, locate the target DB instance and click
in front of it. All the read replicas created for the DB instance are displayed. - Locate the target read replicas to be deleted and click More > Delete in the Operation column. Figure 2 Deleting a read replica
- In the displayed dialog box, click Yes.
- If you have enabled the operation protection function, click Send Code in the displayed Identify Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication is required to improve the security of your account and cloud product. For details about how to enable operation protection, see the Identity and Access Management User Guide.
- Refresh the DB instance list later to check that the deletion is successful.
Last Article: Buying a Same DB Instance
Next Article: Migrating a Standby DB Instance
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.