AWS WAF & AWS Shield
Layer 7 web application firewall, automated threat intelligence, and enterprise DDoS mitigation.
Layer 7 web application firewall, automated threat intelligence, and enterprise DDoS mitigation.
Coming from Google Cloud?
Both provide enterprise Layer 7 Web Application Firewall rules, OWASP Top 10 defense, bot management, and multi-gigabit DDoS mitigation at edge load balancers.
- Layer 7 HTTP/HTTPS deep packet inspection for SQLi and XSS.
- Rate limiting and IP allow/deny lists.
- Pre-configured managed rule sets and DDoS mitigation.
- Architecture: AWS WAF binds to CloudFront, ALB, API Gateway, and AppSync; Cloud Armor binds to Google Cloud Global External Load Balancers.
- DDoS Response: AWS offers Shield Advanced with 24/7 human response teams and cost protection; GCP offers Cloud Armor Managed Protection Plus.
- Pricing: AWS WAF charges $5.00/Web ACL + $1.00/rule + $0.60/1M requests; Cloud Armor charges $5.00/policy + $1.00/rule + $0.75/1M requests.
What is AWS WAF & AWS Shield?
AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests forwarded to an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AWS AppSync GraphQL API. AWS Shield provides managed Distributed Denial of Service (DDoS) protection that safeguards applications running on AWS across Layer 3, Layer 4, and Layer 7.
Decision Guide: When to Choose This Service
Use AWS WAF to protect web applications against SQL injection, cross-site scripting (XSS), abusive web scrapers, and Layer 7 HTTP floods; use AWS Shield for automatic Layer 3/4 DDoS protection.
Do NOT use AWS WAF for simple port and IP blocking at the network transport layer (use Security Groups and Network ACLs).
Core Architectural Pillars
Filters web traffic based on SQLi patterns, XSS tokens, geographical location, and header contents.
Turnkey rule sets maintained by AWS Threat Intelligence (OWASP Top 10, Bot Control, Known Bad Inputs).
Automatically blocks or CAPTCHAs client IP addresses that exceed request rate thresholds (e.g. >500 req/5min).
Automatic, free Layer 3 and Layer 4 DDoS defense enabled across all AWS customers.
Enterprise protection with 24/7 emergency response (SRT) and financial DDoS cost protection.