This topic describes how to create a Virtual Private Cloud (VPC). A VPC is a private network dedicated to your Alibaba Cloud account. You have full control over your VPC network. For example, you can specify CIDR blocks and configure route tables and network gateways for your VPC network. You can deploy Alibaba Cloud resources in your own VPC network, such as Elastic Compute Service (ECS) instances, ApsaraDB for RDS instances, and Server Load Balancer (SLB) instances.

Procedure

  1. Log on to the VPC console.
  2. On the top of the page, select a region to deploy your VPC network.
    Note The VPC network must be in the same region as the cloud resources that you want to deploy.
  3. On the VPC page, click Create VPC.
  4. In the Create VPC dialog box that appears, set the parameters listed in the following table and click OK. The following table describes the parameters.
    Parameter Description
    VPC
    Region The ID of the region where the VPC network is to be deloyed.
    Name Enter a name for the VPC network that you want to create.

    The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or Chinese character.

    IPv4 CIDR Block Select the primary IPv4 CIDR block for the VPC. Valid values:
    • Default CIDR Block: You can use one of the these standard IPv4 CIDR blocks: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8.
    • Custom CIDR Block: You can use 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, and their subnets as the primary IPv4 CIDR blocks of your VPC network. The CIDR block mask must be 8 to 24 bits in length. In this example, select 192.168.0.0/16. If you want to use a public CIDR block as the CIDR block of the VPC network, submit a ticket.
    Notice After you create a VPC network, you cannot change the primary IPv4 CIDR block. However, you can add a secondary IPv4 CIDR block to the VPC network. For more information, see Add a secondary IPv4 CIDR block.
    Description Enter a description for the VPC network.

    The description must be 2 to 256 characters in length and cannot start with http:// or https://.

    VSwitch
    Name Enter a name for the VSwitch that you want to create.

    The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or Chinese character.

    Zone The ID of the zone to which the VSwitch belongs. In a VPC network, VSwitches in different zones can communicate with each other.
    Zone Resource Displays the cloud instances that can be created in the specified zone.

    The supported cloud resources vary, depending on the zone and the time when you want to create cloud resources. The purchase page displays whether the cloud instances are available. Only ECS, RDS, and SLB instances can be queried on the purchase page.

    IPv4 CIDR Block Enter an IPv4 CIDR block for the VSwitch.
    The following limits apply to VSwitch CIDR blocks.
    • The CIDR block of a VSwitch must be a subset of the CIDR block of the VPC network to which the VSwitch belongs.

      For example, if the CIDR block of the VPC network is 192.168.0.0/16, the CIDR block of the VSwitch in the VPC network can be any CIDR block from 192.168.0.0/17 to 192.168.0.0/29.

    • The first and last three IP addresses in the VSwitch CIDR block are reserved.

      For example, if the VSwitch CIDR block is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.

    • If the VSwitch is required to communicate with VSwitches in other VPCs or with on-premises data centers, make sure that the CIDR blocks involved do not conflict with each other.
    Notice After you create a VSwitch, you cannot modify the CIDR block.
    Number of Available Private IPs Displays the number of available IP addresses.
    Description Enter a description for the VSwitch.

    The description must be 2 to 256 characters in length and cannot start with http:// or https://.