All Products
Search
Document Center

ApsaraDB RDS:Manage database proxy endpoints

Last Updated:Mar 02, 2026

After you enable the database proxy feature for an ApsaraDB RDS for PostgreSQL instance, the system generates a default proxy endpoint. You can create additional proxy endpoints, modify endpoint prefixes and ports, apply for or release public endpoints, and delete proxy endpoints that you no longer need.

Prerequisites

Before you begin, make sure that you have:

Limits

ItemLimit
Database proxy endpoints per instanceUp to 7
Internal (VPC) endpoints per proxy endpoint1 (automatically allocated; cannot be deleted)
Public endpoints per proxy endpoint1
Endpoint prefix length2 to 40 characters; lowercase letters, digits, and hyphens (-); must start with a lowercase letter
Public endpoint prefix length2 to 40 characters; lowercase letters, digits, and hyphens (-); must start with a lowercase letter
Port range1000 to 65534
Default proxy endpointCannot be deleted
Database proxy endpoints were formerly known as proxy terminals.

Create a database proxy endpoint

  1. Go to the Instances page. In the top navigation bar, select the region of your RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Proxy.

  3. In the Connection Information section, click Create Proxy Endpoint.

  4. In the dialog box, configure the connection settings. > Note: For more information about the connection settings, see Configure the connection settings for a database proxy endpoint.

  5. Click OK.

After the proxy endpoint is created, the system allocates a virtual private cloud (VPC) internal endpoint for it. The allocation may take a few moments to complete. This internal endpoint cannot be deleted.

Modify a database proxy endpoint

  1. Go to the Instances page. In the top navigation bar, select the region of your RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Proxy.

  3. In the Connection Information section, find the proxy endpoint and click the edit icon icon to its right.

  4. In the dialog box, modify the Endpoint prefix or the Port number, then click OK. > Note: The Endpoint Type value cannot be modified.

Apply for or release a public endpoint

Each database proxy endpoint supports one public endpoint. You can release the public endpoint but cannot release the internal endpoint.

Apply for a public endpoint

  1. Go to the Instances page. In the top navigation bar, select the region of your RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Proxy.

  3. In the Connection Information section, find the proxy endpoint and click Apply for Public Endpoint in the Public Endpoint/Port column.

  4. Configure the Database Proxy Endpoint prefix and Port, then click OK.

Release a public endpoint

  1. Go to the Instances page. In the top navigation bar, select the region of your RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Proxy.

  3. In the Connection Information section, find the proxy endpoint and click Release Public Endpoint in the Public Endpoint/Port column.

Delete a database proxy endpoint

The default database proxy endpoint that is generated when you enable the database proxy cannot be deleted.
  1. Go to the Instances page. In the top navigation bar, select the region of your RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Proxy.

  3. Find the proxy endpoint and click Delete Connection in the Actions column. In the confirmation message, click OK.

References

API reference

OperationDescription
DescribeDBProxyQueries the details of a database proxy
DescribeDBProxyEndpointQueries information about a database proxy endpoint
CreateDBProxyEndpointAddressCreates a database proxy endpoint
ModifyDBProxyEndpointAddressModifies a database proxy endpoint
DeleteDBProxyEndpointAddressDeletes a database proxy endpoint