concept

Security groups, ACLs and reachability

Security groups are interface-associated and stateful for tracked connections. Subnet ACLs evaluate rules in number order and require separate return permission. Neither replaces IAM or application controls.

Formal Syntax & Structure

aws syntaxaws
SG: allow; ACL: numbered allow/deny

Working Example

Example Snippetaws
request TCP dst 8443; reply TCP dst 51000
AWS Reference