Step 2: Configure whitelists

更新时间:
复制 MD 格式

By default, Tair (Redis OSS-compatible) blocks all IP addresses to ensure security and stability. Before using an instance, add your client IP addresses or CIDR blocks to the instance whitelists.

Procedure

In this example, the client runs on an ECS instance in the same VPC as the Tair (Redis OSS-compatible) instance.

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. In the left-side navigation pane, click Whitelist Settings.

  3. Find the default whitelist and click Modify in the Actions column.

  4. If you set Method to Add IP Address to Import ECS Internal IP Address, the panel displays the private IP addresses of ECS instances that are deployed in the same region as the Tair instance.

    Hover over an IP address to view the associated ECS instance ID and name.

  5. Select the IP addresses and move them to the right pane.

  6. Click OK.

    You can now connect to the Tair (Redis OSS-compatible) instance from the client. Step 3: Connect to an instance.

References

To access a Tair instance from an on-premises device or an ECS instance outside the VPC, connect over the Internet and copy the client IP address to the instance whitelist. This is not recommended. Configure whitelists.