An e-learning company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application needs protection from SQL injection attacks and volumetric Layer 3 and Layer 4 DDoS attacks. The company wants a solution that requires minimal operational overhead and integrates with their current architecture.
Which solution should a solutions architect recommend to meet these requirements?
- Deploy Amazon CloudFront in front of the Application Load Balancer, associate AWS WAF with the CloudFront distribution to block SQL injection using managed rules, and rely on AWS Shield Standard for automatic Layer 3 and Layer 4 DDoS protection.Answer
- BEnable AWS Shield Standard on the Application Load Balancer and configure custom rules within Shield to parse HTTP payloads and block SQL injection requests.
- CConfigure the subnet Network ACLs (NACLs) to perform deep packet inspection to block SQL injection patterns, and configure the EC2 Security Groups to automatically rate-limit Layer 3 and Layer 4 traffic.
- DDeploy Amazon CloudFront in front of the Application Load Balancer, and configure the CloudFront distribution's Origin Access Control (OAC) to inspect incoming HTTP requests and drop SQL injection attacks.
Answer
Deploy Amazon CloudFront in front of the Application Load Balancer, associate AWS WAF with the CloudFront distribution to block SQL injection using managed rules, and rely on AWS Shield Standard for automatic Layer 3 and Layer 4 DDoS protection.
Deploying Amazon CloudFront with an associated AWS WAF web ACL uses managed rules to inspect HTTP payloads at the edge and mitigate Layer 7 SQL injection attacks. AWS Shield Standard, which is automatically active for CloudFront, provides Layer 3 and Layer 4 DDoS protection with zero configuration or additional cost.
Step-by-Step Solution
Key Concept
Edge security and DDoS protection using AWS Shield and AWS WAF
Estimated Time:1m 30s