Public network access

Updated at:

A PolarDB-X 1.0 instance has an internal network address by default. This address allows applications and MySQL clients on Alibaba Cloud ECS to connect to databases on the PolarDB-X 1.0 instance. To access PolarDB-X 1.0 from a network outside Alibaba Cloud, you must apply for a public IP address for the PolarDB-X 1.0 instance. This topic describes how to apply for and release a public IP address.

Apply for a public IP address

  1. Log on to the PolarDB-X 1.0 console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. In the left-side navigation pane, click Instances.

  4. Find the instance and click the instance ID to go to the Basic Information page.

  5. In the Connection Information section, click Apply for Public IP Address in the upper-right corner.
  6. In the dialog box that appears, click OK.
    Warning
    • To ensure data security, add your application's IP addresses to the instance's IP whitelist. For more information, see Configure an IP whitelist.
    • Release Public IP AddressTo ensure data security, promptly release the public IP address when you no longer need it.

Release a public IP address

  1. Log on to the PolarDB-X 1.0 console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. In the left-side navigation pane, click Instances.

  4. Find the instance and click the instance ID to go to the Basic Information page.

  5. In the Connection Information section, click Release Public IP Address in the upper-right corner.
  6. In the dialog box that appears, click OK.

Apply for an IPv6 address

To access your PolarDB-X 1.0 instance using a public IPv6 address, apply for an IPv6 address for the instance.

Note
  • The instance must be in the China (Hangzhou) region.
  • The instance must run V5.3.2-1623342 or later.
  • You cannot apply for an IPv6 address for a read-only instance.
  • Currently, only public IPv6 addresses are supported.
  1. Log on to the PolarDB-X 1.0 console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. In the left-side navigation pane, click Instances.

  4. Find the instance and click the instance ID to go to the Basic Information page.

  5. In the Connection Information section, click Apply for IPv6 Address in the upper-right corner.
  6. In the dialog box that appears, click OK.
    Important: To avoid compatibility issues, upgrade your instance to the latest recommended version and run a full validation. During this process, do not perform operations such as creating databases or scaling out your instance. The process may cause brief connection interruptions and minor errors. We recommend that you perform this operation during off-peak hours. Because the IPv6 address is public, you must add your application's IP addresses to the instance's IP whitelist.
  7. After the IPv6 address is assigned, return to the Connection Information section and use the domain name listed for Public IP Address: to connect.
    The connection port is 3306.