Skill 2.3.2

Specifying inbound and outbound network flows by using security group rules and network ACL rules

Key Concepts

Security groups (stateful) reference other security groups to express tier-to-tier rules and restrict outbound traffic where needed. Network ACLs (stateless, numbered rules) block known bad ranges or isolate subnets, remembering ephemeral port ranges for return traffic.

For egress control, route outbound traffic through AWS Network Firewall with domain allow-lists, use Route 53 Resolver DNS Firewall, and manage security group policies across accounts with Firewall Manager.