A dedicated proxy provides a default proxy endpoint. This is the proxy endpoint to which the read/write splitting function is bound. You can create, modify, or delete a proxy endpoint for the dedicated proxy.

Prerequisites

The dedicated proxy feature is enabled. For more information, see Dedicated proxy.

Network types for proxy endpoints

ApsaraDB for RDS supports the following network types for proxy endpoints: Internal (VPC), Internal (Classic Network), and Public.

When you enable the dedicated proxy feature for an RDS instance, you can use the default network type. After the default proxy endpoint is created, you can create another proxy endpoint. Different instance configurations support different network types for proxy endpoints.

Instance configuration Network type of the default proxy endpoint Network type of a new proxy endpoint
Standard or enhanced SSDs (VPC) Internal (VPC) Public
Enhanced SSDs (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 proxy endpoint of an RDS instance must have a unique Network Type. For example, an RDS instance cannot have more than one proxy endpoint of the Internal (VPC) type.

Create a proxy endpoint

The default proxy endpoint is created when you enable the dedicated proxy feature. For more information, see Dedicated proxy. After the default proxy endpoint is created, you can create another proxy endpoint.

  1. Log on to the ApsaraDB for RDS console.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
    Select a region
  3. Find your RDS instance and click its ID.
  4. In the left-side navigation pane, click Database Proxy.
  5. Click Create Endpoint.
    Create Endpoint
  6. Specify the prefix, port, and network type of the new proxy endpoint. Then, click OK.
    Note
    • Each proxy endpoint of an RDS instance must have a unique Network Type.
    • The prefix of a proxy endpoint must be 1 to 40 characters in length, and can contain letters, digits, and hyphens (-). It must start with a lowercase letter.
    • The port number of a proxy endpoint must be within the range of 1000 to 5999.
    • For more information about how to connect to an RDS instance, see Connect to an ApsaraDB RDS for MySQL instance.
    Set the new proxy endpoint

Change a proxy endpoint or port

  1. Log on to the ApsaraDB for RDS console.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
    Select a region
  3. Find your RDS instance and click its ID.
  4. In the left-side navigation pane, click Database Proxy.
  5. Find the proxy endpoint that you want to change. Click Change Endpoint or Change Port. After you change the proxy endpoint or port, click OK.
    Note
    • The prefix of a proxy endpoint must be 1 to 40 characters in length, and can contain letters, digits, and hyphens (-). It must start with a lowercase letter.
    • The port number of a proxy endpoint must be within the range of 1000 to 5999.
    • For more information about how to connect to an RDS instance, see Connect to an ApsaraDB RDS for MySQL instance.
    Change Endpoint

Delete a proxy endpoint

Note
  • If an RDS instance uses standard or enhanced SSDs, you cannot delete the proxy endpoint of the Internal (VPC) type.
  • If an RDS instance uses local SSDs, you must reserve at least one proxy endpoint for the RDS instance.
  1. Log on to the ApsaraDB for RDS console.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
    Select a region
  3. Find your RDS instance and click its ID.
  4. In the left-side navigation pane, click Database Proxy.
  5. Find the proxy endpoint that you want to delete and click Delete. In the dialog box that appears, click OK.
    Delete