VPC subnets
Divides a VPC IP range into Availability Zone-scoped networks where resources are placed.
Official AWS Reference https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html ↗// DECISION LOGIC MATRIX
When to Choose
You need public and private tiers, Multi-AZ placement, or routing differences for groups of resources.
When to Avoid
You need a separate Region-level network boundary. Use another VPC or Region design instead.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"A subnet is a range of IP addresses in your VPC. You launch AWS resources into a specified subnet."
- Each subnet resides entirely within one Availability Zone.
- A public subnet has a route to an internet gateway; a private subnet does not.
- Subnets use route table associations to decide where traffic is directed.
// VPC SUBNETS TAKEAWAYS
Role: Divides a VPC IP range into Availability Zone-scoped networks where resources are placed.
Choose: You need public and private tiers, Multi-AZ placement, or routing differences for groups of resources.
Avoid: You need a separate Region-level network boundary. Use another VPC or Region design instead.
Trap: Watch for exam signals like public subnet, private subnet, route table association, Availability Zone, NAT gateway placement.
Fact: Each subnet resides entirely within one Availability Zone.
Fact: A public subnet has a route to an internet gateway; a private subnet does not.
Fact: Subnets use route table associations to decide where traffic is directed.
// PRACTICE QUESTIONS
Ready to test your VPC subnets knowledge?
4 practice questions cover VPC subnets.