0Pricing
AWS Security Academy · Lesson

Layering Both for Defense in Depth

Combine the two firewalls to reinforce your network security.

Defense in Depth

Defense in depth means stacking independent controls so a failure or gap in one does not expose the workload. In a VPC, security groups and network ACLs are two such layers, joined by route tables, WAF, and Network Firewall to form overlapping barriers around your resources.

Complementary Strengths

Security groups give fine, per-resource, stateful control with allow-only rules. NACLs give coarse, subnet-wide, stateless control with both allow and deny. Using them together lets you set a broad subnet baseline while tuning each resource precisely.

All lessons in this course

  1. How Security Groups Filter Traffic
  2. How Network ACLs Filter Subnets
  3. Stateful versus Stateless Behavior
  4. Layering Both for Defense in Depth
← Back to AWS Security Academy