Updated on 2025-09-02 GMT+08:00

Connecting to Redis on the Console

Access a DCS Redis instance through Web CLI.

Notes and Constraints

  • The instance is in the Running state.
  • Available only for DCS Redis 4.0 or later instances.
  • Some commands cannot be run on Web CLI. For details, see Web CLI Commands.
  • Do not enter sensitive information in Web CLI to avoid disclosure.
  • If the value is empty, nil is returned after the GET command is executed.

Connecting to Redis on the Console

  1. Log in to the DCS console.
  2. Click in the upper left corner of the console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager. In the Operation column of the instance, choose More > Connect to Redis, as shown in the following figure.

    Figure 1 Accessing Web CLI

  4. Enter the access password of the DCS instance. On Web CLI, select the current Redis database, enter a Redis command in the command box, and press Enter.

    • If no operation is performed for more than 15 minutes, the connection times out. You must enter the access password to connect to the instance again.
    • You do not need to enter a password for accessing a password-free DCS Redis instance.
    • To access Redis using an ACL user, configure the password to username:password.

Related Documents