AWS CCP Notes

Search

Search IconIcon to open search

09-03 Security Groups vs NACLs

Last updated Aug 17, 2023 Edit Source

500

# Network Access Control Lists (NACLs)

#aws-resource

# Security Groups

#aws-resource

Security groupNetwork ACL
Operates at the instance levelOperates at the subnet level
Applies to an instance only if it is associated with the instanceApplies to all instances deployed in the associated subnet (providing an additional layer of defense if security group rules are too permissive)
Supports allow rules onlySupports allow rules and deny rules
Evaluates all rules before deciding whether to allow trafficEvaluates rules in order, starting with the lowest numbered rule, when deciding whether to allow traffic
Stateful: Return traffic is allowed, regardless of the rulesStateless: Return traffic must be explicitly allowed by the rules

# Reference

Security groups for your VPC