After you create a VPC-type ECS instance, you can change the private IP address of
the instance directly or by changing the VSwitch of the instance.
Prerequisites
No secondary private IP addresses are configured for elastic network interfaces (ENIs)
of the instance.
Procedure
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- Find the instance for which you want to modify the private IP address and choose in the Actions column.
- After the instance is stopped, click the instance ID.
- In the Configuration Information section, choose .
- In the Modify Private IP Address dialog box, modify the parameters and click Modify.
- If you need to change the VSwitch, make sure that the selected VSwitch resides within
the same zone as the instance.
- If you do not need to change the VSwitch, modify the private IP address.

- Go back to the Instances page. Find the instance and choose in the Actions column.
Note The new private IP address takes effect after the ECS instance is started.