VPC
What is a VPC?

Quick Start
You can create a VPC and an ECS to set up an IPv4 private network on the cloud and bind an EIP to the ECS to allow the ECS to access the Internet. Figure 2 shows the architecture of an IPv4 network. In this network, security group sg-A protects ecs-A01 in it.
- Create a VPC with an IPv4 CIDR block and create a subnet in the VPC.
- VPC IPv4 CIDR block: 192.168.0.0/16
- Subnet IPv4 CIDR block: 192.168.0.0/24
- Buy an ECS in the subnet you have created and configure security group rules for the ECS.
- Buy an EIP and bind it to the ECS so that the ECS can access the Internet.
- To test ECS connectivity, you can:
- Log in to the ECS from the local PC.
- Access the Internet from the ECS using an EIP.
You can create a VPC with an IPv4 and IPv6 CIDR block and create an ECS with both IPv4 and IPv6 addresses in the VPC. You can bind an EIP and add the IPv6 address of the ECS to a shared bandwidth to enable the ECS to communicate with the Internet over both IPv4 and IPv6 networks. Figure 3 shows the architecture of an IPv4/IPv6 dual-stack network. In this network, security group sg-A protects ecs-A01 in it.
- Create a VPC with an IPv4 CIDR block and create a subnet with IPv6 enabled in the VPC.
- VPC IPv4 CIDR block: 192.168.0.0/16
- Subnet IPv4 CIDR block: 192.168.0.0/24
- Subnet IPv6 CIDR block: In this example, 2407:c080:1200:2075::/64 is assigned.
- Buy an ECS in the subnet you have created and configure security group rules for the ECS.
- Buy an EIP and bind it to the ECS so that the ECS can communicate with the Internet using an IPv4 address.
- Buy a shared bandwidth and add the IPv6 address of the ECS to the shared bandwidth so that the ECS can communicate with Internet using an IPv6 address.
- To test ECS connectivity, you can:
- Log in to the ECS from the local PC through the IPv4 EIP or IPv6 address.
- Verify whether the ECS can communicate with the Internet over IPv4 and IPv6 networks.
FAQ
Learn More
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