Updated on 2023-11-27 GMT+08:00

Unsubscribing a Yearly/Monthly DB Instance

Scenarios

To delete a DB instance billed on the yearly/monthly basis, you need to unsubscribe the order. You can unsubscribe a single instance order by referring to Unsubscribing a Single DB Instance (Method 1) and Unsubscribing a Single DB Instance (Method 2) or unsubscribe multiple instance orders at a time by referring to Unsubscribing DB Instances in Batches. For unsubscription fees, see Unsubscription Rules.

If you unsubscribe from a DB instance, its read replicas (if any) will also be unsubscribed.

To release DB instances or read replicas billed on a pay-per-use basis, you need to locate the target DB instances or read replicas and click Delete on the Instances page. For details, see Deleting a Pay-per-Use DB Instance or Read Replica.

Constraints

  • A DB instance cannot be unsubscribed when any operations are being performed on it. It can be unsubscribed only after the operations are complete.
  • If a backup of a DB instance is being restored, the instance cannot be unsubscribed.

Unsubscribing a Single DB Instance (Method 1)

Unsubscribe a yearly/monthly DB instance or read replica on the Instances page.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, locate the target DB instance or read replica and choose More > Unsubscribe in the Operation column.
  5. On the displayed page, confirm the order to be unsubscribed and select a reason. Then, click Confirm.

    For details about unsubscribing resources, see Unsubscription Rules.

  6. In the displayed dialog box, click Yes.

    1. After an unsubscription request is submitted, resources and data will be deleted and cannot be retrieved.
    2. If you want to retain data, complete a manual backup before submitting the unsubscription request.

  7. View the unsubscription results. After the DB instance order is successfully unsubscribed, the DB instance and read replicas are no longer displayed in the instance list on the Instances page.

Unsubscribing a Single DB Instance (Method 2)

Unsubscribe a yearly/monthly DB instance or read replica on the Billing Center page.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. In the upper right corner, click Billing & Costs.
  5. In the navigation pane, choose Orders > Unsubscriptions.
  6. On the displayed page, select the order to be unsubscribed and click Unsubscribe in the Operation column.

    • You can select Relational Database Service (RDS) in the Service Type column to filter all RDS orders.
      Figure 1 Filtering all RDS orders
    • Alternatively, search for target orders by name, order No., or ID in the search box.
    • A maximum of 20 resources can be unsubscribed at a time.

  7. On the displayed page, confirm the order to be unsubscribed and select a reason. Then, click Confirm.

    For details about unsubscribing resources, see Unsubscription Rules.

  8. In the displayed dialog box, click Yes.

    1. After an unsubscription request is submitted, resources and data will be deleted and cannot be retrieved.
    2. If you want to retain data, complete a manual backup before submitting the unsubscription request.

  9. View the unsubscription result. After the DB instance order is successfully unsubscribed, the DB instance and read replicas are no longer displayed in the instance list on the Instances page.

Unsubscribing DB Instances in Batches

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, select the target DB instances to be unsubscribed and click Unsubscribe above the DB instance list. In the displayed dialog box, click Yes.

    Figure 2 Unsubscribing yearly/monthly orders in batches

  5. On the displayed page, confirm the order to be unsubscribed and select a reason. Then, click Confirm.

    For details about unsubscribing resources, see Unsubscription Rules.

  6. In the displayed dialog box, click Yes.

    1. After an unsubscription request is submitted, resources and data will be deleted and cannot be retrieved.
    2. If you want to retain data, complete a manual backup before submitting the unsubscription request.

  7. View the unsubscription results. After the DB instance order is successfully unsubscribed, the DB instance and read replicas are no longer displayed in the instance list on the Instances page.