Help Center> GeminiDB> GeminiDB Redis API> Working with GeminiDB Redis API> Connecting to an Instance> Setting a Blacklist/Whitelist for a Load Balancer IP Address
Updated on 2024-05-20 GMT+08:00

Setting a Blacklist/Whitelist for a Load Balancer IP Address

Scenarios

GeminiDB Redis allows you to set a blacklist or whitelist for a load balancer IP address.

Precautions

  • A load balancer address does not support security groups. After instance creation is complete, configure IP address access control. If no whitelist is configured, all IP addresses that can communicate with the VPC can access the instance.

Enabling a Blacklist/Whitelist for a Load Balancer IP Address

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, click the name of the target instance to go to the Basic Information page.
  4. In the Connection Information area, click next to Access Control to enable the address blacklist and whitelist for a load balancer IP address.

    Figure 1 Enabling a blacklist/whitelist for load balancer IP addresses

  5. After the blacklist or whitelist are enabled, you can select the blacklist or whitelist as required.

    Figure 2 Configuring access control

    • Blacklist: The blocklist and allowlist cannot be configured at the same time. If you switch between lists, your previously entered settings will be lost. IP addresses in the blacklist cannot be accessed. Exercise caution when performing this operation.
    • Whitelist: The blocklist and allowlist cannot be configured at the same time. If you switch between lists, your previously entered settings will be lost. Only IP addresses in the whitelist are allowed to access the system. Exercise caution when performing this operation.

Disabling a Blacklist/Whitelist for a Load Balancer IP Addresses

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, click the name of the target instance to go to the Basic Information page.
  4. In the Connection Information area, click next to Access Control. In the displayed dialog box, click Yes to disable the blacklist or whitelist for a load balancer address.

    Figure 3 Disabling a blacklist/whitelist for a load balancer IP address

  5. After the blacklist or whitelist is disabled for a load balancer address, the load balancer address cannot take effect.