1.A VPC is your own isolated virtual network
A VPC is a private network you define inside AWS, isolated from every other customer's VPC by default. You choose its IP range, then everything else — subnets, routing, gateways — is built inside that boundary.
Key features
- A VPC is scoped to one Region, spanning all its Availability Zones
- You specify the VPC's IPv4 CIDR range (and optionally an IPv6 range) at creation
- An account gets a default VPC per Region, pre-configured with public subnets and an internet gateway
- A custom (nondefault) VPC starts with nothing but the IP range — no subnets, no gateway
- Isolation is the default: nothing outside the VPC can reach in unless you explicitly allow it
- VPC — 10.0.0.0/16
- Public subnet — has a path to the internet
- Private subnet — no direct internet path
- Route table — decides where traffic goes
Command
aws ec2 create-vpc --cidr-block 10.0.0.0/16A VPC is an isolated IP range you control end to end — a default VPC comes pre-wired for internet access, a custom VPC starts as an empty boundary you build up piece by piece.