Nov 19, 2024
AWS WAF (Web Application Firewall):
AWS Shield:
Multi-layered Defense Strategy: Use both AWS WAF and AWS Shield together for comprehensive protection across different network layers.
| Category | AWS WAF | AWS Shield |
|---|---|---|
| Primary Purpose | Protects against web application exploits (e.g., SQL injection, XSS) | Protects against DDoS attacks (e.g., SYN or UDP floods) |
| Layer of Protection | Application layer (L7) | Network, transport, and application layers (L3/L4/L7) |
| Deployment | Must be explicitly set up | AWS Shield Standard included for all customer accounts |
| Customization | Highly customizable with custom rules | Options to enable AWS Shield Advanced with automatic mitigation |
| Managed Rules | Includes AWS Managed Rules and third-party rules | Not applicable |
| Pricing Model | Pay-as-you-go based on rules and requests | AWS Shield Standard is free; AWS Shield Advanced incurs additional cost |
| Attack Response Team | Not applicable | Available with AWS Shield Advanced (24/7 DDoS Response Team) |
| Real-time Monitoring | Yes | Yes |
| Traffic Inspection | Request-level | Packet-level |