Data Management (DMS) is an integrated and visualized database solution that offers data management, structure management, user authorization, security auditing, data trend analysis, data tracking, business intelligence (BI) charts, performance optimization, and server management. You can use DMS to connect to ApsaraDB for MongoDB instances for remote access and online management.

Preparations

Add the IP addresses of the DMS server to a whitelist of an ApsaraDB for MongoDB instance based on the network type. For more information, see Configure a whitelist for a sharded cluster instance.

Note Skip this step if you have added the IP addresses of the DMS server to a whitelist of an ApsaraDB for MongoDB instance.
Table 1. IP addresses available for the DMS server
Network type of the ApsaraDB for MongoDB instance IP address of the DMS server
Virtual Private Cloud (VPC) 100.104.0.0/16
Classic network

120.55.177.0/24

121.43.18.0/24

101.37.74.0/24

10.153.176.0/24

10.137.42.0/24

11.193.54.0/24

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. Click Log On and select a mongos node ID. You are redirected to the DMS console.More
    Select a mongos node
  6. In the Login instance dialog box, specify the parameters.
    Log on to DMS
    Parameter Description
    Database Type The database engine of the instance. By default, this parameter is set to the database engine of the instance that you want to access.
    Instance Region The region where the instance is deployed. By default, this parameter is set to the region where the current instance is deployed.
    Connection string address The endpoint of the instance. By default, this parameter is set to the endpoint of the current instance.
    Database Name The name of the database corresponding to the account if authentication is enabled.
    Note
    • If Database Account is set to root, the database name is admin.
    • We recommend that you do not log on to a database as the root user in the production environment. You can create users and grant permissions to them based on your requirements. For more information, see Manage user permissions on MongoDB databases.
    Database Account The account that is used to access the database. The initial account is root.
    Database password The password of the account that is used to access the database.
    Note If you forget the password of the root account, you can reset the password by using the method described in Set a password for a standalone ApsaraDB for MongoDB instance.
  7. Click Login.
    Note If you want your web browser to remember the password, select Remember password before you click Login.

Common connection scenarios

Related FAQ