Accessing Public Network
Single CVM Accessing the Public Network
When your business volume is small, and you only have a single CVM, you can apply for a public network IP and bind it to the CVM to enable the feature of accessing the public network.
Multiple CVMs Securely Accessing the Public Network
When you have multiple CVMs that need simultaneous access to the public network and don't want to expose the private IP addresses of the CVMs, you can use a NAT gateway. NAT gateway has SNAT function, which allows multiple CVMs to access the public network through the public network IP address of the NAT gateway. When DNAT is not configured, external users are unable to directly access the NAT gateway, ensuring security. When there are multiple public network IPs on a NAT gateway, the NAT gateway automatically performs CLB.
Providing Services to the Public Network
Single CVM Providing Services
You can host services such as websites on CVMs in the VPC and use a public network IP to provide services externally.
Multiple CVMs CLB
When you have many servers to deploy complex businesses and face high public network traffic, using CLB is advisable. CLB can automatically allocate application traffic among multiple CVM instances in the cloud, allowing you to achieve a higher level of application fault tolerance.
Cross-VPC Service Sharing
When you need to share application services deployed in a VPC with other VPCs in different accounts, you can use Private Link to achieve unidirectional cross-VPC access for intranet services. Compared to public network services, this can save public network bandwidth, offer higher security, and greatly simplify the network architecture.
Deploy Hybrid Cloud
Connecting to Local Data Centers
VPC offers various methods, such as dedicated access and VPN connections, which can link your local data center with cloud-based VPC, easily constructing a hybrid cloud architecture. Using a local data center can ensure the security of your core data. You can also scale the number of cloud resources (such as CVM and CDB) based on the volume of business, thereby reducing IT Ops costs.