Connect to a standalone instance by using DMS

Updated at: 2025-04-15 10:13

This topic describes how to use Data Management (DMS) to connect to a standalone instance for remote access and online management. DMS is an integrated and visualized database solution that manages data, structures, user authorization, security auditing, data trend analysis, data tracking, BI charts, performance optimization, and servers.

Preparations

The IP address (100.104.0.0/16) of your DMS server is added to a whitelist of the instance.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Replica Set Instances.

  3. In the upper-left corner of the page, select the resource group and region to which the desired instance belongs.

  4. Click the ID of the instance or click Manage in the Actions column.

  5. In the upper-right corner of the page that appears, click Log On and select the node to which you want to log on.

  6. In the Log on to Database Instance dialog box, configure the parameters described in the following table.

    Parameter

    Description

    Parameter

    Description

    Database Type

    The engine of the database. By default, the engine of the database to be connected is selected.

    Instance Region

    The region in which the instance is deployed. By default, the region of the current instance is selected.

    Connection String Address

    The endpoint of the instance. By default, the endpoint of the current instance is displayed.

    Database Name

    The name of the authentication database in which the database account is created.

    Note
    • If the Database Account parameter 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 the permissions of MongoDB database users.

    Security hosting

    The instance for which you enable security hosting enters the logon-free state.

    Database Account

    The account that is used to access the database. The initial account is root.

    Database Password

    The password of the database account.

    Note

    If you have forgotten the password of the root account, reset a password.

  7. (Optional) Click Test Connection to check whether the connection is successful.

    • If the Success message appears, the connection is successful. Click OK.

    • In the dialog box that appears, read the message carefully, click OK, and modify the configuration based on the message until the connection is successful.

  8. Click Login.

    Note

    If you want the browser to remember the password of the account, select Remember Password and click Log On.

Common connection scenarios

FAQ

  • On this page (1)
  • Preparations
  • Procedure
  • Common connection scenarios
  • FAQ
Feedback