All Products
Search
Document Center

ApsaraDB for MongoDB:Change the billing method of an instance from pay-as-you-go to subscription

Last Updated:Oct 17, 2025

You can change the billing method of an ApsaraDB for MongoDB instance from pay-as-you-go to subscription based on your needs.

Prerequisites

  • The instance uses the pay-as-you-go billing method and is in the Running state.

  • The instance is of an available instance type. See Unavailable instance types for details.

    Note

    To change the billing method of an instance that is of an unavailable instance type from pay-as-you-go to subscription, change the instance type first.

  • The instance runs MongoDB 4.0 or later.

    Note

    To change the billing method of an instance that runs a MongoDB version earlier than MongoDB 4.0 from pay-as-you-go to subscription, upgrade the database version of the instance. For more information, see Upgrade the major version of an instance and Update the minor version of an instance.

  • The instance has no unpaid subscription orders.

    Note

    If you change the billing method of an instance from pay-as-you-go to subscription, a subscription order is generated. You cannot purchase a new instance or change the billing method of an instance to subscription until you pay for this order. You can log on to the Expenses and Costs page, and select Order Management > My Orders to complete the payment or cancel the order.

  • Make sure that your Alibaba Cloud account has sufficient balance to pay for the subscription fee.

Usage notes

A subscription instance cannot be released.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the navigation pane on the left, click Replica Set Instances or Sharded Cluster Instances based on the instance type.

  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.

  4. Click Actions in the Actions column corresponding to the instance and select Change to Subscription.

  5. On the Switch to Subscription page, select the Duration.

  6. Read the Terms of Service and click Buy Now.

  7. On the Purchase page, complete the payment process as prompted.