Help Center > > User Guide> Working with RDS for PostgreSQL> Instance Management> Deleting a Pay-per-Use DB Instance or Read Replica

Deleting a Pay-per-Use DB Instance or Read Replica

Updated at: May 26, 2020 GMT+08:00

Scenarios

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. Exercise caution when performing this operation. If you want to retain data, complete a manual backup before deleting the DB instance.

Deleting a Pay-per-Use DB Instance

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click RDS. The RDS console is displayed.
  4. 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

  5. In the displayed dialog box, click Yes.
  6. 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.

    Second 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.

  7. Refresh the DB instance list later to check that the deletion is successful.

Deleting a Pay-per-Use Read Replica

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click RDS. The RDS console is displayed.
  4. 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.
  5. Locate the target read replicas to be deleted and click More > Delete in the Operation column.

    Figure 2 Deleting a read replica

  6. In the displayed dialog box, click Yes.
  7. 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.

    Second 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.

  8. Refresh the DB instance list later to check that the deletion is successful.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel