Updated on 2024-09-24 GMT+08:00

Does DCS Support Public Access?

  • Redis 3.0

    Currently, public access is supported only by password-protected DCS Redis 3.0 instances. You can enable or disable SSL for public access. You are advised to download a CA certificate in advance and use it to verify the certificate of a DCS instance for security purposes. For more information, see Public Access to a DCS Redis Instance.

  • Redis 4.0 and later

    Public access is not supported by DCS Redis 4.0, 5.0, and 6.0 instances. If public access is required for a single-node, master/standby, read/write splitting, or Proxy Cluster instance, use Nginx to redirect connections through an ECS configured with the same VPC and security group as the DCS instance. For details, see Using Nginx for Public Access to Single-node, Master/Standby, or Proxy Cluster DCS Redis Instances.

    You can use Elastic Load Balance (ELB) to access different types of DCS instances over public networks. For details, see Using ELB for Public Access to DCS.

    Redis Cluster instances do not support public access.

  • Memcached

    Public access is not supported. The ECS that serves as a client and the DCS instance that the client will access must belong to the same VPC. In the application development and debugging phases, you can also use SSH to access your instance in the local environment. For details, see Using SSH Tunneling for Public Access to a DCS Instance.