Softwr

Cloud · head to head

AWS WAF vs Fastly

AWS WAF logo

AWS WAF

Cloud

Managed web application firewall for CloudFront, load balancers and APIs on AWS

From
$5/month
Free plan
No
Fastly logo

Fastly

Cloud

High performance edge computing platform

From
Free
Free plan
Yes

The short version

  • Fastly is an edge cloud platform.
  • Fastly is free; AWS WAF starts at $5/mo.
  • Only AWS WAF lists web ACLs and rules; only Fastly lists edge Compute.
  • 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.
  • Where Fastly falls short: bandwidth is priced per region, and delivery to India, Africa and South Korea is $0.28 per GB against $0.12 in North America and Europe.

How do AWS WAF and Fastly differ?

AWS WAF and Fastly differ on starting price ($5/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS WAF and Fastly actually diverge.

Attributes where AWS WAF and Fastly differ
AttributeAWS WAFFastly
Starting price$5/monthFree
Pricing modelPer web ACL, per rule and per million requestsUsage-based
Free tierNoYes
PlatformsWebWeb, API

Not yet recorded: category for AWS WAF, founded for AWS WAF.

Which features does each one have?

They share no listed features; 6 appear only for AWS WAF and 17 only for Fastly. 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 Fastly

  • Edge Compute
  • CDN
  • DDoS Protection
  • Real-time Analytics
  • Image Optimization
  • Video Streaming
  • API
  • Instant Purge

What is each one used for?

AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront; Fastly for serving static and dynamic content through a global CDN. 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 Fastly
  • Rate limiting login and API endpoints that sit behind CloudFrontnot Fastly
  • Adding bot detection to a retail site already hosted on AWSnot Fastly
  • Applying one set of WAF rules across many accounts through AWS Firewall Managernot Fastly

Fastly

  • Serving static and dynamic content through a global CDNnot AWS WAF
  • Running edge logic and caching in front of an origin applicationnot AWS WAF

Where do AWS WAF and Fastly fall short?

Fastly's most cited limit: the free allowance is 100 GB of bandwidth and 1M requests a month. 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

Fastly

  • Bandwidth is priced per region, and delivery to India, Africa and South Korea is $0.28 per GB against $0.12 in North America and Europe
  • The same traffic therefore costs more than twice as much depending on where the audience is, which is invisible until the bill arrives
  • The free allowance is 100 GB of bandwidth and 1M requests a month
  • Requests are billed separately from bandwidth, at $0.01 per 10,000 above the first million
  • High volume rates past 50 TB are not published and require contacting sales

How much do AWS WAF and Fastly cost?

AWS WAF starts at $5/mo; Fastly 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

Fastly

Free
  • Free TrialFree
    • CDN
    • DDoS protection
    • Real-time analytics
  • Pay-As-You-GoFree
    • Usage-based pricing
    • Advanced features
    • Priority support

Which should you pick?

Choose AWS WAF if

  • You need web acls and rules.
  • You also want managed rule groups.

Choose Fastly if

  • You need edge compute.
  • You want to start without paying.
  • You work on Web, API.
  • You also want cdn.

Questions people ask

Is AWS WAF or Fastly 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; Fastly fits serving static and dynamic content through a global CDN. AWS WAF starts at $5/month and Fastly at Free.
Which is cheaper, AWS WAF or Fastly?
Fastly has a free tier; the other does not. Paid plans start at $5/month for AWS WAF and Free for Fastly.
Does AWS WAF or Fastly run on more platforms?
AWS WAF runs on Web. Fastly runs on Web, API.
Can I use Fastly for free?
Yes. Fastly 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 Fastly is typically brought in for.
What can AWS WAF do that Fastly cannot?
AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Fastly covers Edge Compute, CDN, DDoS Protection, Real-time Analytics.

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.

Fastly: Does Fastly charge based on usage or a flat monthly fee?

Fastly operates on a usage-based model with volume discounts. They offer a free tier with 100 GB bandwidth and 1M requests for experimentation, then customers pay per unit consumed with tiered discounts as consumption increases.

Source
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.

Fastly: What are Fastly's main service packages and their costs?

Fastly offers Network Services Packages ($1,500-$6,000/month baseline), Security Packages (custom pricing), Compute Packages ($500/month entry level), and Observability Packages ($1,500/month entry level). Enterprise solutions include custom quotes for high-volume deployments.

Source
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.

Fastly: Can I start using Fastly for free?

Yes, Fastly offers a free tier with generous allowances for experimentation including 100 GB bandwidth and 1M requests. You can start building free and only pay when you use additional resources.

Source
Fastly: Are there surprise overage charges with Fastly?

Fastly advertises predictable pricing with no surprise overages. The pricing structure is designed to be transparent as consumption grows.

Source
Share

Related pages

Other head to heads