Only one connection sting is provided for a DynamoDB-compatible ApsaraDB for MongoDB instance. This topic describes how to obtain the connection string of a DynamoDB-compatible ApsaraDB for MongoDB instance.

Obtain the connection string of a DynamoDB-compatible ApsaraDB for MongoDB instance

  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 left-side navigation pane, click Database Connections. On the page that appears, view the connection string of the DynamoDB-compatible ApsaraDB for MongoDB sharded cluster instance.
    Connection string