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.
DMS has some limits on running Redis commands. For more information, see SQLConsole for Redis.
- Log on to the ApsaraDB for Redis console.
- On the top of the page, select the region where the instance is deployed.
- On the Instances page, click the Instance ID of the instance.
- In the upper-right corner of the page, click Log into Database.
- In the DMS console to which you are redirected, configure the logon mode.
Access methods Description Account + password
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.
- 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.
- 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.