Softwr

Software · head to head

AWS WAF vs Nhost

AWS WAF logo

AWS WAF

Software

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

From
$5/month
Free plan
No
Nhost logo

Nhost

Software

Postgres backend with GraphQL, authentication, storage and functions, from $25 a month

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Nhost has a free plan, then $25/mo; AWS WAF starts at $5/mo.
  • Only AWS WAF lists web ACLs and rules; only Nhost lists postgres database.
  • 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 Nhost falls short: the API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default.

How do AWS WAF and Nhost differ?

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

Attributes where AWS WAF and Nhost differ
AttributeAWS WAFNhost
Starting price$5/monthFree
Pricing modelPer web ACL, per rule and per million requestsPer month plus usage
Free tierNoYes

Identical on both: platforms (Web).

Which features does each one have?

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

  • Postgres database
  • Hasura GraphQL
  • Authentication
  • Storage
  • Functions
  • AI toolkit
  • Nhost Run
  • Infrastructure as code

What is each one used for?

AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront; Nhost for A startup that wants Postgres, auth and a GraphQL API without writing a backend. 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 Nhost
  • Rate limiting login and API endpoints that sit behind CloudFrontnot Nhost
  • Adding bot detection to a retail site already hosted on AWSnot Nhost
  • Applying one set of WAF rules across many accounts through AWS Firewall Managernot Nhost

Nhost

  • A startup that wants Postgres, auth and a GraphQL API without writing a backendnot AWS WAF
  • A React or Vue team using real-time GraphQL subscriptionsnot AWS WAF
  • A developer who wants backend config in git through the CLInot AWS WAF
  • An app that needs file storage and auth plus a few server functionsnot AWS WAF

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

Nhost

  • The API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default
  • Starter projects are paused after one week of inactivity, which makes the free tier unsuitable for anything that must stay available
  • Point-in-time recovery starts at $100 on top of the plan, so recovery beyond the 7 days of daily backups is an extra cost
  • Compute, custom domains ($10 per project per month), egress and storage overage are metered, so the plan fee understates the running bill for a busy app
  • Team costs $599 a month, a large jump from Pro at $25, so growing teams that need the Team tier's limits face a steep step

How much do AWS WAF and Nhost cost?

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

Nhost

Free
  • StarterFree
    • 1 project and 1 workspace member
    • 1 GB database, 1 GB storage, 5 GB egress
    • 10 functions with 10 second execution time
  • Pro$25/mo
    • $15 in compute credits included
    • 10 GB database, 50 GB storage, 50 GB egress
    • 50 functions, 180 second execution time
  • Team$599/mo
    • $15 in compute credits included
    • Everything in Pro, with 600 second function execution time
  • EnterpriseOn request
    • Custom pricing
    • Dedicated clusters available as an add-on

Which should you pick?

Choose AWS WAF if

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

Choose Nhost if

  • You need postgres database.
  • You want to start without paying.
  • You also want hasura graphql.

Questions people ask

Is AWS WAF or Nhost 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; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. AWS WAF starts at $5/month and Nhost at Free.
Which is cheaper, AWS WAF or Nhost?
Nhost has a free tier; the other does not. Paid plans start at $5/month for AWS WAF and Free for Nhost.
Does AWS WAF or Nhost run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Nhost for free?
Yes. Nhost 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 Nhost is typically brought in for.
What can AWS WAF do that Nhost cannot?
AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

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.

Nhost: How much does Nhost cost?

Starter is $0, Pro is $25 a month and Team is $599 a month, plus metered usage beyond included amounts. Enterprise is custom.

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.

Nhost: Does the free plan pause?

Yes. Starter projects are paused after one week of inactivity.

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.

Nhost: Are there user limits on auth?

No. The pricing page lists unlimited total users on every plan.

Share

Related pages

Other head to heads