Help Center/ GaussDB(for MySQL)/ User Guide/ Connection Management/ Configuring and Changing a Private IP Address
Updated on 2023-10-18 GMT+08:00

Configuring and Changing a Private IP Address

Scenarios

You can plan and change private IP addresses after migrating on-premises databases or other cloud databases to GaussDB(for MySQL).

Constraints

After a private IP address is changed, the domain name needs to be resolved again. This operation takes several minutes and may interrupt database connections. Therefore, you are advised to change a private IP address during off-peak hours.

Configuring the Private IP Address of an Instance

When you buy an instance, select a VPC and subnet on the Buy DB Instance page. Then, a private IP address will be automatically assigned to your instance. You can also enter a private IP address.

Procedure

You can change the private IP address of an existing instance.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page, choose Database > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the Network Information area, click next to the Private IP Address field.
  6. In the displayed dialog box, enter a new private IP address and click OK.

    An in-use IP address cannot be used as the new private IP address of the instance.