You need to enable JavaScript to run this app.
Document Database for MongoDB

Document Database for MongoDB

Copy page
Download PDF
Modifying sharding cluster instance configuration
Modifying ConfigServer node configuration
Copy page
Download PDF
Modifying ConfigServer node configuration
You can flexibly change the configurations of ConfigServer nodes in a MongoDB sharding cluster instance based on business fluctuations, including upgrading or downgrading node specifications, increasing or decreasing storage space. This topic describes the relevant procedures.​
Precautions​
​
  • FlexPL volume instances do not support storage space reduction.​
Pre-check for configuration change​
Before performing instance configuration modification operation, the Document Database for MongoDB will pre-check the health status of the instance to ensure that all health monitoring indicators of the instance meet the requirements for configuration change, reducing the possibility of abnormalities caused by configuration changes. If a relevant error occurs during the instance configuration change pre-check phase, refer to the suggestions in What should I do if an error occurs during the pre-check stage of changing the instance configuration to resolve it.​
Billing information​
For details on the billing rules for changing instance configurations, refer to Pay-as-you-go and Subscription.​
Procedure​
  1. Log on to the MongoDB console.​
  1. In the top menu bar, select the project and region for the instance.​
  1. In the left navigation bar, select Sharding instances.​
  1. On the Sharding instances page, click the target instance name.​
  1. In the Node information area under the Summary tab, click the ConfigServers tab.​
  1. In the node list on the ConfigServers tab, click Modify configuration in the Actions column on the right.​
  1. In the Modify configuration area on the Modify configuration page, set the following parameters.​
  • ​
    Parameter​
    Description​
    Instance type​
    Fixed as Sharding cluster. No configuration required.​
    Availability zone​
    It is fixed to the availability zone currently selected for the instance; no configuration is required.​
    Number of nodes​
    The current ConfigServer component defaults to 3 nodes; no configuration is required.​
    Node specification​
    You can upgrade or downgrade the node specification. For more details on node specifications, refer to Compute node specifications.​
    Storage space​
    You can increase or decrease storage space, or keep it unchanged. Unit: GiB. Step: 10.​
    tip​
    • Node specifications are different, and the supported storage space ranges are also different. For the specific value range of storage space, refer to the console. If you need more storage, submit a ticket to contact technical support to increase the storage space limit.​
    • When modifying storage space, the modified storage space capacity must be greater than or equal to 1.2 times the used space to ensure the instance operates normally.​
    ​
  1. Review the updated specification details (such as number of shards, number of nodes and storage space), then click Confirm order in the bottom right corner of the page.​
  1. Complete the subsequent steps according to the billing method you have selected.​
  • ​
tip​
The instance status changes to Configuration modifying, indicating that modification is in progress. When the instance status displays as Running, it indicates that the modification was successful.​
Relevant APIs​
​
API​
Description​
Call the ModifyDBInstanceSpec API to modify the configuration of the target MongoDB instance (such as node specification or storage capacity).​
​
​
Last updated: 2026.10.13 19:46:32