- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.