A global e-commerce company hosts its application on AWS using an Application Load Balancer (ALB) in front of an Auto Scaling group of Amazon EC2 instances. The company's security team detects two concurrent security events during a high-traffic sale: a volumetric UDP flood attack targeting the application's infrastructure, and a distributed HTTP GET flood targeting a database-intensive search endpoint (/api/v1/search) using randomized query parameters to bypass caching. The company requires a solution that automatically mitigates the volumetric traffic, provides application-layer protection for the search endpoint, secures cost protection against EC2 scaling charges incurred by the attack traffic, and grants 24/7 access to the AWS Shield Response Team (SRT). Which architecture meets these requirements with the least operational overhead?
- Enable AWS Shield Advanced on the Application Load Balancer. Associate AWS WAF with the Application Load Balancer, and create a rate-based rule that inspects request parameters and matches the search endpoint path.Answer
- BEnable AWS Shield Standard to mitigate the volumetric UDP flood. Implement a Network Access Control List (NACL) rule on the public subnets to block the HTTP GET request flood targeting the search path, and contact AWS Support to engage the Shield Response Team.
- CEnable AWS Shield Advanced on the Application Load Balancer. Configure the Application Load Balancer's security group to deny incoming UDP traffic on all ports, and rely on AWS Shield Standard's automatic Layer 7 mitigation to throttle the HTTP GET flood on the search endpoint.
- DAssociate AWS WAF with the Application Load Balancer, and configure a custom rule to inspect and block the volumetric UDP traffic. Set up a stateful Security Group rule on the EC2 instances to dynamically block IP addresses performing the HTTP GET flood on the search path.