Managing IP Address Whitelist
The following describes how to manage whitelists of a Redis 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
- Log in to the management console, and choose Application > Distributed Cache Service in the service list.
- Click in the upper left corner of the management console and select the region where your instance is located.
- In the navigation pane, choose Cache Manager.
- Click the name of a DCS instance.
- Choose Instance Configuration > Whitelist. On the displayed page, click Create Whitelist Group.
- 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/0.
10.10.10.1,10.10.10.10
- Click OK.
The whitelist function takes effect immediately after the whitelist group is created. Only whitelisted IP addresses can access the instance. For persistent connections, the whitelist takes effect after reconnection.
- In the whitelist group list, click Edit 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.