Change the private IP of an ECS instance

Last Updated: Aug 03, 2017

After creating a VPC ECS instance, you can change the private IP address and also can change the VSwitch of the ECS instance.

Procedure

  1. Log on to the ECS console.

  2. On the left-side navigation pane, click Instances.

  3. Click a region and then click the ID of the target ECS instance.

  4. On the Instance Details page, click Stop on the upper-right corner.

  5. In the Configuration Information panel, click More > Modify Private IP Address.

  6. In Modify Private IP Address dialog, modify the private IP by either of the following ways, and then click Modify.

    • VSwitch: Select a new VSwitch for the ECS instance from the list.

      Because each VSwitch in a VPC has a unique CIDR block, the ECS instance's private IP address will be automatically changed along with the change of the VSwitch.

    • Private IP Address: Enter the new IP address if you do not want to change the VSwitch of the ECS instance.

  7. Restart the ECS instance.

Thank you! We've received your feedback.