Prerequisites - Security Automations for AWS WAF

Prerequisites

This solution is designed to work with web applications deployed with CloudFront or an ALB. If you don't already have one of these resources configured, complete the applicable tasks before you launch this solution.

Configure a CloudFront distribution

Complete the following steps to configure a CloudFront distribution for your web application’s static and dynamic content. Refer to the Amazon CloudFront Developer Guide for detailed instructions.

  1. Create a CloudFront web application distribution. Refer to Creating a Distribution.

  2. Configure static and dynamic origins. Refer to Using various origins with CloudFront distributions.

  3. Specify your distribution’s behavior. Refer to Values that you specify when you create or update a distribution.

    Note

    If you choose CloudFront as your endpoint, you must create your WAFV2 resources in the US East (N. Virginia) Region.

Configure an ALB

To configure an ALB to distribute incoming traffic to your web application, refer to Create an Application Load Balancer in the User Guide for Application Load Balancers.