A web application firewall sits in the path of real users. A rule that blocks an attack and a rule that blocks valid checkout traffic can both look successful on a dashboard. Start by deciding where traffic enters, which requests need inspection, and who can safely turn a false positive into a narrow exception. Cloudflare WAF, AWS WAF, Azure WAF, Google Cloud Armor and Fastly Next-Gen WAF offer different answers about deployment, controls and how those controls are billed.
A useful comparison begins with a traffic diagram: public names, load balancers, origins, upload endpoints and alternate paths. The WAF needs visibility into the relevant HTTP traffic. A direct route to an origin or a separate API hostname may bypass the policy. Confirm that intentional access for operations and health checks remains possible after closing unintended routes.
Where a WAF helps
A WAF can inspect HTTP requests and take actions such as counting, challenging or blocking traffic where supported. Use it to reduce exposure while fixing an application flaw and to enforce policies at ingress. It cannot determine that a user should be allowed to read someone else’s invoice just because the request is syntactically valid. Access control belongs in the application. For finding known weaknesses elsewhere in the stack, see our vulnerability management comparison.
The quick difference
| Product | Best fit | Main strength | Watch for |
|---|---|---|---|
| Cloudflare WAF | Sites already proxied through Cloudflare | Zone-based custom rules and managed rulesets | Free ruleset, expanded coverage and account controls differ |
| AWS WAF | Applications on supported AWS ingress services | Web ACLs attach to eligible AWS resources | Requests, rules, capacity and enhanced inspection can affect charges |
| Azure WAF | Azure applications needing edge or regional policy | Front Door and Application Gateway deployment choices | Feature matrix and pricing depend on the attachment and SKU |
| Google Cloud Armor | Google Cloud applications behind supported load balancers | Security policies with priority and configurable rules | Protected resources and data processing affect Enterprise costs |
| Fastly Next-Gen WAF | Organizations with multiple deployment models | Edge, cloud and agent-module options | Get a WAF-specific quote and confirm exact package limits |
Cloudflare WAF
Cloudflare uses rule expressions to match request properties such as the path, IP address and headers, and it offers managed rule groups. This suits a team that already proxies the relevant hostnames through Cloudflare and wants web policy close to the traffic edge. For a web store with an application API on a different hostname, verify that both are proxied and included in the policy. Include any deliberately exposed origin in the same design review.
The Free tier includes the Free Managed Ruleset, with broader Cloudflare and OWASP managed rules on paid tiers listed in the documentation. Account-level WAF configuration is limited to Enterprise in the WAF docs. Cloudflare’s pricing page shows both monthly and annually billed website plans and custom terms for contract customers. Get the rate in your billing currency and verify which custom rules, rate limiting features and logs the plan actually grants. Sampled events can be enough for initial tuning and insufficient for a full incident record.
AWS WAF
AWS WAF attaches web ACLs to supported services such as CloudFront, Application Load Balancer and API Gateway REST APIs. Choose the attachment based on where the service is publicly reachable and which requests the policy should see. A rule on a distribution only protects the path through that distribution. If an application load balancer also accepts direct public requests, either restrict the direct route or design explicit protection for it.
AWS separates the web ACL, rules and processed requests. Monthly ACL and rule fees are prorated hourly, and other charges can apply for managed groups, capacity beyond the default, additional body inspection and challenge or bot features. Logging beyond the included amount can add cost. Work in the relevant regional rate and currency; a quote should price the intended rule set and peak request mix. Use Count on a narrow scope while reviewing legitimate matches, and check body inspection limits against a real upload before enforcing a policy there.
Azure WAF
Azure WAF is part of supported Azure ingress products, including Front Door, Application Gateway and Application Gateway for Containers. Global edge ingress and a regional gateway solve different routing problems. Start with the attachment you actually need, then read its rule, logging and inspection limits. Do not carry a rule assumption from one Azure WAF deployment into another without confirming it.
Azure lists WAF pricing as included with Front Door Premium; that does not remove the underlying service’s charges. Application Gateway WAF v2 has a fixed gateway-hour charge and a capacity-unit meter. The containers gateway has its own published set of resource and capacity meters. Select the relevant region and currency in Azure’s calculator; public placeholder values are insufficient for a forecast. Include transfer and logs where they apply. In a pilot, confirm how detection mode changes to prevention, how an exclusion is scoped and whether the event can be matched to the application’s log.
Google Cloud Armor
Cloud Armor applies security policies to supported resources. Rules are evaluated in priority order, with the highest priority matching rule taking effect. Its preconfigured WAF signatures can be tuned, and some capabilities depend on load balancer type. Google explicitly documents that the preconfigured WAF rules do not parse XML bodies. An application that accepts XML should account for that gap directly instead of extrapolating from an ordinary JSON request.
Standard pricing meters policies, rules and requests, with a distinction between global and regional security policies. Enterprise Paygo and Annual use different resource allowances and data-processing charges. Annual has a one-year commitment. A hierarchical policy can automatically enroll a project in Enterprise Paygo under the documented conditions. Verify what Google counts as a protected resource across enrolled projects, even when a particular backend has no attached policy. Price the complete topology and the selected currency before enabling an organization-wide rule.
Fastly Next-Gen WAF
Fastly describes edge and cloud deployments as well as an agent-module architecture. That makes it relevant when services sit on several platforms and a team wants common WAF visibility without redesigning all ingress around one provider. Test the chosen deployment with your proxy stack and release process. In particular, ask which components you deploy and monitor, which policy changes take effect centrally and what happens if an agent or connection fails.
Fastly lists Next-Gen WAF as contact-sales pricing and publishes distinct Security packages with different workspace and custom-rule allowances. The public edge request tariff does not establish a WAF price. Ask for the proposed currency, minimum term, included workspaces, traffic handling, support and overage policy, plus separate Bot Management and API Security entitlements if needed. Validate alert detail against authorized sample traffic. The ability to understand and reverse a decision is more valuable than a broad claim about how little tuning a product requires.
Pilot before blocking
In a staging environment you control, replay representative benign requests, including a large file, an API client, a payment callback and an ordinary login. Add safe simulated rule matches. For each policy, capture the request path, rule identifier, resulting action and what appears in origin logs. Check redaction, retention and export for the data your responders need.
Start with observation where the product supports it, enforce on a limited route, and document how to revert. Compare the bills at typical and peak traffic. Include false-positive work, log retention and any optional features before setting a budget. A useful test is whether the on-call engineer can make a narrow exception without disabling unrelated protection.
Which WAF fits?
Start with Cloudflare if the relevant traffic is already proxied there and the plan supplies the rules and logs you need. AWS WAF, Azure WAF and Cloud Armor are strong starting points when your protected ingress already lives in their respective clouds. Evaluate Fastly when deployment across several environments is the deciding factor. Pick the policy that covers the actual request path and gives your team a reliable way to investigate and reverse mistakes.
References
Official sources checked November 9, 2026.
- Cloudflare WAF official product overview
- Cloudflare WAF official plans or documentation
- AWS WAF official product overview
- AWS WAF official plans or documentation
- Azure WAF official product overview
- Azure WAF official plans or documentation
- Google Cloud Armor official product overview
- Google Cloud Armor official plans or documentation
- Fastly Next-Gen WAF official product overview
- Fastly Next-Gen WAF official plans or documentation
- Cloudflare website plan pricing
