This topic describes how to view endpoints of an ApsaraDB for Redis instance in the console. The virtual IP address of an ApsaraDB for Redis instance may change during service upgrades or maintenance. We recommend that you connect to an ApsaraDB for Redis instance through an endpoint to avoid disconnection.

Connection types

ApsaraDB for Redis supports the following types of connections. An endpoint is generated for each connection type.

Connection type Supported instance architecture Description
Virtual Private Cloud (VPC) All You can connect to an ApsaraDB for Redis instance deployed in a VPC network if your client is also deployed in the VPC network. By default, the system generates a VPC endpoint for an ApsaraDB for Redis instance deployed in a VPC network.

By default, the system generates a proxy endpoint for a cluster instance or a read/write splitting instance deployed in a VPC network. You can use this endpoint to connect to the instance through a proxy server. You can also establish a director connection if you want to connect to a cluster instance without using a proxy server.

Classic network All You can connect to an ApsaraDB for Redis instance deployed in a classic network if your client and the instance are in the same region. By default, the system generates a classic endpoint for an ApsaraDB for Redis instance deployed in a classic network.

You cannot connect to a cluster instance deployed in a classic network by establishing a direct connection.

Proxy connection Cluster instances and read/write splitting instances By default, the system generates a proxy endpoint for a cluster instance or read/write splitting instance. You can use the proxy endpoint to connect to instance through a proxy server.
Direct connection Cluster instances You can establish a direct connection to bypass the proxy server and access the shards of a cluster instance. The instance must be deployed in a VPC network. For more information about how to apply for a direct endpoint, see Enable direct connection.
Public network All You can connect to an ApsaraDB for Redis instance over a public network. For more information about how to apply for a public endpoint, see Through the Internet.

View endpoints

  1. Log on to the ApsaraDB for Redis console.
  2. In the top navigation bar, select the region where the target instance is located.
  3. On the Instances page, click the Instance ID of the target instance.
  4. On the Instance Information page or the Connection page, view endpoints.
    • On the Instance Information page, find the Connection Information section, and view Internal Endpoint (Host) and Public Endpoint (Host).
      Figure 1. Endpoints of an ApsaraDB for Redis instance
    • On the Connection page, view endpoints:
      1. In the left-side navigation pane, click Connection.
      2. On the Connection page, view endpoints.