Updated on 2026-04-24 GMT+08:00

Viewing and Changing a Floating IP Address

Scenarios

After migrating data from on-premises or other clouds to RDS, you need to change IP addresses to reduce application changes and migration difficulties. RDS allows you to change the floating IP address of your instance to reduce migration costs.

Constraints

  • After a floating IP address is changed, the domain name needs to be resolved again. This process takes a few minutes and may interrupt database connections. To minimize the impact, change floating IP addresses during off-peak hours.
  • Only floating IPv4 addresses can be changed.

Procedure

When you create a DB instance, the system configures a floating IP address based on the subnet you specify.

You can change the floating IP address of an existing DB 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 and choose Database > Relational Database Service.
  4. On the Instances page, click the DB instance name to go to the Basic Information page.
  5. On the Basic Information page, find Floating IP Address and click Change.
  6. In the displayed dialog box, check the number of in-use IP addresses. If the in-use IP addresses are less than 254, there are unused floating IP addresses.
  7. Select an available IP address and click OK.

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