Chapters0/41 ▾
0 of 41 lessons finished
- 1.Cloud Concepts: Benefits & Economics0/4
- 2.Cloud Concepts: Well-Architected & Migration0/5
- 3.Security: Shared Responsibility & Compliance0/4
- 4.Security: IAM & Access Management0/4
- 5.Security: Services & Resources0/4
- 6.Technology: Deployment & Global Infrastructure0/4
- 7.Technology: Compute & Networking0/4
- 8.Technology: Databases & Storage0/4
- 9.Technology: AI, Analytics & Other Services0/4
- AI and machine learning services: pre-trained services and SageMaker AI
- Analytics services: Glue, Athena, Redshift, EMR, OpenSearch, Kinesis and Amazon Quick
- Messaging and workflows: SQS, SNS, EventBridge, Step Functions, Amazon Connect and SES
- Developer tools, cloud desktops, AWS Amplify and AWS IoT Core
- 10.Billing, Pricing & Support0/4
- EC2 purchasing options: On-Demand, Spot, Savings Plans, Reserved Instances and dedicated hardware
- Data transfer costs, consolidated billing and cost allocation tags
- Cost management tools: Pricing Calculator, Cost Explorer, Budgets, Cost and Usage Reports and Compute Optimizer
- AWS Support plans, Trusted Advisor, AWS Health and where to get help
Chapter 5 · Lesson 1 of 4
Blocking web attacks and DDoS: AWS WAF, AWS Shield and AWS Firewall Manager
1 min read
These three services stop bad traffic, and each works at a different level. AWS WAF is a web application firewall. Its rules read each HTTP or HTTPS request, including parts such as the query string, and can block patterns like SQL injection and cross-site scripting before they reach an application behind, for example, an Application Load Balancer.
Security groups cannot do this: they allow or deny traffic to an instance by protocol, port and source, without looking inside the request.
- AWS Shield protects against distributed denial of service (DDoS) attacks, such as floods meant to overwhelm a site. Shield Standard applies automatically to every AWS customer at no extra step; Shield Advanced is a paid subscription with enhanced detection and mitigation.
- AWS Firewall Manager is a management layer. It does not inspect traffic itself; it applies AWS WAF rules, Shield Advanced protections and other protections such as security group rules across the accounts in AWS Organizations, including new accounts as they are added.
Example: a ticket site sees two problems on sale day, a huge burst of junk traffic and requests carrying script tags in the search box. The burst is a job for AWS Shield; the script tags are a job for an AWS WAF rule.
Check yourself
1. A retailer has two separate concerns: a large flood of network traffic meant to overwhelm its site, and cross-site scripting attempts inside web requests. Which pairing matches each concern to the right service?
2. A developer argues that security groups already protect a public website, so AWS WAF adds nothing. Which capability does AWS WAF add that security groups do not provide?
Facts checked 2026-11-15 · Sources: AWS Certified Cloud Practitioner (CLF-C02) Exam Guide, AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide, AWS Cloud Security
AWS Cloud Practitioner cheat sheet: every key fact on one page →