Updated on 2024-07-29 GMT+08:00

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. Redis 3.0: The instance and the ECS must either be configured with the same security group or use different security groups but can communicate with each other as configured by the security group rules. Redis 4.0/5.0/6.0/6.0 basic: The IP address of the ECS must be on the whitelist of the DCS instance.

  • 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?