Network Conditions for Accessing DCS Redis
You can access a DCS instance through any Redis client. For details about Redis clients, see the Redis official website.
There are different constraints when a client connects to Redis in certain ways:
- Accessing a Redis instance on a client within the same VPC
The ECS where the client is installed must be in the same VPC as the DCS Redis instance. An ECS and a DCS instance can communicate with each other only when they belong to the same VPC. The IP address of the ECS must be on the whitelist of the DCS instance.
For details about how to configure a whitelist, see Managing IP Address Whitelist.
- Accessing a Redis instance on a client across VPCs in the same region
If the client and DCS Redis instance are not in the same VPC, connect them by establishing a VPC peering connection. For details, see Does DCS Support Cross-VPC Access?
- Accessing a Redis instance of another region on a client
If the client server and the Redis instance are not in the same region, connect the network using Direct Connect. For details, see What Is Direct Connect.
To access a Redis instance across regions, the instance domain names cannot be resolved across regions. Therefore, the instance cannot be accessed at its domain name addresses. You can manually map the domain name to the IP address in the hosts file, or access the instance at its IP address.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.