Creating a VPC
Scenarios
A VPC provides an isolated virtual network for ECSs. You can configure and manage the network as required.
You can create a VPC by following the procedure provided in this section. Then, create subnets, security groups, and assign EIPs by following the procedure provided in subsequent sections based on your actual network requirements.
Procedure
- Log in to the management console.
- Click in the upper left corner and choose Network > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- Click Create VPC.
- On the Create VPC page, set parameters as prompted.
A default subnet will be created together with a VPC and you can also click Add Subnet to create more subnets for the VPC.
Table 1 Parameter descriptions Category
Parameter
Description
Example Value
Basic Information
Region
Select the region nearest to you to ensure the lowest latency possible.
-
Basic Information
Name
The VPC name.
The name can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), hyphens (-), and periods (.). The name cannot contain spaces.
VPC-001
Basic Information
IPv4 CIDR Block
The CIDR block of 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 in the VPC).
The following CIDR blocks are supported:
- 10.0.0.0/8-24
- 172.16.0.0/12-24
- 192.168.0.0/16-24
192.168.0.0/16
Basic Information
Advanced Settings
Click the drop-down arrow to set advanced VPC parameters.
Retain the default settings.
Basic Information
Description
Supplementary information about the VPC. This parameter is optional.
The VPC description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).
N/A
Default Subnet
AZ
The AZ of a VPC subnet.
sa-fb-1
Default Subnet
Name
The subnet name.
The name can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), hyphens (-), and periods (.). The name cannot contain spaces.
Subnet-001
Default Subnet
IPv4 CIDR Block
The CIDR block for the subnet. This value must be within the VPC CIDR block.
192.168.0.0/24
Default Subnet
IPv6 CIDR Block
Specifies whether to set IPv6 CIDR Block to Enable.
After the IPv6 function is enabled, the system automatically assigns an IPv6 CIDR block to the created subnet. Currently, the IPv6 CIDR block cannot be customized. IPv6 cannot be disabled after the subnet is created.
-
Default Subnet
Associated Route Table
The default route table to which the subnet will be associated. You can change the route table to a custom route table on the Subnets page.
Default
Default Subnet
Advanced Settings
Click the drop-down arrow to set advanced settings for the subnet, including Gateway and DNS Server Address.
Retain the default settings.
Default Subnet
Gateway
The gateway address of the subnet.
192.168.0.1
Default Subnet
DNS Server Address
By default, two DNS server addresses are configured. You can change them as required. Multiple IP addresses must be separated using commas (,).
100.125.x.x
Default Subnet
Description
Supplementary information about the subnet. This parameter is optional.
The subnet description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).
N/A
- Click Create Now.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot