This topic describes how to change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription.

Prerequisites

  • Your RDS instance is not using a phased-out instance type. For more information, see Primary ApsaraDB RDS instance types. If your RDS instance uses a phased-out instance type, you must change the instance type before you change the billing method of your RDS instance from pay-as-you-go to subscription. For more information, see Change the specifications of an ApsaraDB RDS for MySQL instance.
  • The billing method of your RDS instance is pay-as-you-go.
  • Your RDS instance is in the Running state.
  • Your RDS instance has no unpaid subscription orders.

Impacts

A billing method change for your RDS instance does not affect the workloads on your RDS instance.

Precautions

  • If your RDS instance has an unpaid subscription order, the order becomes invalid when you change the instance type. In this case, you must cancel the order in the Billing Management console. Then, you can change the billing method of your RDS instance again.
  • When you change the billing method of your RDS instance from pay-as-you-go to subscription, if the billing method change starts few minutes before the beginning of an hour and the change takes effect after the beginning of the hour, your RDS instance uses the pay-as-you-go billing method before the beginning of the hour and the subscription billing method after the beginning of the hour.

    For example, you change the billing method of your RDS instance from pay-as-you-go to subscription at 09:55, and the billing method of your RDS instance changes to subscription at 10:10. In this example, your RDS instance keeps using the pay-as-you-go billing method from 09:00 to 10:00 and starts to use the subscription billing method after 10:00.

    Note
    • Pay-as-you-go RDS instance are charged on an hourly basis. Therefore, bills may be generated with a delay.
    • We recommend that you change the billing method of your RDS instance 30 minutes or 15 minutes before the beginning of an hour.

Procedure

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region in which your RDS instance resides.
  2. Find your RDS instance and use one of the following methods to go to the Switch to Subscription Billing page:
    • Click Switch to Subscription Billing in the Billing Method column.
    • Click the ID of your RDS instance. In the Status section of the page that appears, click Subscription Billing on the right of Billing Method.
  3. Configure the Duration parameter. Then, read and select Terms of Service.
  4. Click Pay Now.
    Note ApsaraDB RDS generates a subscription order. You must pay for the order. If the order is not paid or canceled, you cannot purchase an RDS instance or change the billing method of your RDS instance from pay-as-you-go to subscription. You can pay for or cancel the order in the Billing Management console.
  5. Complete the payment.

Related operations

OperationDescription
Change the billing methodChanges the billing method of an instance.