When you no longer need to connect to a shard or Configserver node, you can release its endpoint.

Precautions

  • The endpoint of a mongos node cannot be released.
  • When the endpoint of a shard or Configserver node is released, the endpoints and IP addresses of all subnodes in the node are released and you can no longer connect to the node by using the endpoint. Proceed with caution.
  • This operation releases the internal endpoint of the node. If the node also has a public endpoint and the endpoint is no longer needed, you can release it. For more information, see Release a public endpoint.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the left-side navigation pane, click Sharded Cluster Instances.
  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.
  4. Click the ID of an instance, or click More icon in the Actions column corresponding to the instance and select Manage.
  5. In the left-side navigation pane of the instance details page, click Database Connections.
  6. In the Internal Connections - VPC section, find the node whose endpoint you want to release and click Release in the Actions column.
    Note The following section describes the node types:
    • Mongos: the mongos node
    • Shard: the shard node
    • CS: the Configserver node
  7. In the Confirm Release message, click OK.
    When the instance state changes from Releasing Network Connection to Running, the endpoint is released.