Updated on 2024-10-25 GMT+08:00

Modifying a VPC

Scenarios

You can modify the following information about a VPC:

Modifying the Name and Description of a VPC

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  4. Modify the name and description of a VPC using either of the following methods:
    • Method 1:
      1. In the VPC list, click on the right of the VPC name.
      2. Enter a VPC name and click OK.
    • Method 2:
      1. In the VPC list, locate the target VPC and click its name.

        The Summary page is displayed.

      2. Click on the right of the VPC name or description, enter the information, and click .

Modifying the CIDR Block of a VPC

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  1. In the VPC list, locate the row that contains the VPC and click Edit CIDR Block in the Operation column.

    The Edit CIDR Block dialog box is displayed.

  2. Modify the VPC CIDR block as prompted.

    A VPC CIDR block must be from 10.0.0.0/8-24, 172.16.0.0/12-24, or 192.168.0.0/16-24.

    • If a VPC has no subnets, you can change both its network address and subnet mask.
      Figure 1 Modifying network address and subnet mask
    • If a VPC has subnets, you only can change its subnet mask.
      Figure 2 Modifying subnet mask
  3. Click OK.