What is a VPC?
A VPC is your own private network inside AWS. You decide what's reachable from the internet and what isn't.
An Amazon Virtual Private Cloud (VPC) is a private, isolated network in an AWS Region. Your EC2 instances, databases, load balancers, and containers live inside it. You decide the IP address ranges, how traffic flows, and what can reach the internet.
A VPC is a gated office campus. The campus has buildings (subnets). Some face the street with a public entrance (public subnets), and others are behind them with no street door at all (private subnets). Security guards at each door (security groups) check badges.
You already have one
Every account comes with a default VPC in each Region, which is why the EC2 tutorial worked without any networking setup. It's fine for learning. For real applications, create your own VPC with private subnets.
Why it matters
- Security: databases and internal services can live where the internet can't reach them.
- Control: you choose exactly which traffic flows where.
- Connectivity: link to your office network (VPN or Direct Connect) or to other VPCs.
Key takeaways
- A VPC is your private, isolated network inside one AWS Region.
- Every account has a default VPC per Region, fine for learning.
- Real apps use custom VPCs so sensitive resources stay private.
Check your understanding
Pick an answer to see the explanation.
1. Why did your first EC2 instance launch without any network setup?