Cloudflare is a practical first look for a website already routed through its edge, AWS WAF fits applications built on AWS, and Imperva is worth evaluating when deployment needs include cloud and on-premises options. The right shortlist depends on where traffic enters, where the application runs, who will tune rules, and how much protection your business needs. Those choices affect both setup and daily work. A low headline price may cover a different set of features, limits, and support than a higher one. This comparison helps you match each product to your request path and team, then identify costs and controls to check before buying. There is no useful winner apart from the product your team can run well. The right choice is the one your team can operate without leaving gaps in the request path.
Key Takeaways
- Cloudflare suits sites routed through its proxy.
- AWS WAF attaches to supported AWS resources.
- Imperva offers cloud, local, and Kubernetes options.
- Compare full feature scope, not headline prices alone.
- Name an owner for rules and exceptions before rollout.
How Does a WAF Fit Into Your Request Path?
A WAF checks web requests against security rules before those requests reach an application. A web application firewall inspects HTTP and HTTPS traffic, then allows, blocks, or challenges requests based on its configuration. The control works only where requests pass through it.
A web ACL is a collection of rules attached to an AWS resource to inspect requests. Providers place that inspection at different points, so the same hostname can follow very different paths. Start with the actual route, not the product label.

- Proxy route: Traffic goes through a provider proxy before reaching the web application.
- Attached-resource route: A cloud resource inspects traffic through its associated web ACL.
- Local or hybrid route: A locally deployed control inspects traffic, or works with a cloud service.
Place inspection on the path every protected request actually takes. A hostname that bypasses the WAF leaves that request outside its rules.
Cloudflare uses a reverse-proxy path, while AWS WAF attaches to supported resources. Imperva offers cloud and locally deployed options, which can change where inspection happens. A WAF adds a layer of security, but it cannot fix weak application design.
For example, a WAF cannot repair an authorization flaw that lets one customer view another customer’s records. It also cannot infer every business-logic rule, such as whether a user may repeat a transaction. Secure coding and access checks remain necessary.
Map the public hostname to the resource that actually receives inspection before comparing products.
Cloudflare WAF vs AWS WAF vs Imperva 2026: Which One Fits Your Stack?
For a single website already routed through a proxy, Cloudflare is the simplest first option to evaluate; AWS WAF or Imperva fits better when the architecture points elsewhere. The best starting point in this Cloudflare AWS comparison follows deployment fit, operational work, and your web application design, not an unsupported performance ranking.
Choose a shortlist by request path first. This comparison answers the review question in practical terms: Cloudflare suits a proxied website, AWS WAF suits supported AWS hosting, and Imperva may fit a mixed estate.

| Provider | Deployment fit | Operational focus | Best starting case |
|---|---|---|---|
| Cloudflare | Reverse proxy | Managed edge | Proxied website |
| AWS WAF | AWS resource integration | Hands-on rule configuration | AWS-hosted application |
| Imperva | Cloud or hybrid deployment | Deployment flexibility | Legacy or mixed estate |
Cloudflare gives a website using its proxy a direct route to edge inspection. AWS WAF makes sense when the application already uses resources it supports. Imperva is a strong candidate when deployment needs span cloud services and local systems.
Those differences describe architecture and work, not a promise that one product blocks more threats in every environment. A small team may prefer fewer rule-management tasks, while an AWS team may value keeping policy alongside its existing cloud setup.
List each application and hostname before ranking the options. A company may need different choices for a public store and an older internal service. Treat the table as a shortlist, then confirm the exact features and rule ownership your application requires.
What Does Cloudflare WAF Include?
Cloudflare inspects a website’s traffic when the site routes that traffic through its proxy. The Free plan costs $0 per month in 2026 and lists the Free Managed Ruleset as a feature. The proxy path determines which hostnames receive inspection.
That edge setup can suit a team seeking a simple subscription model. A DNS change alone does not ensure inspection; the relevant DNS record must be proxied. Check the traffic route for every host, including API names and subdomains.

How the Cloudflare proxy path works
When a hostname uses Cloudflare’s proxy, requests pass through the provider before reaching the origin server. The WAF can then inspect that traffic at the edge. DNS records that point directly to an origin do not take that same proxy route.
Sites often use more than one hostname. A public homepage may be proxied while an API or upload host uses a different record. Set the intended route for each name, rather than assuming one setting covers the whole website.
What the Free Managed Ruleset provides
The Free plan includes the Free Managed Ruleset, a ready-made set of WAF protections. Cloudflare says this ruleset is available across its plans. Cloudflare’s managed rules documentation explains ruleset availability and options for adjusting rules.
A plan’s listed features do not mean every separate capability comes with that plan. Other managed rulesets depend on plan, and product limits can differ. Review the features tied to the plan you intend to use before setting a rollout scope.
Verify proxy status for each hostname you expect the WAF to protect.
What Changes With AWS WAF?
AWS WAF is most natural when the application already depends on AWS resources that support its integrations. Its web ACL and rules attach to supported resources rather than acting as a standalone proxy for every application. The resource type sets the inspection path.
Examples include CloudFront, Application Load Balancer, API Gateway, and AppSync. A web ACL defines the rules AWS WAF applies to requests at the attached resource. That resource-based model can fit teams that already manage their application through AWS.

AWS WAF can be configured as code. Teams can store rule settings in infrastructure-as-code workflows, review changes, and deploy them alongside other cloud resources. This approach makes configuration easier to track than edits made only through a console.
Code does not remove the need for a rule owner. Someone still needs to review managed-rule updates, tune false positives, and approve exceptions. A rule change can affect real users, so policy ownership should be clear before the first deployment.
An AWS-native team may prefer one change process for both infrastructure and WAF configuration. That can help with repeatable deployments, though it does not replace testing each rule against application behavior.
Confirm the exact resource type and deployment path before building a web ACL around it.
Where Can Imperva WAF Be Deployed?
Imperva’s options span a managed cloud service, a locally deployed gateway, and a Kubernetes deployment model. Cloud WAF protects web applications and APIs as a SaaS service managed through the Imperva Management Console. Deployment choice can include local control when migration is not practical.
These models suit different application needs, not just different hosting preferences. A legacy service that cannot move to the cloud may need a local option, while a cloud-based team may want a managed service. Keep the migration limits in view.
Cloud WAF and WAF Gateway
Imperva Cloud WAF is a SaaS service managed through its console. WAF Gateway is a locally deployed option for critical applications and APIs, including legacy applications that cannot move to the cloud. Imperva’s WAF product details describe these cloud and local deployment models.
The two choices can help teams cover applications with different migration paths. Imperva managed WAF rules receive regular daily updates, with real-time updates for critical threats. That cadence matters when the team needs current rule patterns without writing every protection itself.
Elastic WAF for Kubernetes environments
Imperva Elastic WAF uses Kubernetes for deployment and combines SaaS simplicity with on-premises control. This option may fit teams that already run Kubernetes and want to manage the WAF within that environment.
Imperva website DDoS protection lists 13 Tbps of global scrubbing capacity and a guaranteed mitigation SLA of three seconds or less for Layer 3 and Layer 4 attacks. The company’s product page is already linked above, so no repeated link is needed here.
Website DDoS protection can work with Cloud WAF by routing HTTP and HTTPS traffic through a secure proxy after a DNS change. Network DDoS options include GRE tunnels and cross-connects, such as virtual cross-connects through Equinix Fabric Cloud Exchange. These paths do not apply to every deployment.
Match the deployment choice to the application’s migration constraints and the network path it can support.
How Do the Three WAF Pricing Models Compare?
Cloudflare publishes fixed plan prices, AWS WAF bills by components and usage, and Imperva uses a custom quote. Cloudflare’s Free plan is $0 per month; Pro and Business have monthly and annual billing options. A headline price does not describe equal protection packages.
Imperva pricing is quote-based, so the proposal scope matters. Compare like with like: application count, support terms, feature set, and billing period can change what a price covers.
| Provider | Billing model | Published or quoted price | Pricing scope to verify |
|---|---|---|---|
| Cloudflare | Subscription by plan | Free $0/month; Pro $25 monthly or $20 annual; Business $250 monthly or $200 annual | Domain scope and plan features |
| AWS WAF | Usage-based | ACL, rule, and request charges calculated in section 8 | Region and configuration |
| Imperva | Custom quote | Request scoped terms | Products, applications, support, and renewal |
Cloudflare’s annual prices are billed annually, not as monthly installments. The Pro annual rate equals $20 per month when viewed as a monthly equivalent, but the annual bill is paid upfront. The Business annual rate follows the same billing structure.
AWS WAF’s total depends on how many web ACLs and rules you use, plus request volume and optional features. Imperva’s quote needs clear product and support scope before comparison. Do not compare one provider’s base fee with another provider’s full service price.
Compare the same application count, feature scope, billing period, and support terms before judging value.
What Can an AWS WAF Bill Include?
A basic AWS WAF estimate starts with one web ACL, its rules, and the number of requests it processes. In 2026 pricing examples, charges are $5 per web ACL per month, $1 per rule per web ACL per month, and $0.60 per million requests. These are separate cost dimensions.
One web ACL, 10 rules, and 1 million requests costs $15.60 before extras. Regional rates may vary. The example totals below exclude other optional charges unless named.
| Configuration | Web ACL and rule setup | Monthly requests | Example total | Included or excluded charges |
|---|---|---|---|---|
| Basic rules | 1 ACL, 10 rules | 1 million | $15.60/month | Before extras |
| User-created rules | 1 ACL, 19 rules | 10 million | $30.00/month | No managed rule group |
| Marketplace group | 1 ACL, 1 group, 9 user rules | 10 million | $53.00/month | Includes example seller fees |
The Marketplace example includes a seller’s $20 monthly group fee and $1.20 per million requests processed by that group. Each added rule group or managed rule group costs $1 monthly, prorated hourly. Seller prices can differ.
The basic web ACL price includes up to 1,500 WCUs. A web ACL and a rule group can each have a maximum capacity of 5,000 WCUs. A web ACL capacity unit (WCU) measures the operating resources needed to run rules and groups, not how traffic is inspected.
Each additional 500 WCUs beyond 1,500 costs $0.20 per million requests. An extra 16KB of analyzed body data beyond the default inspection limit costs $0.30 per million requests. AWS includes 500 MB of CloudWatch Logs and Vended Logs Ingestion per 1 million WAF requests; extra log use is billed by CloudWatch.
Standard Allow, Block, and Count actions have no extra charge. Recalculate the estimate with the actual AWS Region, inspection settings, logging, and rule groups.
How Do Managed Rules and Custom Rules Differ?
Managed rules provide reusable threat patterns, while custom rules let a team express application-specific conditions. AWS offers managed rule groups, while Cloudflare supports custom expressions and IP lists. Rule choice affects both coverage and the work of tuning.
Use managed protections for common threats, then add focused custom rules for paths or headers unique to your application. Specific rules are easier to review when each one has a clear purpose.
AWS managed groups and Marketplace options
Some AWS Managed Rules groups add no fee beyond basic AWS WAF pricing. Bot Control, Account Takeover Prevention, and Account Creation Fraud Prevention have added fees. AWS Marketplace managed rule groups are sold by individual sellers, who set their own subscription prices.
Read each group’s scope and conditions before adding it. A managed group can save rule-writing time, but a team still needs to watch matches and handle application exceptions. Seller-priced groups also make the seller’s fee part of the estimate.
Cloudflare expressions and IP lists
The 2026 Cloudflare-WAF-Expressions repository contains five groups: suspicious paths and headers, malicious extensions and injections, unwanted bots, old browsers, and IP blocklists. A deprecated-browser and CMS-scanner group is also included among its expressions.
These expressions can run on Cloudflare Free as WAF custom rules through the Rulesets API. Four groups use Block; the deprecated-browser and CMS group uses Managed Challenge. Free allows one custom IP list per account, with up to 10,000 entries.
Optional SniffCat and AbuseIPDB integrations each have a default maximum of 3,000 IP addresses fetched per sync. That is an integration setting, not a general limit on Cloudflare rules. Keep each custom rule narrow enough that an operator can identify its purpose and safely adjust it.
What Do Bot Controls and DDoS Protection Add?
Bot controls classify automated requests, while DDoS services are designed to absorb or mitigate attack traffic. Rate limits can also curb abusive request patterns, such as repeated login attempts. These controls address different traffic problems.
Bot management can separate useful automation from harmful bots, while request limits can slow repeated actions. Volumetric attacks aim to overwhelm network or service capacity; application-layer attacks target web functions with request traffic. Check which threat each service covers.
- Common Bot Control: The first 10 million requests per month are free in 2026.
- Targeted Bot Control: The first 1 million requests per month are free in 2026.
- Fraud Control: $10 monthly subscription per web ACL, plus fees for analyzed requests.
Those AWS fees sit beyond standard rule checks. Estimate how many requests each bot feature will analyze, since its allowance applies to analyzed traffic rather than every request handled by the WAF.
AWS Shield Advanced is a separate service, not a required AWS WAF purchase. It costs $3,000 per month with a one-year commitment. AWS Shield Standard provides Layer 3 and Layer 4 DDoS protection for CloudFront, Route 53, and Global Accelerator.
Cloudflare positions DDoS protection at its edge, while feature scope and support vary by plan. The service may sit on the same traffic path as the WAF, but protection details depend on the selected plan.
Estimate bot-control request volume separately from ordinary WAF requests before comparing protection packages.
How Can You Test Rule Behavior Before Blocking Traffic?
A WAF that blocks attacks but also blocks checkout or file uploads can create a production incident. True positives are malicious requests correctly blocked; true negatives are legitimate requests correctly allowed. Balanced accuracy is the average of the true positive rate and true negative rate.
Those rates describe security quality and detection quality, respectively. Balanced accuracy offers one summary measure, but it cannot replace checks against your own application flows. Real traffic behavior matters.
A December 2025 test used 1,040,242 legitimate HTTP requests from 692 real websites and 74,284 malicious payloads. Its attacks included SQL injection, cross-site scripting, XML external entity, path traversal, command execution, Log4Shell, Shellshock, and padding evasion.
Even a large dataset cannot cover every request pattern in your application. Results depend on rule configuration and request coverage. AWS Count mode lets a team record matches before a rule starts enforcing blocks.
- Exercise login, checkout, uploads, and admin actions.
- Observe rule matches before enforcement begins.
- Record the rule, request, and outcome for each test.
- Assign a rollback owner and an expiry to exceptions.
Check that normal requests still work, including less common paths such as account recovery or large uploads. A rule that flags the right attack can still cause harm if its scope catches valid users.
Do not switch to blocking until you can explain the matches and restore service quickly. Every exception needs an owner and an end date.
Keep the test log detailed enough to connect each unexpected outcome to its matching rule.
Which Provider Should You Choose for Your Application?
Start with the traffic path your application already uses, then eliminate providers that cannot fit its deployment constraints. Cloudflare suits an edge-proxied site, AWS WAF fits an AWS-native application, and Imperva can fit mixed or constrained environments. Hosting and traffic flow make the first cut.
Then weigh who will manage rule updates, exceptions, and support needs. A product that fits the architecture can still strain a team without enough time or staff. Operational ownership belongs in the shortlist.
Choose by hosting and traffic path
Cloudflare is the direct candidate when your site already routes through an edge proxy or can use that path. AWS WAF is the direct fit for an application built around supported AWS resources. Imperva offers cloud, local, and Kubernetes deployment choices for mixed or limited environments.
Do not choose by hosting label alone. Trace requests from the public hostname to the origin, including separate API and upload endpoints. The WAF must fit that route and the way your team can send traffic through inspection.
Choose by security ownership and procurement needs
Self-managed rules may suit a team with staff who can review changes and handle false positives. A team that expects more help may place greater weight on support terms and service scope. Contract details can change which provider fits the business, even when two products appear similar.
- Existing traffic path: Identify where public requests enter and reach the origin.
- Required deployment model: Note cloud, local, hybrid, or Kubernetes needs.
- Named rule owner: Assign a person to tuning, exceptions, and change review.
Procurement should account for the applications covered, feature scope, support hours, and renewal terms. Those details help prevent a narrow quote from being mistaken for full coverage.
Before procurement, write down the protected applications, rule owner, and support expectations in one shared scope.
Conclusion
The best shortlist begins with where your requests are inspected and who will manage the rules. Architecture should guide the choice, while your team’s ability to keep rules current should shape the final decision. A WAF only helps where its rules meet the traffic.
Before committing to a broad rollout, validate one representative application path and the protections it needs. Include a normal user flow and a likely attack pattern in that check. That small test can reveal a routing gap or a rule that needs tuning.
Select one representative application, document its required protections, and validate the request path before expanding coverage.
FAQ
How much does Cloudflare Pro cost compared with Cloudflare Business?
Cloudflare Pro costs $25 per month with monthly billing or $20 per month with annual billing in 2026. Cloudflare Business costs $250 monthly or $200 per month with annual billing. Annual billing is paid upfront, not in monthly installments. Compare the plan features and domain scope along with those prices.
How do I estimate AWS WAF charges for 10 million requests?
Start with $6 for 10 million requests, then add $5 per web ACL and $1 per rule per web ACL. A web ACL with 19 rules totals $30 monthly before extras. Add any managed group fee, group-processed request fee, body inspection charge, extra WCU charge, and CloudWatch logging beyond its allowance.
Can AWS WAF protect an application that is not hosted on AWS?
Yes, if the application’s requests pass through a supported AWS resource with an attached web ACL. AWS WAF does not act as a standalone proxy for every outside origin. A non-AWS application needs a compatible request path, such as supported CloudFront use, or a different deployment approach.
Does Cloudflare Free include a managed ruleset?
Yes, Cloudflare Free lists the Free Managed Ruleset as a feature in 2026. That does not mean every Cloudflare managed ruleset or security feature comes with Free. Other rulesets and product limits can depend on plan, so compare the features you need with the selected plan.
Can Cloudflare WAF and AWS WAF run together?
Yes, both can run together when each layer has a clear job. For example, one may inspect edge traffic while the other applies rules at a supported AWS resource. Overlapping rules can make investigations harder, so document which layer owns each block and how teams review matching requests.
What does WCU mean in AWS WAF?
A WCU, or web ACL capacity unit, measures the operating resources needed to run rules and web ACLs. It does not change how AWS WAF inspects traffic. A web ACL’s basic price includes up to 1,500 WCUs, and higher capacity can add request-based charges.
What should I test before switching a WAF to blocking mode?
Test normal flows such as login, checkout, uploads, and admin actions before blocking traffic. Review rule matches in a test or count mode, then confirm that legitimate requests still work. Record the rule and outcome, and name a rollback owner before exceptions or enforcement changes reach production.


