Updated on 2024-04-11 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 choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. 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 the VPC name and click OK.
    • Method 2:
      1. In the VPC list, click the VPC name with a hyperlink.

        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 choose Network > 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.