Updated on 2022-12-08 GMT+08:00

Creating a VPC

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. In the navigation pane on the left, click and choose Network > Virtual Private Cloud.
  4. Click Create VPC on the right of the page.
  5. On the Create VPC page, configure VPC parameters listed in Table 1.

    Table 1 VPC configuration parameters

    Item

    Parameter

    Description

    Example Value

    Basic Information

    Region

    A region is a geographical area where you can run your VPC service. Each region comprises one or more AZs and is completely isolated from other regions. Only AZs in the same region can communicate with one another through an internal network. You can use the region selector at the upper left of the main menu bar to change the region.

    CN-Hong Kong

    Parameter

    Specifies the VPC name.

    vpc-sap

    CIDR Block

    Specifies the Classless Inter-Domain Routing (CIDR) block for the VPC. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC), or a subset of the CIDR block for the VPC (for multiple subnets).

    The following CIDR blocks are supported:

    10.0.0.0/8-24

    172.16.0.0/12-24

    192.168.0.0/16-24

    Configure the CIDR block based on the subnet information provided in Network Planning.

    10.0.0.0/8

    Enterprise Project

    When creating a VPC, you can add the VPC to an enabled enterprise project.

    An enterprise project facilitates project-level management and grouping of cloud resources and users. The name of the default project is default.

    For details about creating and managing enterprise projects, see the Enterprise Management User Guide.

    SAP

    Tag

    Specifies the VPC tag, which consists of a key and value pair. You can create 10 tags for a VPC. This parameter is optional. Click Advanced Settings to configure it.

    For details about the tag naming rules, see VPC Tag Naming Rules.

    • Key: vpc_key1
    • Value: vpc-01

    Default Subnet

    AZ

    An AZ is a geographic location with independent power supply and network facilities in a region. AZs are physically isolated, and AZs in the same VPC are interconnected through an internal network.

    AZ1

    Name

    Specifies the subnet name.

    sap_Subnet

    CIDR Block

    Specifies the CIDR block for the subnet. This value must be within the VPC CIDR range. Configure the subnet CIDR block based on the information provided in Network Planning.

    10.0.3.0/24

    Advanced Settings

    Click Advanced Settings to set parameters such as Gateway and DNS Server Address.

    Default

    Gateway

    Specifies the address of the subnet gateway.

    10.0.0.1

    DNS Server Address

    The external DNS server address is used by default. If you need to change the DNS server address, ensure that the DNS server address you configured is available.

    N/A

    DHCP Lease Time

    Specifies the period during which a client can use an IP address automatically assigned by the DHCP server. After the lease time expires, a new IP address will be assigned to the client. The unit is day.

    365

    Tag

    Specifies the subnet tag, which consists of a key and value pair. You can add 10 tags for a subnet. This parameter is optional.

    For details about the tag naming rules, see VPC Tag Naming Rules.

    • Key: subnet_key1
    • Value: subnet-01

  6. Click Create Now.