This topic describes how to add a mongos node to an ApsaraDB for MongoDB sharded cluster instance.

Pricing

For more information, see Configuration change fees.

Precautions

If the minor version of a sharded cluster instance expires or is not included in the maintenance list, ApsaraDB for MongoDB automatically updates the minor version of the instance to the latest version during a specification change. This ensures that the sharded cluster instance can provide higher performance and higher stability.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the resource group and the region of the target instance.
  3. In the left-side navigation pane, click Sharded Cluster Instances.
  4. Find the target instance and click its ID.
  5. In the Mongos List section of the Basic Information page, click Add Mongos.
    Add a mongos node
  6. In the Add Mongos pane, set the Instance Specifications parameter.
    Note For more information about the supported specifications of mongos nodes, see Instance types.
  7. Purchase the node.
    Perform the following operations based on the billing method of the sharded cluster instance:
    • Pay-as-you-go: Click Pay Now. Then the system automatically collects the amount.
    • Subscription: Click Pay Now. On the Purchase page, complete the payment process.
    When nodes are being added to the sharded cluster instance, the instance is in the Creating Node state. When the status of the instance changes to Running, nodes are added to the instance.

Related API operations

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