Changing a VPC

Scenarios

This section describes how to change a VPC.

Constraints

  • A VPC can be changed on a single NIC only.

    A VPC can be changed only on a running ECS. However, ECS network connections will be interrupted during the change process.

  • During the change process, do not perform operations on the ECS, including its EIP.
  • After the VPC is changed, the subnet, private IP address, and MAC address of the ECS will change.
  • After the VPC is changed, the source/destination check and virtual IP address must be configured again.
  • After the VPC is changed, you are required to reconfigure network-related application software and services, such as ELB, VPN, NAT, and DNS.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Elastic Cloud Server.
  3. Locate the row containing the target ECS. Click More in the Operation column and select Manage Network > Change VPC.

    The Change VPC page is displayed.

    Figure 1 Change VPC
  4. Select an available VPC and subnet from the drop-down lists, and set the private IP address and security group as prompted.

    You can select multiple security groups. In such a case, the access rules of all the selected security groups apply on the ECS.

    Using multiple security groups may deteriorate ECS network performance. You are suggested to select no more than five security groups.

  5. Click OK.