This topic describes how to release an RDS for MySQL instance, which can use the pay-as-you-go or subscription billing method.

Note After an RDS instance is released, its data is deleted immediately. We recommend that you back up the instance data before you release the instance.

Release a pay-as-you-go RDS instance

Precautions

If the RDS instance you want to release is the last read-only instance for a master RDS instance, you must first disable the read/write splitting function. For more information, see Disable read/write splitting for an RDS for MySQL instance.

Procedure

  1. Log on to the RDS console.
  2. Select the target region.选择地域
  3. Use one of the following two methods to open the Release Instance dialog box:
    • Method 1:

      Find the target RDS instance and in the Actions column choose More > Release Instance.

      释放实例
    • Method 2:
      1. Find the target RDS instance and click the instance ID.
      2. On the Basic Information page, find the Status section and click Release Instance. 释放实例
  4. In the Release Instance dialog box, click Confirm.

Release a subscription RDS instance

You can open a ticket to apply for releasing a subscription RDS instance.

FAQ

Will my RDS services be affected if I release a read-only instance?

Yes, we recommend that you set the read weight of the read-only instance to 0 before you release a read-only instance.
Note After you release a read-only instance, the cached connection still points to this read-only instance. To enable the system to distribute read requests to the other read-only instances, you must reestablish a connection.

APIs

API Description
DeleteDBInstance Used to release a pay-as-you-go RDS instance. (A subscription RDS instance cannot be released by calling an API action.)