All Products
Search
Document Center

ApsaraDB for MongoDB:Add a mongos node

Last Updated:Jul 17, 2026

You can add one or more mongos nodes to an ApsaraDB for MongoDB sharded cluster instance.

Usage notes

  • The minor version of a new mongos node depends on the storage type of the instance:

    • Local disk-based sharded cluster: The new mongos node uses the latest minor version of the ConfigServer and shard nodes.

    • Cloud disk-based sharded cluster: The new mongos node uses the same version as the existing mongos nodes.

    Note

    Adding a mongos node does not trigger a minor version upgrade of the instance.

  • Adding a mongos node does not cause service interruptions.

  • Adding mongos nodes typically takes about 5 minutes, regardless of the quantity.

Billing

For more information, see Configuration change fees.

Procedure

  1. Go to the MongoDB sharded cluster instances page. In the top navigation bar, select a resource group and a region, and then click the ID of the target instance.

  2. In the Mongos List section, click Add Mongos in the upper-right corner.

  3. In the Add Mongos panel, configure the following parameters.

    Parameter

    Description

    Category

    Select a category.

    Note
    • Available only for cloud disk-based instances.

    • A category is unavailable if the current zone does not support it.

    • For information about the categories and specifications of sharded cluster instances, see Sharded cluster instance specifications.

    Instance Specifications

    Select the specifications.

    Quantity

    Select the number of mongos nodes to add.

    Note

    By default, a sharded cluster instance supports a maximum of 32 mongos nodes. For example, if your instance already has 3 mongos nodes, you can add up to 29 more.

  4. Complete the purchase based on the billing method.

    • Pay: Click Pay Now. The fee is automatically deducted within the next hour.

    • Pay: Click Pay Now. The fee is deducted immediately.

    During the addition, the instance status changes to Adding Node and then to Running upon completion.

Related APIs

API

Description

CreateNode

Adds a shard or mongos node to an ApsaraDB for MongoDB sharded cluster instance.