Security · AWS SERVICE CHEATSHEET

AWS Network Firewall (NETWORK-FIREWALL)

Deploys bump-in-the-wire inspection endpoints inside dedicated firewall subnets to enforce stateful 5-tuple rules, Suricata IPS patterns, and outbound FQDN domain filtering for VPC ingress, egress, and east-west transit.

Open Interactive NETWORK-FIREWALL Sandbox → Simulate in Architecture Studio

AWS Container Placement

SUBNET

Summary

Managed stateful network inspection and intrusion detection/prevention (IDS/IPS) engine powered by open-source Suricata across Layers 3-7.

When to Use (SAA-C03)

Use for centralized egress domain allowlisting or compliance-mandated deep packet inspection across VPCs.

Allowed Ingress Connections & Ports

Source ServiceProtocolPortArchitectural Rationale
SUBNETAll IPv4 / IPv6All PortsReceives routed egress traffic from private workload subnets.
IGWTCP / UDP80, 443, AnyReceives routed ingress traffic via Internet Gateway edge route tables.
TRANSIT-GATEWAYAll ProtocolsAll PortsReceives centralized inter-VPC inspection traffic from Transit Gateway attachments.

Allowed Egress Targets & Ports

Target ServiceProtocolPortData Flow Rationale
IGWTCP / UDP80, 443Forwards inspected, verified outbound traffic to Internet Gateway for egress.
ALBHTTP / HTTPS80, 443Forwards inspected ingress web traffic to public Application Load Balancers.
TRANSIT-GATEWAYAll ProtocolsAll PortsReturns inspected east-west packets to Transit Gateway for spoke delivery.

Key Configuration Parameters & AWS Best Practices

ParameterFormat / ExamplePurpose & Rationale
firewallPolicyType (Required)STRICT_ORDERSpecifies the stateful rule evaluation order within the firewall policy. Why: STRICT_ORDER enforces deterministic, top-to-bottom rule evaluation priority, avoiding unexpected rule conflicts.
domainDenylist.malware.org .crypto-pool.netList of domain names and FQDNs to block for outbound SNI egress filtering. Why: Enforces corporate egress perimeter security by preventing command-and-control phone-homes.
firewallSubnetIdsubnet-09a8b7c6d5e4f3The dedicated subnet ID where the Network Firewall endpoint ENI is instantiated. Why: Guarantees that firewall endpoints are isolated from standard EC2 and RDS workload subnets.

Frequently Asked Questions

Where does AWS Network Firewall live inside an AWS VPC architecture?

Valid container placement: SUBNET. Deploys bump-in-the-wire inspection endpoints inside dedicated firewall subnets to enforce stateful 5-tuple rules, Suricata IPS patterns, and outbound FQDN domain filtering for VPC ingress, egress, and east-west transit.

When should I use AWS Network Firewall on the AWS SAA-C03 exam?

Use for centralized egress domain allowlisting or compliance-mandated deep packet inspection across VPCs.

Can I simulate AWS Network Firewall packet routing without an AWS account?

Yes. CloudTracer simulates AWS Network Firewall along with 53 AWS services directly in your browser and exports production Terraform HCL.

More Security Cheatsheets

Security Group → Network ACL → AWS WAF → IAM Roles & Policies → KMS Encryption Keys → AWS Shield DDoS →