Updated on 2024-06-20 GMT+08:00

Connecting to Redis on the Console

Access a DCS Redis instance through Web CLI.

  • 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.
  • Some commands cannot be run on Web CLI. For details, see Web CLI Commands.

Prerequisites

The instance is in the Running state.

Procedure

  1. Log in to the management console, and choose Application > Distributed Cache Service in the service list.
  2. Click in the upper left corner of the management 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 5 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.