Switch an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription billing to reduce costs on long-running workloads. Subscription billing applies a discount to your existing instance without affecting its running state.
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 RDS instance to subscription.
Prerequisites
Before you begin, ensure that you have:
An RDS instance in the Running state
An RDS instance currently billed as pay-as-you-go
An RDS instance using a supported (non-phased-out) instance type. If the instance uses a phased-out instance type, change the instance type before proceeding. For a list of supported types, see Primary ApsaraDB RDS instance types
No unpaid subscription orders on the instance. If an unpaid order exists, cancel it in the Billing Management consoleBilling Management console before proceeding. Note that an existing unpaid subscription order becomes invalid when you change the instance type.
Switch to subscription billing
Log on to the ApsaraDB RDS console.
In the top navigation bar, select the region where the RDS instance resides.
Open the Switch to Subscription Billing page for the instance using either method:
In the instance list, click Switch to Subscription Billing in the Actions column.
Click the instance ID, then in the Status section, click Switch to Subscription.
Select a subscription duration.
ImportantClicking Pay Now generates a subscription order that requires immediate payment. If you leave the order unpaid or the order expires, you cannot purchase new RDS instances or switch other instances to subscription billing. To cancel an unpaid order, go to the Billing Management console.
Click Pay Now and complete the payment.
What's next
To manage billing method changes programmatically, use the TransformDBInstancePayType API operation.