All Products
Search
Document Center

ApsaraDB RDS:Change the billing method from pay-as-you-go to subscription

Last Updated:Dec 28, 2023

You can change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription based on your business requirements.

Prerequisites

  • The RDS instance uses the Pay-As-You-Go billing method. You cannot change the billing method of serverless RDS instances from pay-as-you-go to subscription.

    Note

    Although serverless RDS instances use the pay-as-you-go billing method, serverless RDS instances are billed based on RDS Capacity Units (RCUs). Therefore, you cannot change the billing method of serverless RDS instances from pay-as-you-go to subscription. For more information, see Overview.

  • The RDS instance is in the Running state.

  • The RDS instance does not have an unpaid subscription order.

  • The instance type of the RDS instance is not phased out. For more information, see Phased-out ApsaraDB RDS for SQL Server instance types. If the RDS instance uses a phased-out instance type, you must change the instance type before you change the billing method of the instance from pay-as-you-go to subscription. For more information, see Change the specifications of an ApsaraDB RDS for SQL Server instance.

Impacts

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

Usage notes

If the RDS instance has an unpaid subscription order, the order becomes invalid when you change the instance type. You need to cancel the order on the Billing Management page and then change the billing method of the instance to subscription.

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

You can call an API operation to change the billing method of an RDS instance. For more information, see TransformDBInstancePayType.