edit-icon download-icon

Create a VPC

Last Updated: Dec 05, 2017

Prerequisite

Before creating a VPC, see Plan and design VPC network to design your private network.

Procedure

  1. Log on to the VPC console.

  2. In the left-side navigation pane, click VPC.

  3. Choose the region where the VPC is located.

  4. Click Create VPC in the upper-right corner.

  5. In the dialog box, provide the following information:

    ConfigurationDescription
    VPC NameEnter the name of the VPC.
    Description(optional)Add a description for the VPC.
    CIDR block

    Specify the IP address range for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block. Note the following when selecting a CIDR block:

    • Use the standard private CIDR blocks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/1) or their subsets as the IP address ranges.

      Note: If you want to use the subset of the provided CIDR blocks as the IP address range, use the API to create a VPC. For more information, see Create a VPC.

    • If you have multiple VPCs, or you want to build a hybrid cloud consisting of multiple VPCs and on-premises IDCs, we recommend that you use the subset of the provided CIDR blocks, and ensure that the network mask is no larger than /16.
    • If you have one VPC and it does not need to communicate with the on-premises data center, you can use any of the provided CIDR blocks.
    • Consider the use of the classic network. If you plan to connect the cloud product instances in the classic network with a VPC, we recommend that you do not use the CIDR block 10.0.0.0/8, which is also used as CIDR block by the classic network.
    • Note: If you have special requirements on the IP address range, open a ticket or contact your customer manager.

  6. Click Create VPC.

Create a VSwitch

A VSwitch is a basic network device in a VPC network used to connect the cloud product instances in the VPC. You can further segment your virtual networks into subnets by adding VSwitches. For more information, see Create a VSwitch.

Manage a Route Table

A VRouter and a route table will be created after the VPC is created. You can add custom route entries in the route table, see Manage a route table.

Delete a VPC

On the VPC list page, locate the target VPC and click Delete.

Note: Before deleting the VPC, make sure you have released or transferred all instances in the VSwitches of the VPC and VSwitches have been deleted.

Modify the name of a VPC

On the VPC list page, hover the mouse pointer on the target VPC ID. A pencil icon appears. Click the pencil icon to modify the VPC name.

Thank you! We've received your feedback.