After creating a VPC-type ECS instance, you can change the private IP address of the instance or the private IP address of the VSwitch for the ECS instance.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Find the target disk and choose More > Instance Status > Stop in the Actions column.
  5. After the instance is stopped, click the instance ID.
  6. In the Configuration Information section, choose More > Modify Private IP Address.
  7. In the Modify Private IP Address dialog box that appears, modify the parameters and click Modify.
    • If you want to change the VSwitch, make sure that the selected VSwitch resides within the same zone as the instance.
    • If you do not want to change the VSwitch, modify the private IP address.
    Modify Private IP Address
  8. Go back to the Instances page. Find the target disk and choose More > Instance Status > Start in the Actions column.
    The new private IP address will take effect after the ECS instance has been restarted.