- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Configuring an AWS Network Firewall
This hands-on lab walks you through how to create a VPC and a public subnet, and then deploy an AWS Network Firewall to filter the traffic coming into and going out of the VPC.

Lab Info
Table of Contents
-
Challenge
Create a VPC and Public Subnets
- Create a VPC with the VPC and more option.
- Use the VPV name of Lab_VPC with an IPv4 CIDR block of 10.0.0.0/16.
- Set the number of Availability Zones to 1.
- Set the number of public subnets to 1.
- Set the number of private subnets to 0.
- For VPC Endpoints, choose None.
- Click Create VPC.
-
Challenge
Configure Network Firewall
- Create Stateful Rule Group (statefulRules): Rules based on domain names: www.example.com and www.facebook.com. Deny HTTP and HTTPS traffic.
- Create Stateless Rule Group (statelessRules): Allow all traffic within the VPC (10.0.0.0/16). Drop traffic from 192.0.2.0/24 to any destination.
-
Challenge
Create Firewall Policy
- Firewall Policy (firewallLab): Associate statefulRules and statelessRules rule groups.
-
Challenge
Deploy Network Firewall
- For the Network Firewall Instance (networkFirewallLab): Deploy within the chosen Availability Zone of Lab_VPC. Associate with firewallLab.
-
Challenge
Configure Route Tables
Create Route Tables:
- igw-route: For directing incoming traffic to networkFirewallLab using Gateway Load Balancer Endpoint.
- firewall-route: For directing outgoing traffic from networkFirewallLab to Internet Gateway (IGW).
- Associate igw-route with Lab_VPC-subnet to route incoming traffic through networkFirewallLab.
- Associate firewall-route with firewall-subnet to route outgoing traffic through the IGW.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.