Modifying a VPC

Scenarios

Change the VPC name and CIDR block.

If the VPC CIDR block conflicts with the CIDR block of a VPN created in the VPC, you can modify its CIDR block.

Notes and Constraints

When modifying the VPC CIDR block:
  • The VPC CIDR block to be modified must be in the supported CIDR blocks: 10.0.0.0 – 10.255.255.255, 172.16.0.0 – 172.31.255.255, and 192.168.0.0 – 192.168.255.255
  • If the VPC has subnets, the VPC CIDR block to be modified must contain all subnet CIDR blocks.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, click Virtual Private Cloud.
  5. On the Virtual Private Cloud page, locate the row that contains the VPC to be modified and click Modify or Edit CIDR Block in the Operation column.
  6. On the displayed page, modify parameters as prompted. You can change the VPC CIDR block and VPC name. Figure 1 shows the screenshot.
    Figure 1 Modify VPC
  7. Click OK.