ApsaraDB RDS supports two types of endpoints: internal endpoints and public endpoints. By default, you are provided with an internal endpoint that is used to connect to your ApsaraDB RDS for MySQL instance. If you want to connect to your RDS instance over the Internet, you must apply for a public endpoint.
For more information about how to apply for or release public endpoints for RDS instances that run other database engines, see the following topics:
Internal and public endpoints
Endpoint type | Description |
Internal endpoint |
|
Public endpoint |
Important
|
Apply for or release a public endpoint
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Database Connection.
Apply for or release a public endpoint.
If you have not applied for a public endpoint, you can click Apply for Public Endpoint.
If you have applied for a public endpoint, click Disable Public Endpoint.
In the dialogue box that appears, click OK.
NoteIf your RDS instance uses RDS Cluster Edition, you can apply for or release a public endpoint in the Instance Topology Management section of the Basic Information page.
FAQ
Am I charged for the use of a public endpoint?
You are not charged for the inbound or outbound Internet traffic that you consume for your RDS instances. Alibaba Cloud does not impose bandwidth limits on RDS instances.
Can I change the endpoints and port numbers of my RDS instance?
You can change the prefix and port number of the endpoint. For more information, see View and manage instance endpoints and ports.
Can I configure the endpoints of my RDS instance to static IP addresses?
No, you cannot configure the endpoints of your RDS instance to static IP addresses. Both primary/secondary switchovers and specification changes may cause changes to the IP addresses. We recommend that you connect to your RDS instance by using an endpoint. This allows you to minimize the impact on your workloads and eliminates the need to modify the configuration data on your application.
How do I connect to my RDS instance by using a public endpoint?
For more information, see Use a client or the CLI to connect to an ApsaraDB RDS for MySQL instance.
Does the public endpoint change if I repeatedly apply for the public endpoint for my RDS instance?
No, the public endpoint does not change even if you repeatedly apply for the public endpoint for your RDS instance. After you release the public endpoint and apply for the public endpoint for your RDS instance again, the new public endpoint is the same as the released public endpoint.
Related operations
Operation | Description |
Applies for a public endpoint for an instance. | |
Releases the public endpoint of an instance. |