By default, PolarDB-X assigns a private endpoint to each instance at creation time. Use a private endpoint to connect applications and MySQL clients running on Alibaba Cloud Elastic Compute Service (ECS) instances to the PolarDB-X instance. To connect from the internet, apply for a public endpoint.
Apply for a public endpoint
-
Log on to the PolarDB-X console.
-
In the top navigation bar, select the region where the instance is deployed.
-
On the Instances page, click the PolarDB-X 2.0 tab.
-
Find the instance that you want to manage and click its ID.
In the Connection Information section, click Apply for Public Endpoint in the upper-right corner.
In the message that appears, click OK.
NoteTo connect to the PolarDB-X instance using the public endpoint, add the public IP address of your client to the instance whitelist. For details, see Configure whitelists.
Release a public endpoint
-
Log on to the PolarDB-X console.
-
In the top navigation bar, select the region where the instance is deployed.
-
On the Instances page, click the PolarDB-X 2.0 tab.
-
Find the instance that you want to manage and click its ID.
In the Connection Information section, click Release Public Endpoint in the upper-right corner.
In the message that appears, click OK.
NoteAfter you release the public endpoint, you cannot use it to connect to the instance. To ensure data security, remove the corresponding public IP address from the whitelist. For details, see Configure whitelists.