Apply for or release a public endpoint

更新时间:
复制 MD 格式

An ApsaraDB for SelectDB instance supports both VPC and public endpoint connections. If your client is not in the same VPC as the instance, you must apply for a public endpoint to connect.

Usage notes

Important

Applying for a public endpoint for an ApsaraDB for SelectDB instance binds a public endpoint to each cluster. This action then opens ports 8040 and 8060 for HTTP operations such as importing data with Stream Load and scraping metrics. An IP address whitelist controls access to this endpoint. To access a cluster using the public endpoint, you must add the IP address of your client to the IP address whitelist of the instance. For more information, see Configure an IP address whitelist.

When releasing a public endpoint, note the following:

  • After you release the public endpoint of an ApsaraDB for SelectDB instance, you can no longer connect to the instance by using that endpoint. Update the connection address in your client.

  • After you release a public endpoint, remove the corresponding public IP addresses or CIDR blocks from the IP address whitelist to maintain data security.

Apply for a public endpoint

  1. Log on to the ApsaraDB for SelectDB console.

  2. In the upper-left corner of the page, select the region where your instance is located.

  3. On the Instances page, click the target Instance ID, and the Instance Details page appears.

  4. In the Network Information section of the Instance Details page, click Apply for Public Endpoint.

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

Release a public endpoint

  1. Log on to the ApsaraDB for SelectDB console.

  2. In the upper-left corner of the page, select the region where your instance is located.

  3. On the Instances page, click the target Instance ID to go to the Instance Details page.

  4. In the Network Information section of the Instance Details page, click Release Public IP Address.

  5. In the Release Public IP Address dialog box, click OK.

Next steps

After you apply for a public endpoint, complete the following steps to connect to your instance: