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

Network types

Dedicated proxy endpoints come in three network types: Internal (VPC), Internal (Classic Network), and Public.

After the dedicated proxy feature is enabled, a default dedicated proxy endpoint is generated. You can retain the default network type of the default dedicated proxy endpoint. You can also create more dedicated proxy endpoints. The available network types vary based on the configuration of your RDS instance.

Instance configuration Network type of the default dedicated proxy endpoint Network type of a new dedicated proxy endpoint
Standard SSDs (VPC) Internal (VPC) Public
ESSDs (VPC)
Local SSDs (VPC)

Internal (VPC)

Public

Internal (VPC)

Internal (Classic Network)

Public

Local SSDs (classic network)

Internal (Classic Network)

Public

Internal (Classic Network)

Public

Note Each RDS instance can have only one dedicated proxy endpoint of each network type. The network type of a dedicated proxy endpoint is specified by the Endpoint Type parameter. For example, only one dedicated proxy endpoint of the Internal (VPC) network type is allowed.

Create a dedicated proxy endpoint

After the dedicated proxy feature is enabled, a default dedicated proxy endpoint is generated. For more information, see Enable the dedicated proxy of an ApsaraDB RDS for MySQL instance. You can create more dedicated proxy endpoints.

  1. Go to the Database Proxy page.
    1. Log on to the ApsaraDB for RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
      选择地域
    2. Find your RDS instance and click the ID of the instance. In the left-side navigation pane, click Database Proxy.
  2. In the Endpoint section of the Proxy tab, click Create Endpoint.
  3. Configure the Proxy Terminal, Endpoint, Port, and Network Type parameters. Then, click OK. For more information, see Introduction to proxy terminals.
    Note
    • Each RDS instance can have only one dedicated proxy endpoint of each network type. The network type of a dedicated proxy endpoint is specified by the Endpoint Type parameter.
    • The prefix of a dedicated 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 dedicated proxy endpoint must be within the range of 1000 to 5999.

Change a dedicated proxy endpoint or the port number that is bound to the endpoint

  1. Go to the Database Proxy page.
    1. Log on to the ApsaraDB for RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
      选择地域
    2. Find your RDS instance and click the ID of the instance. In the left-side navigation pane, click Database Proxy.
  2. Find the dedicated proxy endpoint and click Change on the right. In the dialog box that appears, change the dedicated proxy endpoint or the associated port number and click OK.
    Note
    • The prefix of a dedicated 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 dedicated proxy endpoint must be within the range of 1000 to 5999.
    Change button

Delete a dedicated proxy endpoint

Note
  • If your RDS instance uses standard SSDs or enhanced SSDs (ESSDs), you cannot delete a dedicated proxy endpoint whose network type is Internal (VPC).
  • If your RDS instance uses local SSDs, you must retain at least one dedicated proxy endpoint.
  1. Go to the Database Proxy page.
    1. Log on to the ApsaraDB for RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
      选择地域
    2. Find your RDS instance and click the ID of the instance. In the left-side navigation pane, click Database Proxy.
  2. Find the dedicated proxy endpoint and click Delete on the right. In the dialog box that appears, click OK.
    Note You can delete only the dedicated proxy endpoints that you create.

References

Related operations

Operation Description
DescribeDBProxy Queries details about the dedicated proxy of an ApsaraDB RDS instance.
CreateDBProxyEndpointAddress Creates a dedicated proxy endpoint for an ApsaraDB RDS instance.
ModifyDBProxyEndpointAddress Modifies a dedicated proxy endpoint of an ApsaraDB RDS instance.
DeleteDBProxyEndpointAddress Deletes a dedicated proxy endpoint of an ApsaraDB RDS instance.