Glossary

    Network ACL (NACL)

    Network Security

    A Network Access Control List (NACL) is a subnet-level firewall in a VPC. Unlike security groups, NACLs are stateless (you must create separate rules for inbound and outbound) and support both allow and deny rules.

    Security Groups vs NACLs

    • Security groups are stateful, NACLs are stateless
    • Security groups have allow-only rules, NACLs have allow and deny
    • Security groups operate at the instance level, NACLs at the subnet level
    • Security groups evaluate all rules, NACLs evaluate rules in number order (first match wins)

    Best practice: use security groups as the primary firewall and NACLs as an additional defense layer for subnet-level blocking.

    Related AWS Services

    Toc Consulting: AWS Security & Cloud Architecture

    Securing your AWS estate?

    Our team helps engineering teams secure and architect AWS the right way: assessment in week one, a prioritized action plan in week two.