Managing IP Address Whitelist

DCS helps you control access to your DCS instances in the following ways, depending on the deployment mode:

  • To control access to DCS Redis 3.0 instances, you can use security groups. Whitelists are not supported. For details about how to configure a security group, see Security Group Configurations.

  • To control access to DCS Redis 4.0/5.0/6.0 instances, you can use whitelists. Security groups are not supported.

The following describes how to manage whitelists of a Redis 4.0/5.0/6.0 instance to allow access only from whitelisted IP addresses. If no whitelists are added for the instance or the whitelist function is disabled, all IP addresses that can communicate with the VPC can access the instance.

Creating a Whitelist Group

  1. Log in to the DCS console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. In the navigation pane, choose Cache Manager.

  4. Click the name of a DCS instance.

  5. Choose Instance Configuration > Whitelist and then click Create Whitelist Group.

  6. In the Create Whitelist Group dialogue box, specify Group Name and IP Address/Range.

    Table 1 Whitelist parameters

    Parameter

    Description

    Example

    Group Name

    Whitelist group name of the instance.

    A maximum of four whitelist groups can be created for each instance.

    DCS-test

    IP Address/Range

    A maximum of 20 IP addresses or IP address ranges can be added to an instance. Separate multiple IP addresses or IP address ranges with commas.

    Unsupported IP address and IP address range: 0.0.0.0 and 0.0.0/0.

    10.10.10.1,10.10.10.10

  7. Click OK.

    A whitelist group is automatically enabled for the instance once created. Only whitelisted IP addresses can access the instance.

    Note

    • In the whitelist group list, click Modify to modify the IP addresses or IP address ranges in a group, and click Delete to delete a whitelist group.

    • After whitelist has been enabled, you can click Disable Whitelist above the whitelist group list to allow all IP addresses connected to the VPC to access the instance.