As shown in the figure below, in this exercise, you will create a VPC and a subnet, and deploy a CVM that can be connected to the Internet to your subnet. Finally, you need to filter the inbound and outbound traffic of the CVM through security group to guarantee the security of the communication of CVM. The deployed CVM can communicate with the Internet, and you can access your CVM from a local computer. In a real application environment, you can use this scenario to create a Web server for public use, for example, blog hosting.
You need to complete the following steps:
Step 1: Create a VPC and initialize subnets and routing tables
Step 3: Create a routing table to associate with a subnet
Step 4: Add a CVM to the subnet
Step 5: Bind an elastic IP to the CVM for accessing the public network
(Optional) Step 6: Create a security group for network traffic control