IT lexicon › Networking › Security Group

Security Group

Networking På svenska → Updated: 2026-05-23

Stateful firewall at the instance level in AWS — allow-only rules for inbound/outbound traffic. Attached to ENIs (EC2, RDS, Lambda, etc.).

"Stateful" = return traffic is allowed automatically (request out ⇒ response in is OK without an explicit rule). Default deny-all inbound, allow-all outbound. Can reference other security groups as source ("allow port 5432 from app-tier-sg") — powerful for micro-segmentation. Competitor on the same stack: NACL (subnet-level, stateless, allow/deny). Best practice: security groups as the primary firewall, NACLs as the "big hammer" for subnet isolation.

← Back to the lexicon