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.
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 Service | Protocol | Port | Architectural Rationale |
|---|---|---|---|
| SUBNET | All IPv4 / IPv6 | All Ports | Receives routed egress traffic from private workload subnets. |
| IGW | TCP / UDP | 80, 443, Any | Receives routed ingress traffic via Internet Gateway edge route tables. |
| TRANSIT-GATEWAY | All Protocols | All Ports | Receives centralized inter-VPC inspection traffic from Transit Gateway attachments. |
Allowed Egress Targets & Ports
| Target Service | Protocol | Port | Data Flow Rationale |
|---|---|---|---|
| IGW | TCP / UDP | 80, 443 | Forwards inspected, verified outbound traffic to Internet Gateway for egress. |
| ALB | HTTP / HTTPS | 80, 443 | Forwards inspected ingress web traffic to public Application Load Balancers. |
| TRANSIT-GATEWAY | All Protocols | All Ports | Returns inspected east-west packets to Transit Gateway for spoke delivery. |
Key Configuration Parameters & AWS Best Practices
| Parameter | Format / Example | Purpose & Rationale |
|---|---|---|
| firewallPolicyType (Required) | STRICT_ORDER | Specifies 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.net | List 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. |
| firewallSubnetId | subnet-09a8b7c6d5e4f3 | The 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.