You can use Data Management Service (DMS) to log on to ApsaraDB for Redis instances without installing a client. DMS helps you manage ApsaraDB for Redis instances on a visual interface.

Background information

DMS is an all-in-one data management service that supports multiple relational databases and NoSQL databases. The service offers features such as data management, schema management, user authorization, security audit, data trend analysis, and data tracking. DMS is also an easy-to-use data management service that enhances data security, improves management efficiency, and maximizes data value.

Limits

DMS has some limits on running Redis commands. For more information, see SQLConsole for Redis.

Procedure

  1. Log on to the ApsaraDB for Redis console.
  2. On the top of the page, select the region where the instance is deployed.
  3. On the Instances page, click the Instance ID of the instance.
  4. In the upper-right corner of the page, click Log into Database.
  5. In the DMS console to which you are redirected, configure the logon mode.
    Figure 1. Configure the DMS logon method.
    Configure the DMS logon method.
    Access methods Description
    Account + password

    (Recommended)

    Enter the database account and password. For more information about how to create a database account, see Manage database accounts.
    Note
    • By default, an ApsaraDB for Redis instance contains a database account named after the instance ID, for example, r-bp10noxlhcoim2****. You can log on to the database by using this account. The password is set when you create your instance.
    • If you forget the password, you can reset it. For more information, see Change or reset the password.
    Password-free logon If you enable the password-free access for the ApsaraDB for Redis instance, you can log on to the instance without entering a password. For more information, see Enable password-free access in VPC.
    Logon with password Use the password that is specified when your instance is created to log on to the ApsaraDB for Redis instance. The password is created for the database account named after the instance ID. If you forget the password, you can reset it. For more information, see Change or reset the password.
  6. Click Log On.
    Note If you do not add the IP address of the DMS server to the whitelist of the ApsaraDB for Redis instance, a dialog box appears and prompts you to click Set IP address whitelists. The system creates a whitelist group named ali_dms_group and adds the IP address of the DMS server to this group.
    Figure 2. Complete logon in the example
    Complete logon
  7. After you log on to the database, you can run Redis commands on the SQLConsole page. For example, run the DBSIZE command to query the number of keys in the current database.
    For more information about Redis commands supported by ApsaraDB for Redis, see. Overview. For more information about all Redis commands and their usage, see Redis official website.