When the traffic to your business is low and only one CVM is available, you can apply for a public IP address and bind it with the CVM to gain access to the Internet.
When you have multiple CVMs that need to access the Internet simultaneously and you do not want the private network addresses of the CVMs to be exposed, you can use NAT Gateway. The NAT gateway provides the SNAT feature and allows multiple CVMs to access the Internet with public IP addresses on the NAT gateway. Moreover, without the configuration of the DNAT feature, external users cannot directly access the NAT gateway, ensuring security. When multiple public IP addresses exist on the NAT gateway, the NAT gateway automatically performs load balancing.
You can host services (such as website services) on a VPC-based CVM and use a public IP address to provide services to external users.
When you have many CVMs for deploying complex services and the Internet traffic is high, you can use the Cloud Load Balancer (CLB). The CLB can automatically distribute application access traffic among CVM instances in the cloud, enhancing fault tolerance for applications.
A subnet is associated with a availability zone. You can create subnets in different availability zones of one VPC in a region. By default, different subnets of the same VPC interconnect through the private network. You can deploy resources in subnets of different availability zones to achieve cross-availability zone disaster recovery.
You can deploy businesses across regions (for example, the 2-region-3-DC solution) to achieve cross-region disaster recovery.
VPC provides multiple connection modes, such as direct connect and VPN connection, which can connect your local IDCs with VPC instances in the cloud to easily create a hybrid cloud architecture. Using local IDCs ensures the security of your core data. You can expand resources (such as CVMs and TencentDB) in the cloud based on your business volume to reduce IT Ops costs.
When you have businesses deployed in multiple regions around the world and require cross-region interconnection, you can use products such as CCN and Direct Connect to enable global multi-point interconnection through single-point access.