AnalyticDB for MySQL supports two network types: Internet and virtual private cloud (VPC). If you need to connect to AnalyticDB for MySQL clusters 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 the VPC because the VPC is more secure.
  • When you create an AnalyticDB for MySQL cluster, specify the VPC to which the cluster belongs. For more information, see Create a cluster.
  • You can customize the routing table, the CIDR blocks, and the gateway of the VPC.
  • You can create a virtual data center by using a leased line or a virtual private network (VPN) to connect an on-premises data center to an Alibaba Cloud VPC. This helps you migrate your applications to the cloud.
Internet
  • You must manually apply for a public endpoint. You can release the public endpoint if it is no longer needed.
  • The public endpoint applies to the following scenarios:
    • You need to access an AnalyticDB for MySQL cluster on a device that is not deployed in the same VPC as the AnalyticDB for MySQL cluster.
    • You need to access an AnalyticDB for MySQL cluster across regions or in a network whose type is different from the type of your network.

Apply for 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 you want to manage resides.
  3. In the left-side navigation pane, click Clusters.
  4. On the V3.0 Clusters tab, click the Cluster ID.
  5. On the Cluster Information page, click Apply for public network.
    Apply for a public endpoint
  6. In the Apply for public network message, click OK to generate a public endpoint.
    Note Before you use the public endpoint to access the AnalyticDB for MySQL cluster, add the IP address of the device from which you access the cluster to the whitelist. For more information, see Configure a whitelist.

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 you want to manage resides.
  3. In the left-side navigation pane, click Clusters.
  4. On the V3.0 Clusters tab, click the Cluster ID.
  5. On the Cluster Information page, click Release public network.
  6. In the Release public network message, click OK to release the public endpoint.