Release the internal endpoint of a shard or ConfigServer component in a sharded cluster instance to remove Virtual Private Cloud (VPC) connectivity for that component. This operation is irreversible for ConfigServer components — released ConfigServer endpoints cannot be re-applied. Note that this change does not affect existing ConfigServer endpoints that have not been released.
Prerequisites
Before you begin, make sure you have:
A sharded cluster instance that uses the MongoDB protocol
The account credentials (username and password) for the component — if you have forgotten the password, reset it before proceeding
Considerations
mongos node endpoints cannot be released. Only shard and ConfigServer component endpoints can be released using this procedure.
Releasing an endpoint affects all nodes in the component. The endpoints and IP addresses of every node in the component are released simultaneously. Connections to any node via its endpoint are no longer possible.
ConfigServer endpoints cannot be re-applied. ApsaraDB for MongoDB does not support applying for new ConfigServer endpoints. Once released, a ConfigServer endpoint is permanently unavailable. This does not affect existing ConfigServer endpoints that have not been released.
This procedure releases only the internal endpoint. To release the public endpoint of a shard or ConfigServer component, see Release a public endpoint.
Release the internal endpoint
Go to the Sharded Cluster Instances page. In the top navigation bar, select the resource group and region where the instance is located, then click the instance ID.
In the left-side navigation pane, click Database Connections.
In the Internal Connections - VPC section, find the target node and click Release in the Actions column.
In the Confirm Release dialog, click OK.
Verify the release
The instance status changes from Releasing Connection to Running when the endpoint is successfully released.
What's next
To manage public endpoints for shards or the ConfigServer component, see Release a public endpoint.