You can change a pay-as-you-go ApsaraDB for MongoDB instance to a subscription instance.
Prerequisites
The instance uses the pay-as-you-go billing method and is in the Running state.
The instance does not use a retired specification. For more information, see Retired instance specifications.
NoteTo switch a retired-specification instance to subscription, first change its specification. For more information, see Change instance configurations.
The database version of the instance is 4.0 or later.
NoteTo switch an instance running a version earlier than 4.0 to subscription, first upgrade the database version. For more information, see Upgrade the major version of a database and Upgrade the minor version of a database.
No unpaid subscription conversion orders exist for the instance.
NoteSwitching from pay-as-you-go to subscription generates a conversion order. If this order remains unpaid, you cannot purchase new instances or switch other instances to subscription. To pay for or cancel the order, log on to the Expenses and Costs console, choose , and complete the payment or cancel the order.
Your Alibaba Cloud account has a sufficient balance for the subscription fee.
Instances with local disks in the US (Silicon Valley) or US (Virginia) region running MongoDB 4.0 or 4.2 cannot be converted to pay-as-you-go. See Stop selling MongoDB 4.0/4.2 instances with local disks in US regions for details.
Considerations
Subscription instances cannot be released.
Procedure
Log on to the ApsaraDB for MongoDB console.
In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
In the upper-left corner of the page, select the resource group and the region of the instance.
In the row that contains the target instance, click More in the Actions column, and then choose Change to Subscription.
On the Switch to subscription billing page, select a Purchase Duration.
Read the Terms of Service, and then click Buy Now.
On the Pay page, follow the prompts to complete the payment.