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

Step 2: Enable Public Access for a DCS Redis Instance

If public access has been enabled for the instance, skip this section.

If public access is not enabled, follow the instructions in this section. You can enable or disable SSL encryption when enabling public access.

  • Before accessing a DCS instance through a public network (with SSL encryption), download a CA certificate to verify the certificate of the instance for security purposes.
  • When accessing a DCS instance through a public network (without SSL encryption), access the EIP and port 6379 of the instance. You do not need to download certificates or install Stunnel on your client.
  • You are advised to enable SSL to encrypt the data transmitted between your Redis client and DCS instance to prevent data leakage.

Procedure

  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.
  4. Click the name of the DCS Redis instance you want to configure. A page with basic information about the DCS instance is displayed.
  5. Click on the right of Public Access.
  6. Click to enable public access.
  7. Select an EIP from the Elastic IP Address drop-down list.

    If no EIPs are available, click View Elastic IP to create an EIP on the network console. After an EIP is created, click the refresh button on the right of Elastic IP Address to select the new EIP.

  8. (Optional) Enable or disable SSL as required.

    You are advised to enable SSL to encrypt the data transmitted between your Redis client and DCS instance to prevent data leakage.

  9. Click OK.

    It takes 1 to 2 minutes to enable public access.

    You will be automatically redirected to the Background Tasks page, where the progress of the current task is displayed. If the task status is Succeeded, public access is successfully enabled.