AnalyticDB for MySQL supports two network types: Internet and Virtual Private Cloud (VPC). To connect to an AnalyticDB for MySQL cluster over the Internet, you must first apply for a public endpoint.

Internet and VPC

Network type Description
VPC
  • A VPC is an isolated network environment. We recommend that you use VPC because it is more secure than the Internet.
  • When you create an AnalyticDB for MySQL cluster, specify the VPC in which you want to deploy the cluster. For more information, see Create a cluster.
  • You can specify route tables, CIDR blocks, and gateways for a VPC.
  • You can connect your data center to a VPC by using Express Connect circuits or VPNs. The data center and the VPC comprise a virtual data center. You can use the virtual data center to migrate your workloads to the cloud with no downtime.
Internet
  • You must manually apply for a public endpoint. You can release the public endpoint if it is no longer needed.
  • The public endpoint is suitable for the following scenarios:
    • You need to access an AnalyticDB for MySQL cluster from devices that are not deployed in the Alibaba Cloud environment.
    • You need to access an AnalyticDB for MySQL cluster across regions or network types.

Apply for or release a public endpoint

  1. Log on to the AnalyticDB for MySQL console.
  2. In the upper-left corner of the page, select the region where the cluster resides.
  3. In the left-side navigation pane, click Clusters.
  4. Click the Data Warehouse Edition (V3.0) tab.
  5. Find the cluster and click its Cluster ID.
  6. In the Network Information section of the Cluster Information page, click Apply for Public Endpoint. In the message that appears, click OK.
    Note Before you use the public endpoint to access the AnalyticDB for MySQL cluster, you must add the IP address of the device that you use to access the cluster to an allowlist. For more information, see Configure a whitelist.
  7. To release the public endpoint, click Release Public Endpoint. In the message that appears, click OK.