Softwr

Developer Tools · head to head

AWS WAF vs Restate

AWS WAF logo

AWS WAF

Developer Tools

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

From
$5/month
Free plan
No
Restate logo

Restate

Developer Tools

Durable execution engine in Rust with a free tier and low-latency workflows

From
Free
Free plan
Yes

The short version

  • Restate has a free plan, then $300/mo; AWS WAF starts at $5/mo.
  • Only AWS WAF lists web ACLs and rules; only Restate lists durable execution.
  • 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 Restate differ?

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

Attributes where AWS WAF and Restate differ
AttributeAWS WAFRestate
Starting price$5/monthFree
Pricing modelPer web ACL, per rule and per million requestsPer month by durable action count
Free tierNoYes
PlatformsWebLinux, macOS, 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 6 only for Restate. 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 Restate

  • Durable execution
  • Virtual objects
  • Single binary runtime
  • Multi-language SDKs
  • Workflows and sagas
  • Restate Cloud

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 Restate
  • Rate limiting login and API endpoints that sit behind CloudFrontnot Restate
  • Adding bot detection to a retail site already hosted on AWSnot Restate
  • Applying one set of WAF rules across many accounts through AWS Firewall Managernot Restate

Restate

  • Payment or order flows where a crash between two external API calls must not double-charge or lose the ordernot AWS WAF
  • AI agent loops that call tools over minutes or hours and must survive a deployment mid-runnot AWS WAF
  • Replacing hand-rolled retry, idempotency key and outbox code across a set of microservicesnot AWS WAF
  • A small team that wants durable workflows without operating a Temporal cluster and its databasenot AWS WAF

Where do AWS WAF and Restate 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

Restate

  • The runtime is under a Business Source Licence rather than an open source licence, so building a competing managed offering on it is prohibited and some procurement functions will reject it on licence grounds alone
  • Restate Cloud jumps from a free fifty thousand actions straight to 300 US dollars a month for twenty million, so a workload sitting at a few hundred thousand actions pays enterprise-shaped money for hobby-shaped volume
  • It is a young project against Temporal’s established base, so hiring engineers who already know it is unrealistic and the answer to most questions is in the docs rather than on Stack Overflow
  • The programming model requires structuring code around durable handlers and virtual objects, which is a genuine rewrite for existing services rather than a library you add
  • The single-binary simplicity that makes small deployments cheap also means fewer operational knobs at very large scale than a system designed as separable components

How much do AWS WAF and Restate cost?

AWS WAF starts at $5/mo; Restate has a free plan, with paid plans from $300/mo. 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

Restate

Free
  • FreeFree
    • Fifty thousand durable actions per month
    • No credit card required
    • Community support
  • Starter$300/mo
    • Twenty million actions per month
    • Two hundred actions per second, bursting to one thousand
    • Twenty GB storage
  • Pro$1,000/mo
    • Fifty million actions per month
    • Five hundred actions per second, bursting to two thousand
    • Fifty GB storage
  • EnterpriseOn request
    • Negotiated volume
    • Twenty-four seven P0 support
    • 99.99 per cent SLA

Which should you pick?

Choose AWS WAF if

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

Choose Restate if

  • You need durable execution.
  • You want to start without paying.
  • You work on Linux, macOS, Web.
  • You also want virtual objects.

Questions people ask

Is AWS WAF or Restate 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; Restate fits payment or order flows where a crash between two external API calls must not double-charge or lose the order. AWS WAF starts at $5/month and Restate at Free.
Which is cheaper, AWS WAF or Restate?
Restate has a free tier; the other does not. Paid plans start at $5/month for AWS WAF and Free for Restate.
Does AWS WAF or Restate run on more platforms?
AWS WAF runs on Web. Restate runs on Linux, macOS, Web.
Can I use Restate for free?
Yes. Restate 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 Restate is typically brought in for.
What can AWS WAF do that Restate cannot?
AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Restate covers Durable execution, Virtual objects, Single binary runtime, Multi-language SDKs.

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.

Restate: Is Restate open source?

The SDKs are MIT. The runtime is under a Business Source Licence, which permits self-hosting but not offering it as a competing service.

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.

Restate: How does it compare with Temporal?

Same problem, different shape: one Rust binary with embedded storage instead of a server plus database plus workers, and lower per-step latency.

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.

Restate: Is there a free tier?

Yes, fifty thousand durable actions a month on Restate Cloud with no card required.

Restate: Which languages are supported?

TypeScript, Java, Kotlin, Go, Python and Rust.

Share

Related pages

Other head to heads