SECURITY & GUARD Network/application protection

Network ACLs (NACLs)

Allows or denies inbound and outbound traffic at the subnet level, statelessly.

Official AWS Reference https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

You must explicitly deny an IP or CIDR for a whole subnet.

✕

When to Avoid

You want return traffic allowed automatically. Use a security group.

// EXAM TRAPS & SIGNAL KEYWORDS

stateful, instance-level, automatic return traffic

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html ↗

"A network ACL allows or denies specific inbound or outbound traffic at the subnet level."

  • Rules are numbered 1 to 32766 and evaluated lowest first. The first match applies and evaluation stops.
  • NACLs are stateless. Responses need matching outbound ephemeral-port rules.
  • Every subnet maps to exactly one NACL, defaulting to the VPC default NACL. No charge.

// NETWORK ACLS (NACLS) TAKEAWAYS

01

Role: Allows or denies inbound and outbound traffic at the subnet level, statelessly.

02

Choose: You must explicitly deny an IP or CIDR for a whole subnet.

03

Avoid: You want return traffic allowed automatically. Use a security group.

04

Trap: Watch for exam signals like stateful, instance-level, automatic return traffic.

05

Fact: Rules are numbered 1 to 32766 and evaluated lowest first. The first match applies and evaluation stops.

06

Fact: NACLs are stateless. Responses need matching outbound ephemeral-port rules.

07

Fact: Every subnet maps to exactly one NACL, defaulting to the VPC default NACL. No charge.