Skip to content

Outage explained

The Fastly outage of June 2021, explained

For under an hour, many of the world’s biggest news sites, shops and government pages returned errors at once. They all shared one thing: the same CDN.

3 min read10 sectionsUpdated

On this page

Key points

  • When: 8 June 2021, under an hour of major impact
  • Who: Fastly and the sites that use its CDN
  • Impact: Most of Fastly’s network returning errors; many major websites briefly unavailable

What happened

In mid-May 2021, Fastly deployed a software release that contained a bug which could be triggered by a specific customer configuration under specific circumstances. On 8 June, a customer pushed a valid configuration change that included those circumstances, and the bug caused most of Fastly’s network to return errors.

Fastly detected the problem within about a minute, identified the configuration that triggered it, disabled it, and most of the network recovered within the hour. A permanent fix for the bug was deployed later the same day.

The root cause

A latent software bug that a valid customer configuration could trigger, in a system where one customer’s change could affect the whole shared network.

Why it was so big

A CDN is shared infrastructure in front of many sites, so one fault reaches all of them at once. Many sites had no fallback because the CDN is also what absorbs their traffic and protects their origins.

Lessons for every team

Isolate tenants

In a shared system, one tenant’s configuration should not be able to affect others. Validate and stage configuration like code.

Fast detection and rollback beat prevention alone

Fastly’s response was quick because it could find and disable the trigger. Know how to roll back configuration, not only code.

Decide on a CDN fallback

For critical sites, consider multi-CDN or a documented way to bypass the CDN, and test it.

Watch from outside

Internal dashboards share fate with the systems they watch. Checks from several outside regions keep working when your own network, DNS or monitoring stack does not.

What monitoring can and cannot do here

Outside uptime checks on your own domain catch a CDN failure immediately, because they go through the same edge your users do. Check which CDN serves a site, and its cache status, with the HTTP headers checker.

Source: Fastly’s summary of the June 8 outage. This summary is ours; read the original for the full detail.

Frequently asked questions

What caused the Fastly outage?

A customer’s valid configuration change triggered a latent bug from a software release deployed in May 2021.

How long did it last?

Most of the network recovered in under an hour.

Why did so many sites go down?

They all used Fastly’s CDN, which sits in front of every request.

Check it now, free

Know about your own outages first

Uptime checks every minute, alerts with on-call escalation, incident timelines and a status page, with a free tier on every product.