AWS - WAF (Web Application Firewall)
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9cxrc-N2cJH1yZc5ruJM-cbeI3bJXTlZ3YhoW1pOJXukvtu4KS2FqLo9XSiftVzLKha2dizRm5WgUX9J5Tvk-UnnRE473WYXCgGyracTj0XTbUQO4uqFfszf24-SaF3vDGdAvUCnKDMUk5l1mLhsFuxm2x8J0FsvGHbW3yvQfUTnvG4A_67ykeDzC3RU/s320/63178de0492be32979c9acf7_aws-logo.png)
Amazon Web Services (AWS) Web Application Firewall (WAF) is a security tool that protects web applications from attacks. WAF allows users to configure rules that allow, block, or monitor web requests based on conditions defined by the user. WAF can filter web traffic by creating rules based on conditions like IP addresses, HTTP headers and body, or custom URIs. WAF can also monitor an application's login page for unauthorized access to user accounts. WAF is different from a standard firewall, which provides a barrier between external and internal network traffic. A WAF sits between external users and web applications to analyze all HTTP communication. I already have a website running on an EC2 instance and accessible via ALB. I am going to create a WAF rule to deny accessing the page from the country USA. Adding ALB as the resource to AWS WAF: Creating a rule: I am going to respond with the error code "400" and custom response. We are done creating WAF rule. L...