All Products
Search
Document Center

ApsaraDB for MongoDB:Change the configuration of a standalone instance

Last Updated:Jul 17, 2026

Scale the resources of an ApsaraDB for MongoDB standalone instance up or down to match your current business needs.

Billing

For more information, see Configuration change fees.

Limitations

  • During a configuration change, the new storage capacity must be greater than or equal to the instance's current storage capacity.

  • You cannot decrease the storage capacity. To do so, you must create a new instance to replace the original one. For instructions, see Other configuration change scenarios and solutions.

  • You cannot change the node count, instance type (for example, from a standalone instance to a replica set instance), or storage engine. To change these specifications, you must create a new instance to replace the original one. For instructions, see Other configuration change scenarios and solutions.

Impacts

  • The duration of a configuration change depends on network conditions, task queue status, and data volume. Perform this operation during off-peak hours and ensure that your application has an automatic reconnection mechanism.

  • During the configuration change, one or two transient disconnections of about 30 seconds each may occur. Schedule the change during off-peak hours to minimize business impact.

  • A configuration change does not cause data loss.

  • If your instance runs an outdated or unmaintained minor database version, the system automatically upgrades it to the latest minor version during the configuration change.

Procedure

  1. Navigate to the ApsaraDB for MongoDB Replica Set Instances page. In the top navigation bar, select a resource group and a region. Then, click the ID of the target instance.

  2. On the Basic Information page, in the Specification Information section, do one of the following based on the billing method:

    • Subscription: Click Upgrade or Downgrade.

    • Pay-as-you-go: Click Change Configurations.

  3. On the Upgrade/Downgrade page, set the following parameters.

    Note

    When you change the Storage Space, the selected capacity must be greater than or equal to the instance's current storage capacity. If you need to decrease the storage capacity, you must create a new instance to replace the original one. For instructions, see Other configuration change scenarios and solutions.

    Parameter

    Description

    Specifications

    Select an instance specification. For supported standalone instance specifications, see instance specifications.

    Storage Space

    Select the new storage capacity.

    Note

    This parameter is not displayed when you downgrade a subscription instance.

    Switch Time

    Select when the change takes effect.

    • Switch Immediately After Data Migration: The system applies the new configuration immediately after the data migration is complete.

    • Switch Within Maintenance Window: The system applies the new configuration within the specified maintenance window. You can also change the maintenance window in one of the following ways:

      1. Click Modify next to the Switch Within Maintenance Window option to schedule the change.

      2. On the Basic Information page, in the Specification Information section, click Edit next to Maintenance Window. For more information, see Set a maintenance window.

  4. Read and agree to the terms of service, click Buy Now, and then complete the payment as prompted.

    During the configuration change, the instance status is In the process of matching. When the status changes to Running, the configuration change is complete and the new configuration takes effect.

Related APIs

API

Description

ModifyDBInstanceSpec

Changes the instance specification or storage capacity of an ApsaraDB for MongoDB standalone or replica set instance.