Non-FictionCrisis ManagementEdge Computing

Fastly Edge Outage Protocol eBook

Emergency response when Fastly CDN fails, includin

by Denning Zackary

  • English
  • 131 pages
  • 2026
  • SamEnrico

Emergency response when Fastly CDN fails, including cache bypass and regional failover.

Formats

Free sample

Chapter 1: The 3:14 AM Wakeup--The vibration against his hip felt like a trapped hornet. On-call engineer Sarah Chen groaned, fumbled for her phone on the nightstand, and squinted at the blinding screen. 3:14 AM. Saturday. Pager Duty. The message was brief, which meant it was bad: "Error rate 34% globally. Fastly. All services impacted."She was out of bed before her feet touched the floor, laptop already booting as she stumbled toward the kitchen. Her husband mumbled something about the cat. She didn't answer. Thirty-four percent. Not a blip. Not a spike that would auto-resolve. This was a fire.By 3:17 AM, she was logged into the Fastly dashboard. The graphs were a sea of red. Every POP—every single point of presence from Newark to Tokyo to São Paulo—was showing elevated 503s. Her phone buzzed again. Then again. Slack was exploding: "Is it us?" "Did we deploy something?" "Anyone else seeing this?" Then the message that made her blood run cold."Fastly status page is green."The words hung there like a lie. The official Fastly status page—the one the entire internet trusted—showed all systems operational. Green checkmarks across the board. But Sarah's own synthetic probes, the ones she'd set up after reading a blog post three years ago, were screaming. Her monitors in us-east-1, eu-west-1, and ap-southeast-1 were all reporting the same thing: Fastly was returning 503s for 34% of requests, but only for certain URL patterns. The status page was averaging global health across all Fastly customers, and somehow, some way, those averages looked fine.She had fifteen minutes to decide what to do. That was the window. Fifteen minutes before she had to either fix this or fail over to the backup CDN. Fifteen minutes before her CEO would start getting emails from the revenue team about the shopping cart being broken for a third of their customers.This chapter is about what Sarah did next—and what she should have done six months earlier. It's about why a CDN outage is not like an origin outage, why the Hashi Corp purge disaster of 2023 became a case study in how to make things worse, and why you need to understand the three failure modes of edge computing before you ever get that 3:14 AM page.Let's start with the core argument: A CDN outage is more destructive than an origin outage. Not different. More destructive. When your origin server fails, you know it. Your monitors alert. Your database goes read-only. Your load balancers show zero healthy nodes. The problem is contained, visible, and—usually—fixable.But when your CDN fails, you lose everything at once. Caching disappears, so every request hits your origin. DDo S mitigation evaporates, so your origin faces the full fury of the internet. WAF rules stop executing, so malicious traffic flows straight through. Compression stops, so bandwidth costs spike. And worst of all, you lose visibility—because your monitoring tools, the ones you spent months perfecting, are all looking at your origin, which is probably still working fine, blissfully unaware that the edge has turned into a black hole.The Hashi Corp Trap The most instructive failure in recent memory—the one that every SRE should memorize—is the Hashi Corp outage of May 2023. Hashi Corp, the company behind Terraform, Vault, and Consul, ran its static assets (CSS, Java Script, product images) on Amazon S3, fronted by Fastly. It was a standard, sensible architecture. Until it wasn't.On that day in May, AWS S3 began returning 500 Internal Server errors for a subset of requests. Not a full outage. Not a brownout. Just enough errors to be annoying. Under normal circumstances, Fastly's cache would have absorbed the problem. Most requests would hit cache and never touch S3. The 500s would be invisible to users.But someone—we don't know who, and it doesn't matter because any of us could have done it—decided to purge the cache. Maybe they were trying to force fresh content. Maybe they were following a runbook that said "when in doubt, purge." Maybe they just panicked. Whatever the reason, they hit the "Purge All" button in the Fastly dashboard.Here's what happened next: Fastly dutifully emptied its cache. Every POP deleted every stored object. Then, when the next request came in for a CSS file, Fastly had no choice but to ask S3 for a fresh copy. S3 returned a 500. Fastly cached that 500. And then served that 500 to every subsequent request for that file, globally, for hours.The purge had destroyed the only good copies of the data. The origin was serving errors, and the CDN was now serving those errors with enthusiasm. The result was a complete outage of Hashi Corp's documentation, downloads, and website—all because someone tried to fix a problem by purging the cache.We'll dissect the technical solution to this problem—the "Recovery Generation" feature that Fastly Support can use to roll back a purge—in Chapter 6. For now, the lesson is simple: Purging during an incident is like deleting your backups while your primary storage is on fire. Do not do it. Never do it without verifying origin health first.But the Hashi Corp outage teaches a second, deeper lesson: CDNs are not magic. They are distributed systems with failure modes that are fundamentally different from origin failures. Understanding these failure modes is the first step toward surviving them.The Three Failure Modes of the Edge Every Fastly outage falls into one of three categories. The correct response depends entirely on which category you're facing. Misdiagnose the failure mode, and you'll waste precious minutes applying the wrong fix—or worse, make the problem worse.Failure Mode #1: Total Network Failure This is the nightmare scenario. Every POP returns 503s. No traffic gets through. The edge is completely silent. Your origin receives zero requests because requests never make it past Fastly's network.Symptoms: All your synthetic probes fail. curl commands time out. The Fastly status page may show "Degraded Performance" or "Major Outage." Users see browser errors like "Connection timed out" or "Server not found."Causes: BGP route leaks, DNS issues at Fastly's authoritative nameservers, DDo S attacks overwhelming the Anycast network, or catastrophic software bugs in Fastly's core routing layer.What works: Nothing on the Fastly side. You cannot deploy VCL. You cannot change configurations. The API may be up (control plane separate from data plane) or it may be down. The only viable responses are DNS failover to a secondary CDN (Chapter 8) or waiting for Fastly to recover.What does not work: Purging (no traffic to serve), VCL changes (no requests to process), or scaling your origin (requests aren't reaching you anyway).Failure Mode #2: Control Plane Unavailability This is the insidious one. The edge is serving traffic. Users can load your site. But you cannot change anything. The Fastly API returns 500s or times out. Your Terraform apply fails. You cannot deploy VCL, purge objects, or update configurations.Symptoms: Traffic flows normally, but the Fastly dashboard is slow or unreachable. curl -X GET "https://api.fastly.com/service/..." returns errors. Your CI/CD pipeline fails with "connection timeout." Users may not notice anything wrong—yet.Causes: Fastly's internal databases degraded, API servers overloaded, or a dependency (like their KV store) failing. Often happens during major incidents when everyone tries to change configurations simultaneously.What works: Pre-deployed bypass logic (Chapter 4.5). If you already have VCL…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

Emergency response when Fastly CDN fails, including cache bypass and regional failover.

Details

Author
Denning Zackary
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Crisis Management, Edge Computing
Released
2026-06-09
Pages (approx.)
131
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Denning Zackary

See all

You may also like

See all