Developer Tools · head to head
AWS WAF vs Envoy

AWS WAF
Developer Tools
Managed web application firewall for CloudFront, load balancers and APIs on AWS
- From
- $5/month
- Free plan
- No

Envoy
Developer Tools
A high-performance L7 proxy written in C++ that is configured by an API rather than a config file, and is usually deployed under a control plane.
- From
- Free
- Free plan
- Yes
The short version
- Envoy is free; AWS WAF starts at $5/mo.
- Only AWS WAF lists web ACLs and rules; only Envoy lists xDS dynamic configuration.
- Where AWS WAF falls short: it only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it.
How do AWS WAF and Envoy differ?
AWS WAF and Envoy differ on starting price ($5/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS WAF and Envoy actually diverge.
Identical on both: platforms (Web).
Not yet recorded: category for AWS WAF.
Which features does each one have?
They share no listed features; 6 appear only for AWS WAF and 8 only for Envoy. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS WAF
- Web ACLs and rules
- Managed rule groups
- Bot Control
- Fraud Control
- Rate-based rules
- Logging
Only in Envoy
- xDS dynamic configuration
- Protocol breadth
- Filter chain architecture
- Observability by default
- Outlier detection
- Traffic shaping
- mTLS termination and origination
- Hot restart
What is each one used for?
AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront. The jobs each tool is most often brought in to do.
AWS WAF
- Blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancernot Envoy
- Rate limiting login and API endpoints that sit behind CloudFrontnot Envoy
- Adding bot detection to a retail site already hosted on AWSnot Envoy
- Applying one set of WAF rules across many accounts through AWS Firewall Managernot Envoy
Envoy
- Acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use itnot AWS WAF
- An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot AWS WAF
- Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot AWS WAF
- Standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written innot AWS WAF
Where do AWS WAF and Envoy fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS WAF
- It only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it
- Charges come from several meters at once (web ACL, rules, rule groups, requests, logging, and per-feature fees), so predicting a bill needs a worksheet rather than a single price
- Account Takeover Prevention and Fraud Control start at $1,000 per million requests, so protecting a busy login endpoint can cost more than the web ACL itself
- Managed rules ship in count-first workflows and generate false positives on unusual payloads, so someone has to review logs and tune exclusions
- Request body inspection is capped by default, and inspecting beyond the limit or using more than the default capacity units carries extra per-request charges
Envoy
- The configuration surface is very large and hand-written bootstrap YAML runs to hundreds of lines for routing that Nginx expresses in twenty, which is why nearly every production deployment sits under a control plane and inherits that control plane's constraints as well
- xDS is the real API and it is not stable in the comfortable sense; the v2 API set was removed outright, resource types continue to be deprecated, and your control plane and Envoy binaries have to be upgraded roughly in step or the proxies stop accepting configuration
- Extending it properly means writing a C++ filter and building and maintaining your own Envoy binary; the alternatives are Lua, which adds per-request overhead, and proxy-wasm, whose ABI has remained effectively experimental for years with a real performance cost
- At sidecar density the per-proxy memory and CPU footprint is a measurable share of cluster capacity, since thousands of workloads each carry a full proxy, and this is precisely the cost that has pushed mesh projects towards node-level or ambient architectures
- There is no single vendor selling support for Envoy itself; you get the community plus control-plane vendors such as Solo.io and Tetrate, so an Envoy-level production bug is your own engineers in a C++ codebase unless a support contract happens to cover it
- Diagnosing why a request got a particular response involves reading config dumps, the stats endpoint and the RESPONSE_FLAGS codes in access logs rather than a readable error, which is a specific skill you must hire or spend months growing
How much do AWS WAF and Envoy cost?
AWS WAF starts at $5/mo; Envoy is free to use. Plan by plan below, from each vendor's own pricing page.
AWS WAF
$5/month- Pay-as-you-go$5/mo
- $5.00 per web ACL per month
- $1.00 per rule and $1.00 per rule group per month
- $0.60 per million requests
- Bot Control$10/mo
- $10.00 per web ACL per month subscription
- Common: $1.00 per million requests, first 10 million free
- Targeted: $10.00 per million requests, first million free
- Account Takeover and Fraud Control$10/mo
- $10.00 per web ACL per month per rule group
- $1,000 per million requests for the first 2 million, falling to $50 per million at the highest tier
Envoy
FreeNo published plan breakdown. See the Envoy review.
Which should you pick?
Choose Envoy if
- You need xds dynamic configuration.
- You want to start without paying.
- You also want protocol breadth.
Questions people ask
- Is AWS WAF or Envoy better?
- It depends on the job. AWS WAF fits blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancer; Envoy fits acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use it. AWS WAF starts at $5/month and Envoy at Free.
- Which is cheaper, AWS WAF or Envoy?
- Envoy has a free tier; the other does not. Paid plans start at $5/month for AWS WAF and Free for Envoy.
- Does AWS WAF or Envoy run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Envoy for free?
- Yes. Envoy has a free tier, so you can try it without paying. AWS WAF starts at $5/month.
- What is AWS WAF best used for?
- AWS WAF is most often used for blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer, rate limiting login and api endpoints that sit behind cloudfront, adding bot detection to a retail site already hosted on aws, applying one set of waf rules across many accounts through aws firewall manager. Of those, blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer and rate limiting login and api endpoints that sit behind cloudfront are not what Envoy is typically brought in for.
- What can AWS WAF do that Envoy cannot?
- AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.
Answered from the vendors’ own pages
AWS WAF: How much does AWS WAF cost per month?
On pay-as-you-go pricing it is $5.00 per web ACL and $1.00 per rule per month, plus $0.60 per million requests, per the AWS pricing page. Bot Control, fraud rules, CAPTCHA and logging are billed on top.
Envoy: Should I run Envoy on its own, or under a control plane?
Almost always under one. Directly authoring xDS or static bootstrap configuration is viable for a handful of routes and becomes unmanageable beyond that. Envoy Gateway, Istio, Contour, Gloo and Consul all exist to generate that configuration for you.
AWS WAF: Does AWS WAF work outside AWS?
No. It protects supported AWS resources such as CloudFront, Application Load Balancer and API Gateway. Origins elsewhere can be covered if they sit behind CloudFront.
Envoy: How does it compare with Nginx or HAProxy?
Envoy is dynamically configured over an API and instrumented far more heavily; Nginx and HAProxy are faster to configure and lighter for straightforward reverse proxying. If you never need to change routing without a reload, Envoy is more machinery than the problem requires.
AWS WAF: Is AWS WAF included with Shield Advanced?
Shield Advanced includes WAF usage for protected resources, up to 50 billion requests per month and 1,500 capacity units per web ACL, per the Shield pricing page.
Envoy: What does it cost?
Nothing to licence; it is Apache 2.0 and there is no paid edition. The cost is engineering time and, for most organisations, a commercial control plane or cloud service that packages it.
Envoy: Can I write extensions without C++?
You can write Lua filters or proxy-wasm modules in Rust, Go, C++ or AssemblyScript. Both carry per-request overhead compared with a native filter, and the Wasm path has been slower to stabilise than the project originally projected.
Envoy: Is it a CNCF project?
Yes, it is a graduated CNCF project licensed under Apache 2.0, which means the trademark and governance sit with the foundation rather than with Lyft or any vendor.
Related pages
Other head to heads
- AWS WAF vs Imperva
- AWS WAF vs FortiWeb
- AWS WAF vs Sucuri
- AWS WAF vs Wordfence
- AWS WAF vs Sophos Firewall
- AWS WAF vs Clerk
- AWS WAF vs Transcend
- AWS WAF vs Hanwha Vision
- AWS WAF vs Baffle
- AWS WAF vs Cisco Secure Firewall
- AWS WAF vs Palo Alto Networks Next-Generation Firewall
- AWS WAF vs Microsoft Intune
- AWS WAF vs Surfshark
- AWS WAF vs Jumio
- AWS WAF vs Semgrep
- AWS WAF vs Sumsub
- AWS WAF vs Windscribe
- AWS WAF vs FortiMail
- AWS WAF vs Istio
- AWS WAF vs Ona (formerly Gitpod)
- AWS WAF vs Spacelift
- AWS WAF vs Jenkins
- AWS WAF vs Hookdeck
- AWS WAF vs Atlantis
- AWS WAF vs Restate
- AWS WAF vs Datadog APM
- AWS WAF vs Leafmap
- AWS WAF vs Turborepo
- AWS WAF vs Helix
- AWS WAF vs Git
- AWS WAF vs GitHub
- AWS WAF vs SonarQube
- AWS WAF vs Sublime Text
- AWS WAF vs Buildkite
- AWS WAF vs GitLab CI/CD
- AWS WAF vs Eclipse
- Envoy vs Imperva
- Envoy vs FortiWeb
- Envoy vs Sucuri
- Envoy vs Wordfence
- Envoy vs Sophos Firewall
- Envoy vs Clerk
- Envoy vs Transcend
- Envoy vs Hanwha Vision
- Envoy vs Baffle
- Envoy vs Cisco Secure Firewall
- Envoy vs Palo Alto Networks Next-Generation Firewall
- Envoy vs Microsoft Intune
- Envoy vs Surfshark
- Envoy vs Jumio
- Envoy vs Semgrep
- Envoy vs Sumsub
- Envoy vs Windscribe
- Envoy vs FortiMail
- Envoy vs Istio
- Envoy vs Ona (formerly Gitpod)
- Envoy vs Spacelift
- Envoy vs Jenkins
- Envoy vs Hookdeck
- Envoy vs Atlantis
- Envoy vs Restate
- Envoy vs Datadog APM
- Envoy vs Leafmap
- Envoy vs Turborepo
- Envoy vs Helix
- Envoy vs Git
- Envoy vs GitHub
- Envoy vs SonarQube
- Envoy vs Sublime Text
- Envoy vs Buildkite
- Envoy vs GitLab CI/CD
- Envoy vs Eclipse
