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 VPC because it is more secure.
  • When you create an AnalyticDB for MySQL cluster, specify the VPC to which the cluster belongs. For more information, see Create an AnalyticDB for MySQL cluster.
  • You can customize the route table, CIDR blocks, and gateway of the VPC.
  • You can use a leased line or VPN to connect your data center to an Alibaba Cloud VPC, creating a virtual data center that 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 devices that are not deployed in the Alibaba Cloud environment.
    • You need to access an AnalyticDB for MySQL cluster from a region or of a network type that is different from the cluster.

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 clusters reside.
  3. In the left-side navigation pane, click Clusters.
  4. On the V3.0 Clusters tab, click the target 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 obtain a public endpoint.
    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 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 clusters reside.
  3. In the left-side navigation pane, click Clusters.
  4. On the V3.0 Clusters tab, click the target 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.