To connect to a PolarDB cluster, you must use an endpoint. PolarDB provides both private and public endpoints. You can modify the prefix of an endpoint or delete a public endpoint that is no longer needed. This topic describes how to perform these operations in the PolarDB console.
Prerequisites
A PolarDB for Oracle cluster is created and is in the Running state.
If you want to delete a public endpoint, make sure your applications are connected to the cluster through an alternative endpoint.
Modify an endpoint
You can modify the prefix of a private or public endpoint for your PolarDB cluster.
The endpoint prefix must be 6 to 40 characters in length and can contain lowercase letters, digits, and hyphens (-). It must start with a letter and end with a digit or a letter.
Modifying an SSL-enabled endpoint causes a restart of the cluster.
When you modify an SSL-enabled endpoint, make sure the total length of the new endpoint does not exceed 64 characters.
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region of the cluster.
In the cluster list, find the cluster and click its ID to go to the Basic Information page.
In the Database Connections section, find the endpoint that you want to modify, and click Modify to the right of the private or public endpoint.
In the dialog box, modify the endpoint prefix and click OK.
Delete an endpoint
You can only delete Public endpoints. Private endpoints cannot be deleted.
Before you delete an endpoint, make sure that your application is connected to the cluster by using another endpoint.
After an endpoint is deleted, it cannot be recovered. You can only apply for a new one.
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region of the cluster.
In the cluster list, find the cluster and click its ID to go to the Basic Information page.
In the Database Connections section, find the public endpoint that you want to delete, and click Release to the right of the endpoint.
In the dialog box that appears, click OK to confirm the deletion.
Related API operations
Operation | Description |
Modifies the endpoints of a PolarDB cluster. You can modify the primary endpoint, default cluster endpoint, custom cluster endpoint, or private domain name of the cluster. | |
Deletes the public endpoint of a cluster. |