Chapters0/41 ▾
- 1.Cloud Concepts: Benefits & Economics0/4
- 2.Cloud Concepts: Well-Architected & Migration0/5
- 3.Security: Shared Responsibility & Compliance0/4
- 4.Security: IAM & Access Management0/4
- 5.Security: Services & Resources0/4
- 6.Technology: Deployment & Global Infrastructure0/4
- 7.Technology: Compute & Networking0/4
- 8.Technology: Databases & Storage0/4
- 9.Technology: AI, Analytics & Other Services0/4
- AI and machine learning services: pre-trained services and SageMaker AI
- Analytics services: Glue, Athena, Redshift, EMR, OpenSearch, Kinesis and Amazon Quick
- Messaging and workflows: SQS, SNS, EventBridge, Step Functions, Amazon Connect and SES
- Developer tools, cloud desktops, AWS Amplify and AWS IoT Core
- 10.Billing, Pricing & Support0/4
- EC2 purchasing options: On-Demand, Spot, Savings Plans, Reserved Instances and dedicated hardware
- Data transfer costs, consolidated billing and cost allocation tags
- Cost management tools: Pricing Calculator, Cost Explorer, Budgets, Cost and Usage Reports and Compute Optimizer
- AWS Support plans, Trusted Advisor, AWS Health and where to get help
Chapter 7 · Lesson 3 of 4
Inside a VPC: subnets, gateways, security groups and network ACLs
1 min read
An Amazon VPC is your own isolated network in AWS, divided into subnets. A route table decides where traffic goes. A subnet is public when its route table sends internet-bound traffic to an internet gateway, which allows two-way communication with the internet.
A subnet is private when it has no such route. Servers in a private subnet that must download updates use a NAT gateway: they can start outbound connections, but the internet cannot start connections to them.
| Feature | Security group | Network ACL |
|---|---|---|
| Applies to | An instance | A subnet |
| State | Stateful: return traffic is allowed automatically | Stateless: return traffic needs its own rule |
| Rules | Allow only | Allow and deny |
Example: logs show attacks from one IP address, and the team wants to block it for every instance in a subnet. Only a network ACL fits, because it works at the subnet and can deny. The outline also lists Amazon Inspector under VPC security, but it scans for vulnerabilities; it does not filter traffic.
Check yourself
1. Which statement correctly compares security groups and network ACLs in a VPC?
2. In an Amazon VPC, what makes a subnet a public subnet rather than a private one?
Facts checked 2026-11-15 · Sources: AWS Certified Cloud Practitioner (CLF-C02) exam guide, Domain 3, Amazon EC2 Instance Types, Amazon VPC User Guide: Compare security groups and network ACLs
AWS Cloud Practitioner cheat sheet: every key fact on one page →