AWS Certified CloudOps Engineer - Associate

Security Groups and Network ACLs

Two firewalls guard every packet in a VPC, and they disagree about almost everything: where they sit, whether they can deny, how their rules are read, and whether replies come back for free. This lesson makes the boundary between them sharp enough to answer a scenario question in one pass.

Intermediate 30 minutes 6 Learning Objectives
  1. Contrast security groups and network ACLs across placement, rule types, evaluation order, and statefulness
  2. Explain why a stateless network ACL needs an ephemeral port rule and calculate the range for a given client
  3. Predict the default behavior of a new security group, the default security group, a default network ACL, and a custom network ACL
  4. Use security group referencing correctly and identify the case where it silently fails
  5. Diagnose why removing a security group rule does not always drop an existing connection
  6. Choose the correct control for a scenario, including cases where only one of the 2 can express the requirement