Virtual private clouds
Your own private, isolated network inside the cloud.
1 technology on this page ↓How it works
A virtual private cloud is a software-defined network with an IP range you choose, like 10.0.0.0/16, split into subnets. Public subnets route to the internet; private subnets have no inbound path from it. Route tables, security groups and network ACLs decide what may talk to what, and a NAT gateway lets private machines make outbound calls without being reachable.
A gated campus. The lobby faces the street, the labs are deep inside behind badge-only doors, and deliveries leave through a one-way loading dock.
Reach for it when
- Every production deployment: databases and internal services stay off the internet
- Connecting the cloud to an office or data center over VPN
- Separating environments or teams
Think twice when
- Treating it as your whole security story; you still need IAM, patching and encryption
- Overlapping IP ranges between networks you may later want to connect
A real example
Only the load balancer sits in a public subnet. The app servers and database live in private subnets, and the database accepts port 5432 only from the app servers’ security group. Apps download packages through a NAT gateway.
Technologies
Specific products, and what each does differently.
Amazon VPC | Managed service on AWS | Amazon Web Services | Proprietary | 2026-10-05 |
What each provider calls it
- AWS
- VPC
- Google Cloud
- VPC network
- Azure
- Virtual Network (VNet)
- Open source & others
- WireGuard, Tailscale, Calico
In code · ts
// AWS CDK: one VPC, three tiers of subnets
const vpc = new ec2.Vpc(this, "Main", {
ipAddresses: ec2.IpAddresses.cidr("10.0.0.0/16"),
maxAzs: 2,
subnetConfiguration: [
{ name: "public", subnetType: ec2.SubnetType.PUBLIC },
{ name: "app", subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },
{ name: "db", subnetType: ec2.SubnetType.PRIVATE_ISOLATED },
],
});Often confused with
Where it came from2006–2023
In a company’s own data center, isolation came from wiring and switches: separate cables, then VLANs that split one switch fabric into separate networks, plus firewalls at the edges and VPNs back to the office. The first public clouds threw that away. When EC2 launched in 2006, every customer’s machines shared one flat network, protected only by per-instance security groups. Enterprises wanted the cloud’s flexibility but not that exposure, and they needed cloud machines to fit into their existing address plans and reach their data centers.
Amazon introduced the Virtual Private Cloud in August 2009: a logically isolated network with an IP range the customer picks, split into subnets and joined to the corporate network by an IPsec VPN. Making that work for many customers on shared hardware needed network virtualization, where software maps each tenant’s virtual network onto the physical one. Nicira, founded in 2007 by Martin Casado, Nick McKeown and Scott Shenker, built a business on the idea, and VMware bought it for about $1.26 billion in 2012.
The private network then became the default. AWS gave every new account a VPC from 2013 and shut down its old shared network in 2023, and Google Cloud and Azure offer the same model as VPC networks and VNets.
Why it’s built this way
- An overlay on top of the physical network
- Tenants choose their own addresses, which often overlap, and VLANs top out at 4,094 IDs. Wrapping each tenant’s packets in an outer header (as VXLAN does, with 16 million segment IDs) lets one physical network carry them all.
- Customers choose their own private IP ranges
- A cloud network has to look like an extension of the corporate one, reachable over VPN without renumbering anything.
- Public and private are just routing
- Copying the data center model of subnets, route tables, gateways and firewalls let network teams reuse what they already knew, instead of learning a new security model.
Timeline
- 2006
EC2 launches with all customers on one shared, flat network
- 2007
Nicira founded to pursue software-defined network virtualization
- 2009
Amazon VPC introduced: isolated networks linked to data centers by VPN
- 2012
VMware buys Nicira for about $1.26 billion
- 2014
VXLAN overlay protocol documented in RFC 7348
- 2023
AWS retires EC2-Classic, its last shared flat network
- Werner Vogels: Seamlessly extending the data center, introducing Amazon VPC (2009)
- AWS News Blog: Virtual Private Clouds for Everyone (2013)
- Werner Vogels: Farewell EC2-Classic, it’s been swell (2023)
- RFC 7348: Virtual eXtensible Local Area Network (VXLAN) (2014)
- Nicira: About us, naming founders Nick McKeown, Scott Shenker and Martin Casado (2012) · archived copy, original
- VMware press release: VMware to acquire Nicira (July 2012) · archived copy, original
- Wikipedia: Nicira (founding year)
Sources13
- AWS docs: How Amazon VPC works
- AWS docs: Subnets for your VPC (public and private subnets)
- AWS docs: Infrastructure security (security groups vs network ACLs)
- AWS docs: Security group referencing
- AWS docs: NAT gateways
- AWS docs: VPC peering and overlapping CIDR blocks
- AWS CDK docs: aws-ec2 module (Vpc, IpAddresses.cidr, SubnetType)
- Google Cloud docs: VPC networks
- Microsoft Learn: What is Azure Virtual Network?
- Microsoft Learn: Azure Virtual Network FAQ (VNet)
- WireGuard: fast, modern, secure VPN tunnel
- Tailscale docs: What is Tailscale?
- Calico docs: About Calico
