Restrictions

You can access a DCS instance through any Redis client.

  • To access a DCS Redis instance through a client on an ECS in the same VPC as the instance, note that:
    • 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 and 5.0, and Redis 6.0 professional edition: The IP address of the ECS must be on the whitelist of the DCS instance.
    • If the ECS and DCS Redis instance are in different VPCs, establish a VPC peering connection to achieve network connectivity between the ECS and DCS instance. For details, see Does DCS Support Cross-VPC Access?
  • Before accessing a DCS Redis 3.0 instance over public networks, ensure that:

    Security group rules have been correctly configured for the instance. If SSL encryption is disabled, allow public access through port 6379. If SSL encryption is enabled, allow public access through port 36379. For details, see How Do I Configure a Security Group?

  • If the client and the DCS Redis instance are not in the same region, the instance domain name cannot be resolved across regions and the instance cannot be accessed at its domain name address. You can manually map the domain name to the IP address in the hosts file or access the instance at its IP address.