StudyToCert

All certifications / Solutions Architect Associate / Lessons

AWS Certified Solutions Architect – Associate SAA-C03 · Domain 1: Design Secure Architectures

VPC security layers: security groups vs network ACLs, public and private subnets, NAT gateways, bastion hosts vs Session Manager

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

A VPC is your own private network inside AWS, cut into smaller sections called subnets. A subnet is 'public' only if its road map (route table) has a road to the internet's front door, called an internet gateway. Private subnets have no such road, so outsiders cannot start a conversation with them. If private servers need to reach out, for example to download updates, a NAT gateway acts like a mail room that sends letters out and passes replies back in, but never lets strangers walk in. Security groups are bouncers at each server's door who remember who left and let them back in. Network ACLs are guards at the subnet gate with a checklist who remember nothing. Session Manager lets admins open a command line on a server without opening any door at all.

Your phone buzzes at 2:10 a.m. It is Sam from the night shift at Riverbend Health: the patching job on the private app servers has failed for the third night in a row, and an overnight security scan has flagged port 22 open to the whole internet on a lonely instance called bastion-old. Sam also noticed that someone added an allow rule to a network ACL last week and the replies from the patch servers seem to vanish. You open the VPC console and see route tables, security groups, NACLs, a NAT gateway in one Availability Zone, and a jump box nobody wants to own. Which of these layers is actually broken, and which should simply be removed?

A virtual private cloud (VPC) is your own isolated network in an AWS Region, defined by an IPv4 CIDR (Classless Inter-Domain Routing) block such as 10.0.0.0/16. You divide it into subnets, and each subnet lives in exactly one Availability Zone (AZ). Security in a VPC comes in layers: where a subnet can route, which firewalls sit in front of each resource, and how administrators reach machines. The exam expects you to design all three so that only the load balancer faces the internet and everything else stays private.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Solutions Architect Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Solutions Architect Associate study plan