ApsaraDB RDS supports internal and public endpoints. An internal endpoint is provided by default for internal access to your ApsaraDB RDS instance. If you want to access the instance from the Internet, you must request a public endpoint.
To request or release a public endpoint for other database engines, see the following topics:
Internal and public endpoints
Address Type | Description |
Internal endpoint |
|
Public endpoint |
Important
|
Billing
Requesting a public endpoint is free. The Internet traffic, including inbound and outbound traffic, generated from using the public endpoint is also free of charge.
Precautions
If you release a public endpoint and then request a new one, the new endpoint is different from the one you released. You must immediately update the endpoint in your application's configuration to ensure that your services run as expected.
If you previously enabled Secure Sockets Layer (SSL) encryption for the instance's public endpoint, you must first disable SSL before you release the public endpoint. Disabling SSL encryption restarts the instance. Perform this operation during off-peak hours.
Request 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 navigation pane on the left, click Database Connection.
NoteFor Cluster Edition instances, you can also request or release a public endpoint from the instance topology graph on the Basic Information page.
Request or release the endpoint:
To request a public endpoint, click Apply for Public Endpoint.
To release a public endpoint, click Disable Public Endpoint.
In the dialog box that appears, click OK.
WarningAdding
0.0.0.0/0to the whitelist poses a security risk. After you complete your tests, configure the whitelist again.To connect to the instance over the Internet, run the
curl ipinfo.io/ipcommand to obtain the public IP address of your local client. Then, add the IP address to the RDS whitelist.
FAQ
Related operations
You can request a public endpoint for an instance by calling the AllocateInstancePublicConnection API operation.
You can release the public endpoint of an instance by calling the ReleaseInstancePublicConnection API operation.
You can customize the prefix or port of the internal and public endpoints for an ApsaraDB RDS for MySQL instance.
To connect to an ApsaraDB RDS for MySQL instance over its public endpoint, see Connect to an ApsaraDB RDS for MySQL instance.