How to Diagnose an AI Bot Traffic Surge

About the Author

Abdulrahman Ghodayah

SRE and Security Manager

Abdalrahman is a client-centric SRE and Security Manager at Vardot, where he leads a team of DevOps Engineers and supports the delivery of secure, reliable, and scalable digital platforms. He brings strong experience in automating, optimizing, and securing deployment workflows, helping teams improve operational efficiency, system resilience, and service uptime. He holds a Master’s in Computer Science and is pursuing an MBA, combining deep technical expertise with a growing strategic and business perspective to align engineering practices with client needs, business goals, and long-term platform sustainability.

FAQs

Most bot traffic causes no problem at all, so the question is not whether crawlers are hitting the site but what share of the traffic came from undeclared or non-compliant ones. Establish the window when the slowdown started, then compare the traffic mix inside it against your normal mix of real users and legitimate bots. Read the window across your application monitoring, CDN analytics, and hosting alerts together, and check whether the geographic distribution matches your actual audience.

The user agent cannot identify a bot on its own, because any operator can set a user agent string to imitate Googlebot or GPTBot. Reliable identification combines the full user agent with the source IP ranges and your CDN's own verification. Cloudflare's known-bots classification is available out of the box and handles most of this automatically.

Robots.txt does not stop AI crawlers, because the Robots Exclusion Protocol is advisory rather than enforceable. Reputable operators including Google and the major LLM providers honour it alongside noindex and nofollow directives. Crawlers that ignore it must be handled at the edge with CDN or WAF rules, since nothing in the protocol compels compliance.

Blocking all bots is dangerous for any organisation whose traffic arrives through discovery, because blocking every crawler removes the indexing that search and AI referrals depend on, and traffic does not recover immediately when the rule is lifted. A temporary challenge mode is the right containment step. Permanent blocking should follow a deliberate decision about which crawler categories you serve.

A spider trap is a page structure that generates an effectively unlimited number of URLs, most often through faceted filters, calendar views, or sort parameters where each combination produces a new address. Crawlers treat every URL as a distinct page and keep fetching, which can produce millions of requests from a compliant, well-behaved bot. The fix belongs in the CMS rather than the firewall.

Join the conversation +