Updated on 2024-10-17 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.
  • This function is supported only by DCS Redis 4.0/5.0/6.0 instances, and not by DCS Redis 3.0 instances.

Prerequisites

The instance is in the Running state.

Connecting to Redis on the Console

  1. Log in to the DCS console.
  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.