
Last Issue: Are Cloud Security Certs Still even worth it? š
Next Issue: TechTwoForty Update šš
Letās get back to basics. Weāve been upskilling with AI tools recently, but this week itās time to return to a core skill that hasnāt changed and isnāt going anywhere.
Cloud Based Firewalls: AWS WAF
Setting up AWS WAF early in my career was one of those real "Oh, cool... I can actually do this." moments.
What is it?
Chances are you know this but if not. A web application firewall sits in front of your app and checks every HTTP request before it reaches your code. Anything that looks like SQL injection, cross-site scripting, or a flood from a single address gets stopped. Everything else carries on as normal.
AWS WAF is Amazonās version of that. In this project youāll build one, or I should say enable the service: Create the firewall, give it a rule set, point it at a live endpoint, and then throw traffic at it to prove it works. By the end youāll have watched a request get blocked and seen exactly which rule caught it - not something youāll do everyday but something you need to understand.
What we are going to deploy?
This project has three moving parts, and it helps to picture how they fit before you start clicking.
WAF attaches to a public facing AWS resource: a CloudFront distribution, an Application Load Balancer, or an API Gateway stage. Every request to that resource gets routed through a web ACL (this is an access control list) first. The web ACL is just a container of rules. Each request is checked against those rules in order, and the first rule that matches decides what happens: allow it, block it, or count it. If nothing matches, a default action you set takes over.
Where WAF sits. Legit traffic passes the web ACL and reaches the app (200). A malicious request is turned away at the firewall and never touches your code (403).
Simpleā¦Sorta.






