Perform this task to view detailed VPC information, including the VPC state, IP CIDR, number of private networks, external gateway name, SNAT on/off status, firewall name, private domain name, external subnet name and gateway, organization, and description. This page provides also External Gateways, Private Networks, and Operation Logs tabs for you to view related information.
To view detailed VPC information:
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click the name of the target VPC.
View detailed information about the VPC.
To view the external gateway list, private network list, and operation log list, click the External Gateways, Private Networks, and Operation Logs tabs, respectively.
If the current VPC network segment cannot meet the needs, you can add subnets to the VPC network. The added subnets are displayed as supplemented subnets on the VPC list page and VPC detailed information page. You can create a private network and deploy services on this subnet.
Only an IPv4 subnet can be added to the VPC network.
You can only add subnets from any of following network segments: 10.0.0.0/8 to 24, 172.16.0.0/12 to 24, 192.168.0.0/16 to 24. Make sure the IPs on the subnets have not been allocated.
A maximum of five subnets can be added to a VPC network.
You cannot edit a subnet added to the VPC network. To delete an added subnet, make sure no resources such as elastic cloud hosts have been allocated to it.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC, and then select Expand.
Enter the subnets, and then click Add.
Click OK.
You cannot delete an added subnet to which resources have been allocated. To delete it, first release the IP addresses used or reserved for the subnet.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC, and then select Expand.
Click the Delete icon to the right of the target subnet to delete it.
Click OK.
You can perform this task to edit the name and description of a VPC.
To edit a VPC:
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click the name of the target VPC.
Click Edit in the upper right corner of the page that opens.
Edit the parameters.
To edit the VPC name, click the name box. After you enable IPv6, configure an IPv6 CIDR.
Click OK.
You cannot directly delete VPCs configured with private networks. To delete such a VPC, delete its private networks first. |
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Perform either of the following tasks:
To delete a single VPC, click Delete for the target VPC.
To delete multiple VPCs, select the VPCs and then click Delete.
Click OK.
For cloud hosts in a VPC to access the Internet, set an external gateway for the VPC.
To set an external gateway:
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and then click Set External Gateway.
Select an elastic network and its subnet and specify an elastic IP.
The system selects an unused IP address as the external gateway address if you do not specify an IP.
You can set a priority for the gateway. The greater the value, the higher the priority. If only one gateway is specified, the priority setting does not take effect.
Click OK.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and then click Detach External Gateway.
Click OK.
You can attach a firewall to a VPC to safeguard communication between cloud hosts or between cloud hosts and the Internet.
To attach a firewall to a VPC:
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and click Attach to Firewall.
Click Attach to Firewall for the target firewall.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and click Detach from Firewall.
Click OK.
Perform this task to connect the VPC to an external elastic subnet to enable communication between the VPC and the subnet.
For the VPC to connect to a subnet of an elastic network, make sure the egress of the elastic network is named as "operating_mode=EXCLUSIVE". An elastic network with this egress name does not support the multi-egress setting, suitable for binding to a VPC (or a classic network router).
During network planning, create an elastic network egress and name it as "operating_mode=EXCLUSIVE". For more information, see the elastic network egress creation procedure.
Create an elastic network and specify "operating_mode=EXCLUSIVE" as its egress. For more information, see the elastic network creation procedure.
Create a subnet on the newly created elastic network and use "operating_mode=EXCLUSIVE" as the default egress of the subnet. For more information, see the subnet creation procedure. This subnet can connect to the VPC (or the classic network router).
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and then click Connect to External Subnet.
Select the target elastic subnet and then click Connect in the Actions column.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and then click Disconnect from the External Subnet.
Select the target elastic subnet and then click Disconnect in the Actions column.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and click Edit Gateway Priority.
Edit the gateway priority. The higher the value, the greater the priority. You can set the same priority for different gateways.
Click OK.
Expand SNAT IP addresses in a VPC. If an external gateway is not set, this feature will be grayed out, and a prompt to set an external gateway will be displayed.
On the top navigation bar, click Cloud Services, and then select VPCs from the Network menu.
Click More in the Actions column for the target VPC and click Expand.
Enter SNAT IP address. This parameter is not mandatory and only supports IPv4 addresses. The IP addresses must be within the subnet address pool of the external gateway. Separate multiple IP addresses with line breaks.