Switch a running ApsaraDB RDS for PostgreSQL instance from pay-as-you-go billing to subscription billing to reduce costs with a prepaid term. The switch does not interrupt workloads on the instance.
Prerequisites
Before you begin, make sure that:
-
The instance is in the Running state.
-
The instance uses pay-as-you-go billing.
-
The instance does not use a phased-out instance type. To check supported instance types, see Primary ApsaraDB RDS instance types. If the instance uses a phased-out type, change the instance specifications first.
-
The instance has no unpaid subscription orders. If it does, cancel the order in Billing Management before proceeding. Note that if you change the instance type while an unpaid subscription order exists, the order becomes invalid and must be canceled before you can switch the billing method again.
Switch to subscription billing
-
Log in to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the instance resides.
-
Find the instance and open the Switch to Subscription Billing page using one of the following methods:
-
In the instance list, click Switch to Subscription Billing in the Billing Method column.
-
Click the instance ID. In the Status section, click Subscription Billing next to Billing Method.
-
-
Set the Duration parameter, then read and select Terms of Service.
Parameter Description Duration The subscription term. -
Click Pay Now.
ImportantClicking Pay Now generates a subscription order. If the order is left unpaid or uncanceled, you cannot purchase new RDS instances or switch other instances to subscription billing. Pay for or cancel the order in Billing Management.
-
Complete the payment.
After the payment is confirmed, the billing method of the instance changes to subscription.
API reference
| Operation | Description |
|---|---|
| TransformDBInstancePayType | Changes the billing method of an instance. |