A virtual private cloud (VPC) is a secure and isolated virtual network on the cloud where you can deploy and access cloud resources.
VPCs combine the security and controlability of traditional data centers with the elasticity and scalability of cloud computing. It allows you to configure and manage your network environment, including selecting IP address ranges, creating vSwitches, and setting up route tables and gateways.
Scenarios
Deploy applications in VPCs Deploy applications across zones in a VPC to provide highly available services. | Provide Internet-facing services Use Server Load Balancer (SLB) and NAT Gateway to centrally manage inbound and outbound traffic respectively for your applications. |
Connect businesses across regions Build cross-region networks using VPCs that are interconnected through Cloud Enterprise Network (CEN). | Create a hybrid cloud Connect VPC and on-premises network environments through Express Connect circuits. |
Benefits
Security isolation: Achieve secure isolation between VPCs using the tunnel technology.
Stable and reliable: Support multiple path detection and switching, with fast network failure recovery to ensure business stability.
Ease of use: Configure networks as needed with customizable IP address ranges, route tables, and security policies.
Seamless connectivity: Manage hybrid clouds with ease, enabling flexible networking across scenarios.
Components
A VPC typically includes a private CIDR block, at lease one vSwitch, and a route table.
Private CIDR block: A range of IP addresses, such as
192.168.0.0/16
,192.168.1.0/24
, allocated to VPCs and vSwitches. Proper planning is required to avoid conflicts and ensure scalability.vSwitch: Divides a VPC into one or more subnets where you can deploy cloud resources and allocate IP addresses for them. A vSwitch must reside in a single zone.
Route table: Controls traffic routing from VPC to destinations. A system route table is created by default, and system routes are automatically added.
Billing
Paid features:
Features in public preview (Currently free):
IP Address Manager (IPAM)
High-availability virtual IP address (HaVip)
Free features:
VPCs and vSwitches
Secondary CIDR blocks, reserved CIDR blocks
DNS hostnames, DHCP options sets
Route tables, prefix lists
Shared VPCs
ClassicLink, gateway endpoints
IPv4 gateways, network ACLs
While VPC itself is free, you are charged for cloud resources deployed within in it. For billing details, see the billing documents of cloud resources.
Get started with VPC
Beginner guide: Log on to the VPC console, click Create VPC to create a VPC and vSwitch and get ready for cloud service deployment.
Plan your network: Proper network planning helps avoid CIDR block conflicts and ensures network scalability. Improper planning can lead to high rebuilding costs later. Therefore, we recommend planning your network before creating a VPC.