Modifying a VPC¶
Scenarios¶
You can modify the following information about a VPC:
Modifying the CIDR Block of a VPC
Note
If the secondary IPv4 CIDR block function is available in a region, the CIDR block of a VPC in this region cannot be modified through the console. You can call an API to modify VPC CIDR block by referring to Updating VPC Information.
Modifying the Name and Description of a VPC¶
Log in to the management console.
Click in the upper left corner and select the desired region and project.
Click in the upper left corner and choose Network > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
Modify the name and description of a VPC using either of the following methods:
Method 1:
In the VPC list, click on the right of the VPC name.
Enter the VPC name and click OK.
Method 2:
In the VPC list, click the VPC name with a hyperlink.
The Summary page is displayed.
Click on the right of the VPC name or description, enter the information, and click .
Modifying the CIDR Block of a VPC¶
Log in to the management console.
Click in the upper left corner and select the desired region and project.
Click in the upper left corner and choose Network > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
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.
Click Add Secondary IPv4 CIDR Block.
Enter the secondary CIDR block and click OK.