This topic describes how to apply for a public endpoint for an RDS for PostgreSQL instance. Apsara for RDS supports two types of endpoints: internal endpoints and public endpoints. By default, the system provides you with an internal endpoint for connecting to your RDS instance. If you want to connect to your RDS instance through the Internet, you must apply for a public endpoint.
Internal and public endpoints
PostgreSQL 11 High-availability Edition (with SSDs) or PostgreSQL 10 High-availability Edition (with SSDs)
- Log on to the PostgreSQL console.
- In the upper-left corner, select the region where the RDS instance is located.
- Find the RDS instance and click the instance ID.
- In the Basic Information section of the Basic Information page, click Apply for Public Endpoint and in the displayed dialog box click OK.
PostgreSQL 10 High-availability Edition (with local SSDs), PostgreSQL 10 Basic Edition, or PostgreSQL 9.4
- Log on to the RDS console.
- In the upper-left corner, select the region where the target RDS instance is located.
- Find the target RDS instance and click the instance ID.
- In the left-side navigation pane, click Database Connection.
- Click Apply for Public Endpoint.
- In the displayed dialog box, click OK.
A public endpoint is generated.
- Optional. If you want to change the public endpoint or port, click Change Endpoint In the displayed dialog box, select a connection type and click OK.
- The prefix of an endpoint starts with a lowercase letter and contains 8 to 64 characters including letters, digits, and hyphens (-).
- In a VPC, you cannot change the port of an internal or public endpoint.
- In a classic network, you can change the port of an internal or public endpoint.
|AllocateInstancePublicConnection||Used to apply for an internal endpoint for an RDS instance.|