What AWS Network Firewall Provides
Understand managed, VPC-wide intrusion filtering and inspection.
What AWS Network Firewall Provides is a free AWS Security Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
A VPC-Wide Firewall
AWS Network Firewall is a managed, stateful network firewall and intrusion prevention service for your VPC. Unlike security groups (per resource) or NACLs (per subnet), it provides deep, VPC-wide traffic inspection and filtering managed by AWS, scaling automatically with your traffic.
Beyond Layers 3 and 4
Security groups and NACLs filter on IP, port, and protocol only. Network Firewall adds deep packet inspection and can match on domain names, protocols, and attack signatures, giving you intrusion-prevention-style filtering inside the VPC that the simpler firewalls cannot provide.
Stateful and Stateless Engines
Network Firewall has both a stateless engine for fast, simple packet rules and a stateful engine that tracks connections and runs deeper inspection. Stateless rules can quickly pass or drop traffic, while stateful rules apply Suricata-compatible signatures for advanced detection.
How It Is Deployed
You deploy Network Firewall by creating firewall endpoints in dedicated subnets and routing traffic through them with route table changes. A common design uses a separate firewall subnet per Availability Zone, sending VPC traffic through the endpoint before it reaches the internet or other subnets.
Inspection Architectures
Network Firewall fits patterns like centralized inspection using a transit gateway, or per-VPC inspection. Traffic from spoke VPCs can be routed through a central inspection VPC running the firewall, letting one policy guard many VPCs, which simplifies governance at scale.
Managed and High Availability
As a managed service, Network Firewall handles scaling, patching, and availability for you. Deploying endpoints across multiple Availability Zones gives resilient, highly available inspection without you running and maintaining firewall appliances yourself.
Firewall Policy
A firewall policy defines the stateless and stateful rule groups, default actions, and behavior that a firewall enforces. One policy can be associated with multiple firewalls, centralizing your inspection rules much like a WAF web ACL centralizes web rules.
Egress Filtering
A major use case is egress (outbound) filtering: controlling which external domains and destinations your workloads may reach. This stops malware from calling home, blocks data exfiltration to unapproved sites, and enforces allow-lists of permitted destinations, which security groups cannot do by domain.
Logging
Network Firewall produces alert and flow logs that you send to CloudWatch Logs, S3, or Kinesis Firehose. Alert logs record traffic that triggered stateful rules; flow logs record connection metadata. These feed your detection and investigation tooling and provide an audit trail of inspected traffic.
Versus Third-Party Appliances
Network Firewall is the AWS-native alternative to running third-party firewall appliances on EC2. It removes the burden of sizing, patching, and scaling instances while integrating with VPC routing and Firewall Manager for centralized, organization-wide deployment.
Where It Fits
Use Network Firewall when you need VPC-wide intrusion prevention, domain-based egress control, or centralized inspection beyond what security groups and NACLs offer. It complements WAF (web requests) and Shield (DDoS), filling the deep network-inspection layer of your defense stack.
Quick Check
Identify the right tool.
Recap
AWS Network Firewall is a managed, VPC-wide stateful firewall and IPS with deep packet inspection beyond Layer 3/4. It runs stateless and stateful engines, deploys via firewall endpoints in dedicated subnets with route changes, and supports centralized inspection through transit gateways. Key uses are domain-based egress filtering and intrusion prevention, with alert and flow logging.
Frequently asked questions
Is the “What AWS Network Firewall Provides” lesson free?
Yes — the full text of “What AWS Network Firewall Provides” is free to read here on the web, and the AWS Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “What AWS Network Firewall Provides”?
Understand managed, VPC-wide intrusion filtering and inspection. You practise AWS Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start AWS Security Academy?
No prior experience is required. AWS Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “What AWS Network Firewall Provides” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this AWS Security Academy lesson?
Yes. Every AWS Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- What AWS Network Firewall Provides
- Stateful Rule Groups and Suricata Rules
- Domain Filtering and Egress Control
- Securing the CloudFront Edge