This topic describes how to switch an ApsaraDB RDS for MySQL instance from the subscription billing method to the pay-as-you-go billing method based on your business requirements.


  • Your RDS instance uses the subscription billing method. For more information about the billing methods of ApsaraDB RDS, see Billable items, billing methods, and pricing.
  • Your RDS instance is in the Running state.
    Note If a subscription RDS instance is locked due to expiration, you must first renew the RDS instance. For more information about how to renew an RDS instance, see Manually renew an ApsaraDB RDS for MySQL instance.
  • Your RDS instance does not use a phased-out instance type. For more information, see Primary instance types. If your RDS instance uses a phased-out instance type, you must change the instance type before you switch your RDS instance to the pay-as-you-go billing method.


After you switch your RDS instance to the pay-as-you-go billing method, a refund is returned based on the payment method that is used.

Refund = Fee actually paid - Fee for consumed resources

  • The fee actually paid is the money that you paid and does not include the amount that is covered by coupons or vouchers.
  • The fee for consumed resources is calculated based on the following formula: Fee for consumed resources = Daily fee x Consumed subscription duration x Discount for the consumed subscription duration. The daily fee is equal to the order-specific fee divided by 30.
    Note The consumed subscription duration is accurate to the day. The part that is less than one day is counted as one day.


When you switch your RDS instance to the pay-as-you-go billing method, the workloads on your RDS instance run as normal.

Note The subscription billing method is more cost-effective than the pay-as-you-go billing method, and you are offered higher discounts for longer subscription periods. For long-term use, we recommend that you select the subscription billing method.


  1. Visit the RDS instance list, select a region above, and click the target instance ID.
  2. In the Status section of the Basic Information page, click Convert to Pay as you go. Convert to Pay as you go
  3. Confirm the configuration of your RDS instance, read and select Terms of Service, click Pay Now, and then complete the payment.

Related operations

Operation Description
Change billing method Changes the billing method of an ApsaraDB RDS instance.