All Products
Search
Document Center

ApsaraDB for SelectDB:Apply for or release a public endpoint

Last Updated:Mar 28, 2026

ApsaraDB for SelectDB instances support two connection types: virtual private cloud (VPC) endpoints and public endpoints. Use a VPC endpoint when your client and the instance are in the same VPC. Use a public endpoint when they are in different VPCs or when you need to connect from the public internet.

Important

After you apply for a public endpoint, all clusters in the instance become accessible over the internet, and ports 8040 and 8060 are opened. These ports support HTTP operations such as data import via Stream Load and metric capturing. Access is controlled by the IP address whitelist — make sure the IP address of your client is added to the IP address whitelist before connecting. For more information, see Configure an IP address whitelist.

Apply for a public endpoint

  1. Log on to the ApsaraDB for SelectDB console.

  2. In the top navigation bar, select the region where the instance resides.

  3. In the left-side navigation pane, click Instances. On the Instances page, find the instance and click the instance ID. The Instance Details page appears.

  4. In the Network Information section, click Apply for Public Endpoint.

  5. In the Apply for Public Endpoint dialog, click OK.

After the public endpoint is applied for, add your client's IP address to the IP address whitelist before connecting. For more information, see Configure an IP address whitelist.

Release a public endpoint

Before releasing a public endpoint, note the following:

  • After the public endpoint is released, you can no longer connect to the instance by using the released public endpoint. You must change the endpoint that is used to connect to the instance on your client.

  • Remove the associated public IP addresses or CIDR blocks from the IP address whitelist to ensure data security.

To release the public endpoint:

  1. Log on to the ApsaraDB for SelectDB console.

  2. In the top navigation bar, select the region where the instance resides.

  3. In the left-side navigation pane, click Instances. On the Instances page, find the instance and click the instance ID. The Instance Details page appears.

  4. In the Network Information section, click Release Public Endpoint.

  5. In the Release Public Endpoint dialog, click OK.

What's next

After applying for a public endpoint:

  1. Add the public IP address of your client or the device on which your application resides to the IP address whitelist. For more information, see Configure an IP address whitelist.

  2. Connect to the instance using a MySQL client. For more information, see Connect to an ApsaraDB for SelectDB instance by using a MySQL client.

Note

Using a public endpoint generates internet traffic. Inbound and outbound internet traffic are not charged.