Level 200: Basic EC2 Web Application Firewall Protection


  • Ben Potter, Security Lead, Well-Architected


This hands-on lab will guide you through the introductory steps to protect an Amazon EC2 workload from network based attacks. You will use the AWS Management Console and AWS CloudFormation to guide you through how to secure an Amazon EC2 based web application with defense in depth methods. Skills learned will help you secure your workloads in alignment with the AWS Well-Architected Framework.


  • Protecting network and host-level boundaries
  • System security configuration and maintenance
  • Enforcing service-level protection


  • An AWS account that you are able to use for testing, that is not used for production or other purposes.
    NOTE: You will be billed for any applicable AWS resources used if you complete this lab.
  • Select region with support for AWS WAF for Application Load Balancers from list: AWS Regions and Endpoints.


References & useful resources

Amazon Elastic Compute Cloud User Guide for Linux Instances Tutorial: Configure Apache Web Server on Amazon Linux 2 to Use SSL/TLS AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide