Search⌘ K

Stateful and Stateless Firewalls

Explore stateful and stateless firewalls in AWS VPC to understand how they manage traffic differently. Learn how security groups provide stateful protection while network ACLs act as stateless firewalls. This lesson helps you configure firewall rules to secure AWS resources effectively.

Firewall

Firewalls help protect resources from unwanted connection requests and access. We can restrict access to our AWS resources over a network using a firewall. AWS offers two types of firewalls to protect the resources within a VPC from unwanted connection requests and access. These are called stateful and stateless firewalls. Before going into the details of these firewalls, let’s understand how data packet transfer occurs in a typical web connection between a client and server.

Request and response

Let’s assume we want to go to Google’s homepage. We’ll go to the browser ...