All Products
Search
Document Center

ApsaraDB RDS:Manage the database proxy endpoints

Last Updated:Sep 18, 2023

This topic describes how to manage the database proxy endpoints of an ApsaraDB RDS for PostgreSQL instance. After the database proxy feature is enabled, a default database proxy endpoint is generated. The proxy terminal feature is bound to this endpoint. You can create, modify, or delete a database proxy endpoint.

Prerequisites

The database proxy feature is enabled. For more information, see Enable and configure the database proxy feature.

Create a database proxy endpoint

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Database Proxy.

  3. In the Endpoint section of the Proxy tab, click Create Endpoint.新增连接地址

  4. Configure the Proxy Terminal, Endpoint, Port, and Network Type parameters. Then, click OK.image.png

    Note
    • You can create only one database proxy endpoint for which the Network Type parameter is set to Public.

    • The prefix of a database proxy endpoint must be 1 to 40 characters in length and can contain letters, digits, and hyphens (-). The prefix must start with a lowercase letter.

    • The port number that is bound to a database proxy endpoint must be within the range of 1000 to 5999.

    • After a database proxy endpoint is created, you cannot change the value of the Network Type parameter for the endpoint.

Modify a database proxy endpoint

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Database Proxy.

  3. In the Endpoint section of the Proxy tab, find the database proxy endpoint that you want to modify and click Change to the right of the endpoint.

  4. Modify the values of the Endpoint and Port parameters and click OK.

    Note
    • The prefix of a database proxy endpoint must be 1 to 40 characters in length and can contain letters, digits, and hyphens (-). The prefix must start with a lowercase letter.

    • The port number that is bound to a database proxy endpoint must be within the range of 1000 to 5999.

    • You cannot change the value of the Network Type parameter for the endpoint.

Delete a database proxy endpoint

Note

You cannot delete a database proxy endpoint whose network type is Internal (VPC).

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Database Proxy.

  3. Find the database proxy endpoint that you want to delete and click Delete to the right of the endpoint. In the message that appears, click OK.

    Note

    You can delete only the public endpoint that you created.

Related operations

Operation

Description

DescribeDBProxy

Queries the details of a database proxy.

CreateDBProxyEndpointAddress

Creates a database proxy endpoint.

ModifyDBProxyEndpointAddress

Modifies a database proxy endpoint.

DeleteDBProxyEndpointAddress

Deletes a database proxy endpoint.