Create a VPC and VSwitch

Last Updated: Sep 06, 2017

Prerequisite

  • You have an Alibaba Cloud account.

  • Before creating a VPC, refer to Plan and design VPC 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 created.

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

  5. In the pop-up dialog, enter a VPC name and select the IP address range for the VPC in the form of a Classless Inter-Domain Routing block.

    Use the one of the following standard CIDR blocks as the IP address range. The CIDR block cannot be modified after you create the VPC. For more details, refer to Create a VPC.

    • 10.0.0.0/8(10.0.0.0 - 10.255.255.255)

    • 172.16.0.0/12(172.16.0.0 - 172.31.255.255)

    • 192.168.0.0/16(192.168.0.0 - 192.168.255.255)

      VPC

  6. Click Create VPC.

    A VPC ID is generated after the VPC is created, and a VRouter is created by the system for the VPC.

    Created VPC

  7. Click Next Step to create a VSwitch.

  8. In the Create VSwitch tab, provide the following information and click Create VSwitch.

    • Name: Enter a name for the VSwitch.

    • Zone: Select a zone for the VSwitch.

    • CIDR block: Specify the IP address range of the VSwitch in the form of a Classless Inter-Domain Routing block.

      The allowed block size for a VSwitch is between a /16 netmask and /29 netmask, and the CIDR block of the VSwitch can be the same as that of the VPC that it belongs to, or the subset of the VPC CIDR block.

      Note: If the CIDR block of the VSwitch is the same as that of the VPC, you can only create one VSwitch.

      Create a VSwitch

  9. Click Done to close the dialog.

Thank you! We've received your feedback.