This topic describes how to view connection endpoints of the PolarDB cluster and introduces primary endpoints and private endpoints.
- Log on to the PolarDB console.
- On the top of the page, select the region where the target cluster is deployed.
- Find the target cluster and click the cluster ID.
- In the Connection Information section, view the connection endpoints.
|Type||Description||Supported network type|
|Primary endpoint||A primary endpoint always connects to the primary node and supports read and write operations. If the primary node becomes faulty, the primary endpoint is automatically switched to the read-only node that is promoted to the primary node.||VPC|
|Primary node endpoint (not recommended)||The endpoint of the primary node. It is not recommended to connect directly to the primary node because the node is unavailable when it fails.||VPC|
|Read-only node endpoint (not recommended)||The endpoint of the read-only node. It is not recommended to connect directly to the read-only node because the node is unavailable when it fails.||VPC|
Connect to the cluster. For more information, see Connect to a PolarDB for PostgreSQL cluster.
|DescribeDBClusterEndpoints||Queries the endpoint information of a specified PolarDB cluster.|
|CreateDBEndpointAddress||Creates public-facing endpoints for a specified PolarDB cluster.|
|ModifyDBEndpointAddress||Modifies the default cluster endpoint, custom cluster endpoint, primary endpoint, or private domain of a specified PolarDB cluster.|
|DeleteDBEndpointAddress||Deletes an endpoint of a specified PolarDB cluster.|