You can change the billing method of an ApsaraDB RDS for MySQL instance from subscription to pay-as-you-go to save costs and flexibly use the resources of the instance. After you change the billing method of an RDS for MySQL instance to pay-as-you-go, make sure that the balance in your account is sufficient to avoid overdue payments.
Prerequisites
Your RDS instance uses the subscription billing method. For more information about billing methods, see Billable items.
The RDS instance is in the Running state.
NoteIf a subscription RDS instance is locked due to expiration, you must first renew the RDS instance. For more information, 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 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 to pay-as-you-go.
Billing rules
After you change the billing method of your RDS instance to pay-as-you-go, the fees of resources that are not consumed are refunded. The refundable amount is calculated based on the following rules:
Refundable amount = Paid amount - Consumed amount
Paid amount indicates to the actual amount that you paid for an order, excluding the amount that is deducted by using coupons or vouchers.
Consumed amount is calculated based on the following formula: Consumed amount = Daily unit price × Usage duration × Discount for the usage duration.
For more information about the refunding rules, see Rules for unsubscribing from resources.
Impacts
When you change the billing method of your RDS instance to pay-as-you-go, the workloads on your RDS instance run as normal.
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 durations. For long-term use, we recommend that you select the subscription billing method.
Procedure
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 the RDS instance resides.
Find the RDS instance and use one of the following methods to go to the Switch to Pay-as-you-go Billing page:
Click Switch to Pay-as-you-go Billing in the Billing Method column.
Click the instance ID. In the Status section of the page that appears, click Convert to Pay as you go to the right of Billing Method.
Confirm the configuration of your RDS instance, read and select Terms of Service, click Pay Now, and then complete the payment.
Related operation
Operation | Description |
Changes the billing method of an instance. |
FAQ
What do I do if a price inquiry failure occurs when I change the billing method from subscription to pay-as-you-go?
The following list describes the common causes of the failure to change the billing method:
The RDS instance resides in the classic network that is no longer available. In this case, you must change the network type of the RDS instance from classic network to virtual private cloud (VPC) and then change the billing method.
If you receive an error message indicating that your RDS instance uses a phased-out instance type and you must change the instance type before you change the billing method of your RDS instance, you must change the instance type of the RDS instance to an available instance type and then change the billing method. For more information, see Primary ApsaraDB RDS instance types.