Course contentsShow
← Cloud and Infrastructure
Lesson 206 of 2,9894. Cloud Networking BasicsFree lesson

Network ACL Fundamentals

Explore network ACLs as stateless firewalls that filter traffic at the subnet boundary level.

Network ACL Fundamentals

What you'll learn: How network ACLs act as stateless firewalls that protect entire subnets in your virtual network.

What is a Network ACL?

A Network ACL (Access Control List) is a stateless firewall that operates at the subnet boundary. Think of it as a security checkpoint at the border of a neighborhood—every car (packet) entering or leaving must pass inspection, regardless of whether it's been through before.

Unlike security groups that protect individual resources, a Network ACL protects an entire subnet. Every piece of network traffic crossing into or out of that subnet must pass through the ACL's rules.

Stateless vs Stateful

The key characteristic of Network ACLs is that they're stateless. This means:

  • Outbound traffic doesn't automatically allow return traffic back in
  • You must explicitly create rules for both directions
  • Each packet is evaluated independently against the rules

This contrasts with security groups (which you've learned are stateful—they automatically allow return traffic).

How Network ACLs Work

Network ACLs contain numbered rules evaluated in order from lowest to highest. Each rule specifies:

  • Rule number (priority)
  • Protocol (TCP, UDP, ICMP, etc.)
  • Source or destination IP range
  • Port range
  • Allow or Deny action

When traffic matches a rule, that action is taken immediately—no further rules are checked.

Key Takeaway: Network ACLs are stateless, subnet-level firewalls that require explicit rules for both inbound and outbound traffic, providing an additional security layer beyond security groups.