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

Changing a Floating IP Address

Scenarios

After data is migrated from on-premises systems or other clouds to RDS, application IP configurations often require updates. RDS simplifies this process. It allows you to change floating IP addresses of instances, reducing both migration complexity and cost.

Constraints

  • Changing the floating IP address will interrupt database connections. Perform this operation when workloads are stopped.
  • Only floating IPv4 addresses can be changed.

Procedure

When you buy a DB instance, select a VPC and subnet on the Buy DB Instance page. Then, a floating IP address will be automatically assigned to your instance.

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, click Configure next to the Floating IP Address field.
  6. 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.