Building and running websites and apps on Vercel

UAE · India

Bots hammering your login or forms? The Vercel WAF rules to write first, and the cost

By Shivanath DevinarayananPublished 6 min read
Written forHead of digital, IT manager, or founder who owns the company website or web app, signs the hosting bill and answers client security questionnaires“Our site and web app live on an old server, and the security questionnaire is due.”

The short answer

Which Vercel WAF rules should a business site write first, and is the Pro plan enough?

Write rules from your own routes: a rate limit on sign-in and on each form, an IP block list, and a challenge on paths only bots use. Pro allows 40 custom rules, which covers most business sites. The OWASP managed rulesets are Enterprise only. At Mindcat, we log every rule through a normal business cycle before it blocks anyone.

A sign-in page on a laptop behind a glowing gate that lets a few visitors through and holds back a crowd of identical bots

Takeaways

  1. 01Custom rules, IP blocking and DDoS mitigation are free on every plan. Rate limiting and managed rulesets are priced.
  2. 02Pro allows 40 custom rules and 100 project IP blocks. OWASP managed rulesets need Enterprise.
  3. 03Traffic the WAF denies, challenges or rate-limits adds no CDN requests or data transfer to your bill.
  4. 04Run each new rule in Log mode first. A change goes live in about 300 ms and rolls back from the audit log.

If your sign-in page or enquiry form gets thousands of hits a night from the same few addresses, this is for you. It is not for a site that has seen no abuse yet and has no sign-in: the platform's default protection runs on every plan, and writing rules for traffic you do not have only adds things to maintain.

What does the firewall do before you write a rule?

Vercel runs DDoS mitigation on every request on every plan, with no setup, and does not charge for traffic it blocks. Then, in order, it applies your IP blocks, your custom rules and, on Enterprise, the managed rulesets.

Vercel Firewall order: DDoS mitigation, then IP blocking, then your custom rules, then managed rulesets
The order Vercel runs each layer, from its Firewall docs.

What the defaults do not do is know your site. They cannot tell that 300 sign-in attempts from one address in ten minutes is an attack and 300 page views is a busy morning. That is the job of the rules you write, and the reason the first rules should come from your routes, not from a generic list.

What the WAF covers, what it costs and how we set it up is on the WAF page.

Is Pro enough, or do you need Enterprise rulesets?

For most business sites, Pro is enough. The limits, from Vercel's WAF docs as of 16 October 2026:

WAF limits by plan

CriterionHobbyProEnterprise
Custom rulesUp to 3Up to 40Up to 1,000
Project IP blocksUp to 3Up to 100Up to 1,000
Managed rulesets (OWASP)NoNoContact sales
From Vercel's WAF docs, as of 16 October 2026.

Count your routes before you count rules: in the sample plan below, five rules cover a site with a sign-in and two forms, which leaves 35 of Pro's 40 for later. Each rule can match on more than 15 things, including path, country, IP, user agent, headers, cookies and the JA3 and JA4 fingerprints, and it understands framework routes such as /blog/[slug].

The line that matters is the third row. The OWASP core ruleset, the managed rules that look for injection and similar attacks, is Enterprise only. So on Pro the WAF does not answer the "how do you stop SQL injection" row of a security questionnaire. Your code does: parameterised queries, input checks, and a dependency scan. Do not write "WAF protects against OWASP Top 10" for a Pro app. Hobby is out for any business site anyway, because Vercel restricts it to non-commercial use.

Which rules do we write first for a property manager's site?

Five, in this order. Take a sample Dubai property manager whose site on Vercel has vacancy listings, a maintenance request form and an owner sign-in. This is a sample plan, not a client's setup.

RuleMatchesAction
1. Sign-in rate limitPOST to the owner sign-in routeRate limit per IP, then Deny
2. Form rate limitPOST to the maintenance and enquiry routesRate limit per IP
3. Known bad addressesIPs from your logs that keep attackingIP block
4. Paths only bots tryAdmin paths for software you do not run, such as WordPress login pagesDeny
5. Your own toolsYour uptime monitor and partner webhooksBypass, so rules 1 to 4 never stop them
First rules for a property site: rate-limit sign-in and forms, block bad IPs, deny bot-only paths, allow monitors
The first five rules we write for a property manager's site.

Two things we leave out on day one. A country block is tempting, but a landlord who lives abroad is a normal owner (we wrote about renewing an Ejari from abroad), and a block on their country locks out the people who pay the fees. A Challenge on the whole site adds a check for every tenant; put it on the routes that need it. For the sign-in and form work itself, our property management page shows the rest of the system the site feeds.

What does it cost to run?

Little in platform fees; the cost is in what each request does. These are Vercel's prices as of 16 October 2026.

  • Free on every plan: DDoS mitigation, IP blocking and custom rules.
  • Rate limiting: Hobby includes 1 million allowed requests a month. Pro starts at USD 0.50 per million allowed requests.
  • OWASP managed ruleset (Enterprise): USD 0.80 to USD 1.28 per million inspected requests, priced by region.
  • What you do not pay for: traffic the WAF denies, challenges or rate-limits adds no CDN Requests and no Fast Data Transfer. A request that passes a challenge and goes on to your app counts as normal usage.

Put numbers on a flood. One million sign-in attempts that reach your app are one million function invocations, USD 0.60 on Pro, plus the CPU time each one uses (from USD 0.128 per active CPU hour). That is small. The real cost is what each attempt does: a database lookup, a password check, a possible account lockout for a real owner, and, on a form, a fake record someone has to delete. If a route calls a language model, each abusive request is also a token bill, so put a rate limit on that route before any other. Denied or rate-limited at the firewall, the same million adds no CDN Requests and no Fast Data Transfer. Pro itself is USD 20 a month, with USD 20 of usage credit and one deploying seat, and usage after the credit is metered, so set a spend limit in the dashboard either way.

How do you switch a rule on without locking out tenants?

Log it first, for a full business cycle. Vercel lets you publish a rule with the Log action, so you see which requests it would catch before it touches anyone.

  1. 01Publish the rule with the Log action and note the current config version in the audit log.
  2. 02Watch it through a normal weekday and, for rent or payment routes, a month-end, when tenants pay and report faults.
  3. 03If it only catches what you meant, switch it to Deny, Challenge or Rate limit. Vercel says the change reaches every region in about 300 ms.
  4. 04If real users get stopped, restore the earlier version from the audit log, then fix the rule.
Switch on a rule in four steps: publish in Log mode, watch a day, switch to Deny or Rate limit, keep the rollback
Log first, then block, with the rollback ready.

One thing to settle early is Cloudflare. If your agency put it in front of the site, Vercel's docs say its bot protection does not work behind a reverse proxy, so pick one layer for bot checks, not both.

Keep the rules in code once there are more than a few. Vercel lets you manage the firewall through its REST API, SDK or Terraform, and send firewall logs to your security tools through Drains. Then a rule change is reviewed like any other change, and the history lives somewhere other than one person's memory.

What happens on the first call?

If your site is on Hobby, or you have no sign-in, no forms and no abuse in your logs, wait: move to the right plan first, or leave the defaults to do their job.

If not, send us the site address and tell us which page is being hit; we pull the logs with you. We call the method Preview every change: each rule is tried on a preview deployment, a copy of the site only your team can open, and then in Log mode on production, before it blocks anyone. The written assessment lists the rules, the plan they need and what they cost to run. For the rest of what we build on the platform, see everything we build on Vercel. The assessment is free, and the first build week is a fixed AED/SAR 14,900, credited in full if you sign the build within 60 days. Run plans are on What you get. We are not a Vercel partner; Vercel is the product we build on.

Filed under

Building and running websites and apps on Vercelvercel rate limitingvercel firewall rulesvercel waf pricingowasp managed rules vercel
Useful to someone on your team?

FAQ

Questions teams ask next

Is the Vercel WAF available on the Pro plan?
Yes. Vercel says the WAF is available on all plans. Pro allows up to 40 custom rules and up to 100 project-level IP blocks, against 3 and 3 on Hobby and up to 1,000 each on Enterprise. The WAF managed rulesets, including the OWASP core ruleset, are listed for Enterprise only, through sales.
Does blocked traffic count toward my Vercel bill?
Vercel's WAF pricing page says traffic that is denied, challenged or rate-limited does not incur CDN Requests or Fast Data Transfer. Requests that pass a challenge and continue to your app count as normal usage. Rate limiting itself is priced: on Pro it starts at USD 0.50 per million allowed requests, as of 16 October 2026.
Can I undo a firewall rule that blocks real users?
Yes. Vercel says a configuration change takes effect globally within 300 milliseconds and can be rolled back. In the project's Firewall view you open the audit log, pick the earlier version by date and time, and restore it. Write down which version is your known good one before you change anything.

Sources

  1. 01Vercel docs: Vercel WAF (limits, rollback, propagation)Accessed 16 Oct 2026
  2. 02Vercel docs: Usage and pricing for Vercel WAFAccessed 16 Oct 2026
  3. 03Vercel: Web Application Firewall product page and FAQAccessed 16 Oct 2026
  4. 04Vercel docs: Vercel Firewall (execution order, Drains, Terraform)Accessed 16 Oct 2026
  5. 05Vercel: PricingAccessed 16 Oct 2026
  6. 06Vercel docs: Regional pricingAccessed 16 Oct 2026
Shivanath Devinarayanan, founder of Mindcat

Written by

Shivanath Devinarayanan

Founder, Mindcat Consulting · Salesforce MVP Hall of Fame

Runs 200+ agents in production. Reads every brief that comes in and signs the work that goes out.

About Shivanath

Build It, Preview It, Run It · the written assessment

We work in real estate and right now, leads go cold before anyone replies.

Industry
Problem

Brief: Real estate. Leads from portals and WhatsApp. Follow-up has no owner. An agent on a named process. A reviewer on the exceptions. From: /blog/vercel-waf-login-rate-limit.