← All incidents
Incident dossier · Rank #35 · magnitude 6.3

Fastly Global CDN Outage — Latent Software Bug (June 8, 2021)

Fastly 2021-06-08 1h 13m to substantial restoration SoftwareNetwork

Summary

An undiscovered software bug introduced in a mid-May Fastly software deployment lay dormant until a single customer configuration change triggered it on 8 June 2021, disabling roughly 85% of Fastly's global CDN and taking major sites (Amazon, Reddit, gov.uk, The New York Times, Twitch) offline worldwide for about an hour.

Users affected
Global users of major sites (Amazon, Reddit, gov.uk, NYT, Twitch, Spotify, Shopify)
Duration
1h 13m — Onset 09:47 UTC → majority of services recovered 11:00 UTC (95% normal by 10:36, 49 min).
Financial
Not published
Scope
Sev-1 global CDN (software)
Site
Fastly global edge CDN network · Global, Global
Services down
~85% of Fastly CDN globally, Major customer sites (Amazon, Reddit, gov.uk, NYT, Twitch)

How the defences failed

How the defences failed — Fastly4 failure modes in the order the sequence of events first shows them, 1 latent conditions with no moment in the record, ending in the outcome: 85% of edge errors · 49 min to 95%.LATENT — IN PLACE BEFORE THE EVENTFM-02 · RPN 405QA misses rare config stateS9 · O5 · D9ACTIVE — IN THE ORDER THE RECORD SHOWS THEMFM-01 · RPN 216Latent bug on valid configS9 · O4 · D6FM-03 · RPN 162Config spreads with no canaryS9 · O3 · D6FM-05 · RPN 252Sole-CDN sites go darkS7 · O4 · D9FM-04 · RPN 224Mitigation only by handS7 · O4 · D8OUTCOME85% of edge errors · 49 min to 95%LEGENDHigh priorityMedium or low priorityMedium or low priority, no published actionNext failure in the record
How the defences failed — Fastly4 failure modes in the order the sequence of events first shows them, 1 latent conditions with no moment in the record, ending in the outcome: 85% of edge errors · 49 min to 95%.LATENT — BEFORE THE EVENTFM-02 · RPN 405QA misses rare config stateS9 · O5 · D9ACTIVE — RECORD ORDERFM-01 · RPN 216Latent bug on valid configS9 · O4 · D6FM-03 · RPN 162Config spreads with no canaryS9 · O3 · D6FM-05 · RPN 252Sole-CDN sites go darkS7 · O4 · D9FM-04 · RPN 224Mitigation only by handS7 · O4 · D8OUTCOME85% of edge errors · 49 min to 95%LEGENDHigh priorityMedium or low priorityMedium or low priority, no published actionNext failure in the record
Every failure mode of the FMEA below. Active modes run in the order the sequence of events first shows them — record order, not a proof of cause; latent modes were in place before the event. Red outline: high priority. Dashed: no published corrective action.
Magnitude sub-scores (0–10)Magnitude sub-scores (0–10)Users 7Users affected (0–10) — breadth of the user/customer population impacted. — scored 7/10.Financial 5Financial impact (0–10) — direct + consequential cost. — scored 5/10.Duration 4Outage duration (0–10), from the measured duration by fixed bands: <1 h 3 · 1–4 h 4 · 4–12 h 5 · 12–24 h 6 · 1–3 d 7 · 3–7 d 8 · 7–30 d 9 · >30 d 10; no customer downtime 1. — scored 4/10.Blast 8Blast radius (0–10) — how wide the fault propagated across systems/regions. — scored 8/10.
Magnitude 6.3 = blast 8×0.35 + users 7×0.25 + financial 5×0.20 + duration 4×0.20 (sub-scores 0–10 · weighted composite)

A single customer config change triggered a latent bug that disabled ~85% of Fastly's CDN, taking major sites offline globally for ~1h — sub-scores ESTIMATED from public impact reporting, pending deep research.

All 11 impact metrics
Share of global network returning errors~85%
Network operating normally within 49 minutes95%
Latent-defect dwell time (deploy to trigger)~27 days (May 12 to June 8)
Detection latency (onset to monitoring alert)~1 minute (09:47 to 09:48 UTC)
Onset to public status post~11 minutes (09:47 to 09:58 UTC)
Onset to root cause identified~40 minutes (09:47 to 10:27 UTC)
Onset to services begin recovering / 95% normal~49 minutes (09:47 to 10:36 UTC)
Onset to majority of services recovered~73 minutes (09:47 to 11:00 UTC)
Onset to incident fully mitigated~2h48m (09:47 to 12:35 UTC)
Onset to permanent bug-fix deployment start~7h38m (09:47 to 17:25 UTC)
Confirmed major sites taken offline (verbatim subset)6 (Amazon, Reddit, gov.uk, NYT, Guardian, BBC)

Sequence of events

  1. TRIGGER Fastly begins a software deployment that introduces the latent bug 'that could be triggered by a specific customer configuration under specific circumstances'; the defect lies dormant across the global edge fleet for ~27 days, having passed pre-deployment QA and testing.Change owner
  2. TRIGGER Onset — a customer pushes a valid configuration change meeting the 'specific circumstances,' activating the dormant bug (the ignition analogue: a legitimate action strikes the latent defect).Customer
  3. CASCADE ~85% of Fastly's global edge network begins returning errors instead of serving content; because the defective code was already resident fleet-wide, the fault propagates network-wide almost immediately — the software analogue of near-instant global spread.
  4. DETECTION Fastly monitoring identifies the global disruption 'within one minute' (the fire-detection-system analogue) — no smoke/heat sensors; observability tooling flags the network-wide error surge.First responder
  5. IMPACT Major downstream sites go dark globally — Reddit, gov.uk, Amazon, The New York Times, The Guardian and the BBC 'become unavailable' (press also cited Twitch, Spotify, GitHub and others).
  6. DETECTION Fastly publishes a public status post acknowledging the incident (~11 min after onset) — the external-alarm analogue; self-reported, no emergency-services call.Communications lead
  7. MITIGATION Fastly internal incident-response engineering (the 'emergency services' analogue) works the network-wide error condition between detection and root-cause identification; no external brigade dispatched — self-detected and self-driven.
  8. MITIGATION Fastly Engineering identifies the customer configuration as the cause (~40 min after onset) — the root-cause-identification step preceding suppression — then moves to isolate and disable it.Operations lead
  9. MITIGATION Impacted services begin to recover as the triggering configuration is disabled and healthy state is forced across the fleet (the manual 'suppression' analogue — no automatic suppression existed to halt the fault).Operations lead
  10. RECOVERY Per Fastly's own summary, 'Within 49 minutes, 95% of our network was operating as normal' — restoration by config-disable, not de-energisation: edge PoPs stayed powered and were returned to the healthy request path (the electrical-isolation analogue was logical, not physical).
  11. RECOVERY Majority of services recovered — global end-user disruption lasted roughly 49 minutes for most affected sites and up to ~73 minutes for the tail.
  12. RECOVERY Incident declared mitigated (~2h48m after onset) — containment complete, error rates normalized across the network.
  13. RECOVERY Fastly's public status post is marked resolved — end of the customer-facing incident window.
  14. RESTORED Deployment of the permanent bug fix begins across the network — 'We created a permanent fix for the bug and began deploying it at 17:25' — the true permanent 'suppression,' separate from the earlier config-disable mitigation.Service recovery lead
  15. RESTORED Fastly apologizes — 'This outage was broad and severe, and we're truly sorry for the impact to our customers' — and commits to investigating why QA/testing missed the bug and to 'evaluate ways to improve our remediation time.'Communications lead

Response by role

7 roles/8 recorded actions/26 playbook actions across 5 failure modes/no recorded action: Incident commander

What each role did

Roles the sequence of events shows acting; every entry quotes its source line. Select a time to jump to it.

Role
Detect
Contain
Recover
First responderFastly monitoring and on-call engineers — not individually named
no record
no record
Change ownerFastly engineers who began the 12 May software deployment — not named
  • Begins the 12 May deployment that carries the dormant bug to the global fleet
no record
no record
Operations leadFastly Engineering, who identified and disabled the triggering configuration
no record
  • Identifies the customer configuration at 10:27 UTC, then moves to isolate and disable it
  • Disables the triggering configuration; services begin to recover at 10:36 UTC
no record
Service recovery leadFastly Engineering, who built and deployed the permanent fix
no record
no record
Communications leadFastly status page and the post-mortem by Nick Rockwell
no record
CustomerThe unnamed customer who pushed the valid configuration, and sites such as Reddit, gov.uk and the BBC
no record
no record

Role by role

Recorded actions / playbook actions per role. A role with 0 recorded actions does not appear in the sources.

Fastly monitoring and on-call engineers — not individually named — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.

On the record

  1. Monitoring flags the network-wide error surge at 09:48 UTCFastly monitoring identifies the global disruption 'within one minute'

Playbook analyst guidance by failure mode, not a record of what happened

Detect
  • FM-02Watch the error-handling path in the edge software for first hits of unexercised codeSRE incident mgmt
  • FM-04Track detection-to-recovery time per incident and report against the 49-minute baselineSRE incident mgmt
  • FM-01Alarm on edge error rate per point of presence and page the on-call engineer within the first minuteSRE incident mgmt
  • FM-03Compare error rates between canary and rest of fleet after each configuration pushSRE incident mgmt

No incident commander is named in the record — Owns every decision until formally relieved: site duty manager on scene, or the declared IC of a service incident.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Contain
  • FM-02Pause further deployments of the same software version until the faulty path is understoodChange management
  • FM-04Split the team: one group finding the trigger, another preparing the fleet-wide disableSRE incident mgmt
  • FM-01Declare the incident, assign a lead to find the triggering configuration, and set the status-update cadenceSRE incident mgmt
  • FM-03Order configuration propagation frozen until the error surge is understoodChange management

Fastly engineers who began the 12 May software deployment — not named — Authored or approved the change, deployment or configuration push that started the event.

On the record

  1. Begins the 12 May deployment that carries the dormant bug to the global fleetFastly begins a software deployment that introduces the latent bug

Playbook analyst guidance by failure mode, not a record of what happened

Prevent
  • FM-02Add config-permutation testing and fuzzing so states gated on rare input are exercised before releaseImprovement #3
  • FM-01Test the code path behind each customer configuration state, including rare ones, before it is deployedImprovement #5
  • FM-03Roll out configuration to a canary set of edge nodes first and stop the rollout on error riseCorrection of errors #4

Fastly Engineering, who identified and disabled the triggering configuration — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.

On the record

  1. Identifies the customer configuration at 10:27 UTC, then moves to isolate and disable itFastly Engineering identifies the customer configuration as the cause
  2. Disables the triggering configuration; services begin to recover at 10:36 UTCthe triggering configuration is disabled and healthy state is forced across the fleet

Playbook analyst guidance by failure mode, not a record of what happened

Prevent
  • FM-02Run the QA post-mortem on why the config-triggerable bug was not found before the 12 May deploymentCorrection of errors #1
  • FM-04Add automated isolation of a configuration that causes errors, so it does not wait on a humanImprovement #4
  • FM-03Add a circuit-breaker that halts global configuration propagation when edge errors cross a thresholdChange managementImprovement #2
Contain
  • FM-04Disable the identified customer configuration and force the healthy state on the fleetChange management
  • FM-01Find the customer configuration that preceded the error surge and disable it across the fleetChange management

Fastly Engineering, who built and deployed the permanent fix — Restores customer service: failover, workload moves, capacity, backlog drain.

On the record

  1. Deploys the permanent fix across the network from 17:25 UTCWe created a permanent fix for the bug and began deploying it at 17:25

Playbook analyst guidance by failure mode, not a record of what happened

Recover
  • FM-02Roll the fleet back or forward to the fixed version once the bug is foundChange management
  • FM-05Return traffic to the primary CDN after its status shows resolved and error rates are steadySRE incident mgmt
  • FM-04Deploy the permanent bug fix and track it as a separate milestone from the config-disableChange managementLesson #5
  • FM-01Force the healthy state back to the edge nodes and verify error rates are normal region by regionSRE incident mgmt
  • FM-03Revert the last propagated configuration across the edge, region by regionChange management

Fastly status page and the post-mortem by Nick Rockwell — Status page, customer notices, regulators and press; one voice, timed updates.

On the record

  1. Posts a public status update about 11 minutes after onsetFastly publishes a public status post acknowledging the incident
  2. Apologises and commits to examine why QA missed the bug and to cut remediation timeThis outage was broad and severe, and we're truly sorry for the impact to our customers

Playbook analyst guidance by failure mode, not a record of what happened

Contain
  • FM-05Tell customers on the status page which regions and services are affectedITIL 4
Recover
  • FM-01Post status updates until the incident is marked resolved, naming the cause when knownITIL 4

The unnamed customer who pushed the valid configuration, and sites such as Reddit, gov.uk and the BBC — The tenant or service user: their own redundancy, backups and continuity plan.

On the record

  1. Pushes a valid configuration change that activates the bug at 09:47 UTCa customer pushes a valid configuration change meeting the 'specific circumstances,'

Playbook analyst guidance by failure mode, not a record of what happened

Prevent
  • FM-05Put a second CDN or an origin fallback behind your DNS so traffic can move away from one providerLesson #4
Detect
  • FM-05Probe your site from outside through the CDN and directly at origin and alarm on a mismatchSRE incident mgmt
Contain
  • FM-05Switch DNS or traffic steering to the secondary path and lower TTL ahead of timeSRE incident mgmt

Failure mode & effects analysis (FMEA)

Fastly's global edge CDN on 8 June 2021 — the edge software deployed on 12 May, the pre-deployment QA and testing that let it ship, the propagation of a customer configuration change across the fleet, the manual detection-to-recovery path, and the customer sites that depended on Fastly alone. Analysed retrospectively from Fastly's official post-mortem and Wikipedia. Fastly never disclosed the module, code path or customer configuration involved, so the defect is described only as the post-mortem describes it. Of the corrective actions, only the permanent bug fix is recorded as done, and it carries the one revised score; Fastly's two commitments are to investigate why QA missed the bug and to evaluate ways to improve remediation time, which name no specific control, so no score is moved on them; blast-radius guardrails are an inferred lesson, not a Fastly commitment.

5 failure modes/2 high priority/1 of 5 with a published action/total RPN 1259 → 1151 (−9%)

RPN = S × O × D, worst first. Thin bar: after the published action.
FM-02no published action405
FM-05no published action252
FM-04no published action224
FM-01216 → 108
FM-03no published action162
Severity × occurrence. Lines bound the medium and high zones.
1122334455667788991010Occurrence →Severity →FM-03 A single valid configuration change reaches the fleet almost simultaneously, with no canary, staged rollout or circuit-breaker (S9 O3 D6)03FM-01 A latent bug, triggered by a valid customer configuration under specific circumstances, makes about 85% of the network return errors (S9 O4 D6)01FM-02 QA and testing pass a bug that only a rare configuration state exercises, and it dwells in production for about 27 days (S9 O5 D9)02FM-04 No automatic suppression: the cause has to be found and disabled by hand (S7 O4 D8); FM-05 Sites that depend on Fastly alone go dark with it (S7 O4 D9)04, 05
Caught only after impactD ≥ 8
3 of 5
Actions that cut occurrenceO lowered
1
Actions that cut detectionD lowered
0
Actions that cut severityblast radius unchanged
0
FM-02 QA and testing pass a bug that only a rare configuration state exercises, and it dwells in production for about 27 daysPre-deployment software QA and testing 9·5·9 405 —
Function
Catch configuration-triggerable defects before a deployment reaches the fleet
Effect
The defect ships to essentially the entire edge fleet and waits for a customer input to activate it
Cause
No testing recorded that exercised the specific configuration state (for example config-permutation testing or fuzzing); Fastly said it would figure out why QA did not detect the bug
Prevention in place
Pre-deployment QA and testing as it stood in May 2021
Detection in place
None in the 27 days between deployment and trigger; found through the outage
S 9
QA is the control whose miss allowed the provider-wide outage, so it carries the same severity as FM-01.
O 5
Rare-input code paths are present in any deployment and the dossier records nothing that targeted them, which is more than an unusual combination; held at 5 because Fastly has not disclosed what its testing covered.
D 9
No monitoring, linting or fuzzing caught the un-exercised path during the dwell; it was found only when a customer triggered it.

Corrective action

  • Post-mortem the QA/testing processes to find why the bug was not detected — committed by Fastly; a commitment to investigate, with no specific control named Correction of errors #1
  • Strengthen validation of un-exercised code paths with fuzzing and config-permutation testing (analyst recommendation) Improvement #3

Who acts — playbook

Prevent
  • Change owner Add config-permutation testing and fuzzing so states gated on rare input are exercised before releaseImprovement #3
  • Operations lead Run the QA post-mortem on why the config-triggerable bug was not found before the 12 May deploymentCorrection of errors #1
Detect
  • First responder Watch the error-handling path in the edge software for first hits of unexercised codeSRE incident mgmt
Contain
  • Incident commander Pause further deployments of the same software version until the faulty path is understoodChange management
Recover
  • Service recovery lead Roll the fleet back or forward to the fixed version once the bug is foundChange management

Evidence

  • Contributing factor #1Software QA / testing gap (the 'inspection/testing lapse' analogue): the May 12 deployment's bug 'could be triggered by a specific customer configuration' yet passed pre-deployment QA and testing; Fastly conceded it would 'figure out why we didn't detect the bug during our software quality assurance and testing processes' (fastly.com/blog/summary-of-june-8-outage).
  • Contributing factor #2Latent-defect dwell time: the bug lay dormant in production for ~27 days (May 12 to June 8) with no monitoring, linting, or fuzzing catching the un-exercised code path before a customer input finally activated it (fastly.com/blog/summary-of-june-8-outage).
  • Metric #3Latent-defect dwell time (deploy to trigger): ~27 days (May 12 to June 8)
  • Root cause“figure out why we didn't detect the bug during our software quality assurance and testing processes”
FM-05 Sites that depend on Fastly alone go dark with itCustomer sites served by a single CDN 7·4·9 252 —
Function
Keep a site reachable when its CDN provider fails
Effect
Reddit, gov.uk, Amazon, The New York Times, The Guardian and the BBC become unavailable at the same time
Cause
Concentration on a single CDN provider
Prevention in place
None recorded
Detection in place
Customer-visible impact
S 7
Each dependent site suffered a full outage for under an hour: major degradation of a major service, short of the rubric's 8 for hours.
O 4
It needs the CDN to fail first, which is infrequent.
D 9
End users found the sites unavailable; nothing on the customer side is recorded as detecting or routing around it.

Corrective action

  • None published — residual risk.

Who acts — playbook

Prevent
  • Customer Put a second CDN or an origin fallback behind your DNS so traffic can move away from one providerLesson #4
Detect
  • Customer Probe your site from outside through the CDN and directly at origin and alarm on a mismatchSRE incident mgmt
Contain
  • Customer Switch DNS or traffic steering to the secondary path and lower TTL ahead of timeSRE incident mgmt
  • Communications lead Tell customers on the status page which regions and services are affectedITIL 4
Recover
  • Service recovery lead Return traffic to the primary CDN after its status shows resolved and error rates are steadySRE incident mgmt

Evidence

  • Contributing factor #5Concentration risk in a single CDN provider: because major sites (Amazon, Reddit, gov.uk, The New York Times, The Guardian, the BBC) depended on Fastly's edge, one control-plane fault made them 'become unavailable' worldwide simultaneously (en.wikipedia.org/wiki/Fastly).
  • Metric #11Confirmed major sites taken offline (verbatim subset): 6 (Amazon, Reddit, gov.uk, NYT, Guardian, BBC)
  • Reference #2 · press“such as Reddit, gov.uk, and Amazon”
  • Sequence of events #52021-06-08 09:48 UTC — Major downstream sites go dark globally — Reddit, gov.uk, Amazon, The New York Times, The Guardian and the BBC 'become unavailable' (press also cited Twitch, Spotify, GitHub and others).
FM-04 No automatic suppression: the cause has to be found and disabled by handIncident remediation path 7·4·8 224 —
Function
Identify and disable the trigger, and restore the network, quickly after detection
Effect
Root cause identified about 40 minutes after onset; services begin to recover at 10:36 UTC, the majority by 11:00, and the incident is declared mitigated at 12:35 UTC
Cause
Manual isolation was the only mitigation path; no automated containment existed
Prevention in place
None recorded
Detection in place
Remediation time was observed during the incident
S 7
This mode sets the outage's length rather than its existence; about 49-73 minutes of global disruption with a tail to full mitigation is a major degradation, scored below FM-01 so the outage is not counted twice.
O 4
It needs a fault like FM-01 first, which is infrequent.
D 8
No rehearsed remediation time is recorded; how long the manual path took was learned during the event.

Corrective action

  • Evaluate ways to improve remediation time — committed by Fastly; a commitment to evaluate, with no specific change named Correction of errors #2
  • Shorten detection-to-recovery beyond the ~49-minute manual isolation window (Fastly commitment as restated in the dossier) Improvement #4

Who acts — playbook

Prevent
  • Operations lead Add automated isolation of a configuration that causes errors, so it does not wait on a humanImprovement #4
Detect
  • First responder Track detection-to-recovery time per incident and report against the 49-minute baselineSRE incident mgmt
Contain
  • Incident commander Split the team: one group finding the trigger, another preparing the fleet-wide disableSRE incident mgmt
  • Operations lead Disable the identified customer configuration and force the healthy state on the fleetChange management
Recover
  • Service recovery lead Deploy the permanent bug fix and track it as a separate milestone from the config-disableChange managementLesson #5

On the record at this failure

  • Operations lead Identifies the customer configuration at 10:27 UTC, then moves to isolate and disable it
  • Operations lead Disables the triggering configuration; services begin to recover at 10:36 UTC

Evidence

  • Sequence of events #82021-06-08 10:27 UTC — Fastly Engineering identifies the customer configuration as the cause (~40 min after onset) — the root-cause-identification step preceding suppression — then moves to isolate and disable it.
  • Sequence of events #92021-06-08 10:36 UTC — Impacted services begin to recover as the triggering configuration is disabled and healthy state is forced across the fleet (the manual 'suppression' analogue — no automatic suppression existed to halt the fault).
  • Metric #6Onset to root cause identified: ~40 minutes (09:47 to 10:27 UTC)
  • Metric #9Onset to incident fully mitigated: ~2h48m (09:47 to 12:35 UTC)
  • Technical deep-dive“no automatic suppression halted the fault”
FM-01 A latent bug, triggered by a valid customer configuration under specific circumstances, makes about 85% of the network return errorsEdge software (12 May 2021 deployment) 9·4·6 216 108
Function
Process valid customer configurations on every edge node without failing the request path
Effect
Major sites including Amazon, Reddit, gov.uk, The New York Times, The Guardian and the BBC become unavailable worldwide; 95% of the network is normal again within 49 minutes and the majority of services by about 73 minutes
Cause
A software deployment begun on 12 May introduced a bug gated on a specific customer configuration state; the module and code path are undisclosed
Prevention in place
Pre-deployment QA and testing (failed to catch it: see FM-02)
Detection in place
Monitoring detected the disruption within one minute of onset (09:47 to 09:48 UTC)
S 9
Provider-wide outage of a foundational CDN, about 85% of the network, with no workaround for customers served only by Fastly: the rubric's 9. Not 10: no people or facility involved. The short duration is noted but the rubric's 9 does not depend on it.
O 4
The defect was resident fleet-wide but needed a specific configuration state that did not arise for about 27 days: 'infrequent'.
D 6
Monitoring caught the disruption within a minute, but nothing stopped it before about 85% of the network was returning errors: 'detected at onset, not prevented'.

Corrective action

  • Deploy the permanent bug fix across the global network — done, deployment began 17:25 UTC on 8 June 2021 Correction of errors #3

After action: S9 · O2 · D6 → RPN 108. The permanent fix removes this specific defect, so this trigger can no longer produce the outage (O 4→2). It is not scored 1 because the class of latent, configuration-gated bugs remains and is carried by FM-02. S and D are unchanged: another such bug would spread as widely and be caught the same way. The fix is recorded as deployed; the dossier does not record verification beyond that.

Who acts — playbook

Prevent
  • Change owner Test the code path behind each customer configuration state, including rare ones, before it is deployedImprovement #5
Detect
  • First responder Alarm on edge error rate per point of presence and page the on-call engineer within the first minuteSRE incident mgmt
Contain
  • Incident commander Declare the incident, assign a lead to find the triggering configuration, and set the status-update cadenceSRE incident mgmt
  • Operations lead Find the customer configuration that preceded the error surge and disable it across the fleetChange management
Recover
  • Service recovery lead Force the healthy state back to the edge nodes and verify error rates are normal region by regionSRE incident mgmt
  • Communications lead Post status updates until the incident is marked resolved, naming the cause when knownITIL 4

On the record at this failure

  • Change owner Begins the 12 May deployment that carries the dormant bug to the global fleet
  • Customer Pushes a valid configuration change that activates the bug at 09:47 UTC
  • First responder Monitoring flags the network-wide error surge at 09:48 UTC

Evidence

  • Sequence of events #12021-05-12 — Fastly begins a software deployment that introduces the latent bug 'that could be triggered by a specific customer configuration under specific circumstances'; the defect lies dormant across the global edge fleet for ~27 days, having passed pre-deployment QA and testing.
  • Sequence of events #22021-06-08 09:47 UTC — Onset — a customer pushes a valid configuration change meeting the 'specific circumstances,' activating the dormant bug (the ignition analogue: a legitimate action strikes the latent defect).
  • Sequence of events #42021-06-08 09:48 UTC — Fastly monitoring identifies the global disruption 'within one minute' (the fire-detection-system analogue) — no smoke/heat sensors; observability tooling flags the network-wide error surge.
  • Metric #1Share of global network returning errors: ~85%
  • Metric #4Detection latency (onset to monitoring alert): ~1 minute (09:47 to 09:48 UTC)
  • Reference #1 · official-postmortem“introduced a bug that could be triggered by a specific customer configuration under specific circumstances”
FM-03 A single valid configuration change reaches the fleet almost simultaneously, with no canary, staged rollout or circuit-breakerCustomer configuration propagation across the edge 9·3·6 162 —
Function
Apply one customer's configuration change without exposing the whole network to it at once
Effect
The error condition spreads to about 85% of the global network before anyone can intervene
Cause
No blast-radius guardrail on configuration propagation, and no defensive handling of the triggering state at the trust boundary
Prevention in place
None recorded
Detection in place
Monitoring saw the network-wide error surge within a minute
S 9
This is what made one customer's change a provider-wide outage rather than a local one, so it carries the event's severity.
O 3
Configuration pushes are routine, but they only cause harm when they meet a latent defect, which is infrequent; scored low so the single event is not triple-counted with FM-01 and FM-02.
D 6
Detection was fast but came after the spread; nothing contained it: 'detected at onset, not prevented'.

Corrective action

  • Blast-radius guardrails (canary or staged rollout, circuit-breakers) for config propagation — 'Inferred lesson (not explicitly committed in the official post-mortem)' Correction of errors #4
  • Defensively handle valid customer configuration changes before global propagation (analyst recommendation) Improvement #5

Who acts — playbook

Prevent
  • Change owner Roll out configuration to a canary set of edge nodes first and stop the rollout on error riseCorrection of errors #4
  • Operations lead Add a circuit-breaker that halts global configuration propagation when edge errors cross a thresholdChange managementImprovement #2
Detect
  • First responder Compare error rates between canary and rest of fleet after each configuration pushSRE incident mgmt
Contain
  • Incident commander Order configuration propagation frozen until the error surge is understoodChange management
Recover
  • Service recovery lead Revert the last propagated configuration across the edge, region by regionChange management

Evidence

  • Sequence of events #32021-06-08 09:47 UTC — ~85% of Fastly's global edge network begins returning errors instead of serving content; because the defective code was already resident fleet-wide, the fault propagates network-wide almost immediately — the software analogue of near-instant global spread.
  • Contributing factor #3Absence of blast-radius guardrails: a single 'valid configuration change' propagated the error to '85% of our network' almost simultaneously with no canary, staged rollout, or automated circuit-breaker containing it before global impact; Fastly committed to 'evaluate ways to improve our remediation time' (fastly.com/blog/summary-of-june-8-outage).
  • Contributing factor #4Input-validation / trust-boundary weakness: a legitimate, 'valid' customer config edit — not malformed or malicious — was sufficient to trigger a network-wide failure, indicating the config path lacked defensive handling of the specific triggering state (fastly.com/blog/summary-of-june-8-outage).
  • Root cause“with no canary, staged rollout, or automated circuit-breaker catching it before worldwide impact”
Scoring rubric and method

Scales adapted from IEC 60812:2018 and AIAG-VDA. RPN = S × O × D. High: S ≥ 9 with O ≥ 4 or D ≥ 7, or RPN ≥ 300. Medium: RPN ≥ 120 or S ≥ 7. Severity overrides the product: 9 × 2 × 9 = 162 would otherwise hide a region-wide outage nothing could catch. Quotes are checked verbatim against this dossier; a revised score needs a published action. RZ analyst assessment, not an operator document.

Severity

10Hazard to people, or loss of the facility / several regions
9Region-wide or provider-wide outage of a foundational service, no workaround
8Full outage of a major service for hours
7Major degradation of a major service
6Partial outage confined to one zone or one service
5Customer-visible degradation
4Limited customer impact
3Internal impact only
2Negligible
1No effect

Occurrence

10Near certain: the cause is present in normal operation
8Frequent: routine work exercises the cause
6Occasional: a foreseeable slip or condition, weakly guarded
4Infrequent: needs an unusual combination
2Remote: guarded by design
1Eliminated by design

Detection

10No control could detect it
9Detected only through customer impact
8Detected after impact by internal monitoring
6Detected at onset, not prevented
4Detected before impact with time to act
2Automated interlock almost certainly stops it
1Certain to be stopped

Root cause and contributing factors

This was a global software control-plane failure of Fastly's edge CDN, with no physical ignition source, equipment, or chemistry; mapped to the incident schema, the "ignition source" analogue is a single defective code change.
Full root-cause narrative
Per Fastly's official post-mortem (Nick Rockwell, fastly.com/blog/summary-of-june-8-outage): "On May 12, we began a software deployment that introduced a bug that could be triggered by a specific customer configuration under specific circumstances." That deployment is the proximate defect origin. The bug lay dormant — latent across essentially the entire global edge fleet — for roughly 27 days before any input exercised it. The failure-mechanism analogue is a latent, globally-distributed logic defect gated on an input condition: it required a particular customer configuration state to activate, so until that state existed the defective code path was never reached and the fault was invisible in normal operation. Fastly never publicly disclosed the specific module, function, service, or code path; the post-mortem names only "a bug" triggered by "a specific customer configuration under specific circumstances." Fastly's edge is Varnish/VCL-derived, but the official record does not name the language or component, so the precise mechanism is marked disclosed-unknown. The trigger — the match-strike analogue — was a legitimate customer action, not an error: "a customer pushed a valid configuration change that included the specific circumstances that triggered the bug, which caused 85% of our network to return errors." Fastly stressed the change was "valid," locating fault in its own software rather than the customer. Neither the customer nor the specific config was ever identified. The latent root cause — the design/inspection-lapse analogue — is a gap in Fastly's software quality-assurance and deploy-validation regime: the defect passed pre-deployment QA on May 12 and survived nearly a month undetected in production. Fastly conceded it would "figure out why we didn't detect the bug during our software quality assurance and testing processes." A second latent root is the absence of a rollout/blast-radius guardrail: a single valid config edit propagated the error condition to ~85% of the global network almost simultaneously, with no canary, staged rollout, or automated circuit-breaker catching it before worldwide impact — Fastly separately committed to "evaluate ways to improve our remediation time." No physical maintenance, inspection, detection, or suppression hardware is implicated because none was involved.

Contributing factors by category

Contributing factors by category — FastlyProcess: QA missed the bug; 27 days latent in production. Design: No canary or circuit-breaker; Valid config hits fatal path; Manual-only containment. External: Sites on a single CDN. Effect: 85% of Fastly edge returned errors.85% of Fastly edge returned errorsDesignNo canary or circuit-breakerValid config hits fatal pathManual-only containmentExternalSites on a single CDNProcessQA missed the bug27 days latent in production
Each short label stands for a contributing factor or failure mode recorded in this dossier; the full sentences are listed below.
  • Software QA / testing gap (the 'inspection/testing lapse' analogue): the May 12 deployment's bug 'could be triggered by a specific customer configuration' yet passed pre-deployment QA and testing; Fastly conceded it would 'figure out why we didn't detect the bug during our software quality assurance and testing processes' (fastly.com/blog/summary-of-june-8-outage).
  • Latent-defect dwell time: the bug lay dormant in production for ~27 days (May 12 to June 8) with no monitoring, linting, or fuzzing catching the un-exercised code path before a customer input finally activated it (fastly.com/blog/summary-of-june-8-outage).
  • Absence of blast-radius guardrails: a single 'valid configuration change' propagated the error to '85% of our network' almost simultaneously with no canary, staged rollout, or automated circuit-breaker containing it before global impact; Fastly committed to 'evaluate ways to improve our remediation time' (fastly.com/blog/summary-of-june-8-outage).
  • Input-validation / trust-boundary weakness: a legitimate, 'valid' customer config edit — not malformed or malicious — was sufficient to trigger a network-wide failure, indicating the config path lacked defensive handling of the specific triggering state (fastly.com/blog/summary-of-june-8-outage).
  • Concentration risk in a single CDN provider: because major sites (Amazon, Reddit, gov.uk, The New York Times, The Guardian, the BBC) depended on Fastly's edge, one control-plane fault made them 'become unavailable' worldwide simultaneously (en.wikipedia.org/wiki/Fastly).

Analysis

Nature of the incident: a software control-plane failure, not a physical event

There was no fire, facility damage, detection or suppression hardware, evacuation, or emergency-services response. Mapped to the incident-forensic schema, this was a global failure of Fastly's edge CDN control plane in which the 'ignition source' analogue is a single defective code change. Every schema element (ignition, detection, suppression, isolation, evacuation) is expressed here as its software analogue, grounded verbatim in Fastly's official post-mortem and Wikipedia; where an analogue does not exist (physical de-energisation, brigade dispatch), it is marked not-applicable rather than fabricated.

The latent defect and its ~27-day dwell

The proximate defect origin is the May 12, 2021 deployment that 'introduced a bug that could be triggered by a specific customer configuration under specific circumstances.' The defect was distributed fleet-wide but dormant, gated on an input state, so it passed pre-deployment QA and survived nearly a month in production undetected. On June 8 at 09:47 UTC a customer pushed a 'valid configuration change' meeting those circumstances, activating the bug and causing ~85% of the network to return errors. Fastly never disclosed the specific module, function, language, or code path — that remains disclosed-unknown.

Detection strong, containment weak

Automated monitoring flagged the disruption 'within one minute' (onset 09:47, alert 09:48 UTC), a public status post followed at 09:58, root cause was identified at 10:27, and per Fastly '95% of our network was operating as normal' within 49 minutes (~10:36 UTC), with the majority recovered by ~11:00 and full mitigation at 12:35. The lesson is that fast detection did not prevent near-instant global impact: absent canary/staged rollout or an automated circuit-breaker, a single valid config propagated the fault to ~85% of the fleet before any human could intervene.

Downstream blast radius and concentration risk

Wikipedia confirms Reddit, gov.uk, Amazon, The New York Times, The Guardian and the BBC 'become unavailable'; press cited many more (Twitch, Spotify, GitHub, Stripe, PayPal and others), grounded only where verbatim. One provider-level control-plane fault simultaneously darkened otherwise unrelated global services — a concrete demonstration of single-CDN concentration risk. Market-impact and share-price figures reported by press are excluded as unsourced against the official record.

What Fastly committed to fix

Fastly deployed a permanent bug fix beginning 17:25 UTC the same day, apologized ('This outage was broad and severe, and we're truly sorry for the impact to our customers'), and committed to investigating why QA/testing missed the bug and to 'evaluate ways to improve our remediation time.' The unstated-but-clear design lesson — blast-radius guardrails so one valid config edit cannot reach ~85% of the network — is flagged as inferred rather than an explicit Fastly commitment.

Technical deep-dive
This was a software/CDN control-plane failure with no fire, facility, detection hardware, suppression system, evacuation, or emergency-services response; the incident-forensic schema is mapped to its software analogues, each grounded in Fastly's official post-mortem (fastly.com/blog/summary-of-june-8-outage) and Wikipedia. Latent defect and trigger: A May 12, 2021 software deployment "introduced a bug that could be triggered by a specific customer configuration under specific circumstances." The defect was globally distributed but dormant, gated on a particular configuration state. On June 8, "a customer pushed a valid configuration change that included the specific circumstances that triggered the bug, which caused 85% of our network to return errors." Because the defective code was already resident on nearly the entire edge fleet, the triggering config propagated the error condition network-wide almost immediately — the software analogue of near-instantaneous global spread rather than a localized, propagating burn. Blast radius: ~85% of Fastly's global network returned errors instead of serving content. (Contemporaneous press widely reported HTTP 503 responses in the request path; the specific status code is press-attributed and is NOT stated in Fastly's post-mortem, so it is not asserted here as official fact.) Detection (= fire-detection system analogue): automated monitoring/observability, not smoke or heat sensors. "We detected the disruption within one minute" — onset 09:47 UTC, monitoring flagged the global disruption 09:48 UTC. A public status post followed at 09:58 UTC. Detection was fast and effective; the gaps were upstream (pre-production QA never caught the latent defect) and downstream (no automated containment before global impact). Suppression / mitigation (= suppression system analogue): no automatic suppression halted the fault. Mitigation was manual engineering intervention — Fastly Engineering "identified the customer configuration" at 10:27 UTC (~40 min after onset), then isolated and disabled it. Recovery followed fast: per Fastly's own summary, "Within 49 minutes, 95% of our network was operating as normal" (by ~10:36 UTC, where impacted services "began to recover"); the majority of services had recovered by ~11:00 UTC. The incident was declared mitigated at 12:35 UTC and the status post resolved at 12:44 UTC. The permanent "suppression" — the actual bug fix — was a separate, later action: "We created a permanent fix for the bug and began deploying it at 17:25." Isolation / de-energisation (= electrical-isolation analogue): not applicable as physical de-energisation. Functionally, ~85% of Fastly's edge PoPs stayed powered and running but failed the request path; recovery came by disabling the offending configuration and forcing healthy state, not by cutting power. Evacuation and emergency services: not applicable — no personnel or physical site were endangered; "impact" was to traffic and customers, not people, and there was no fire brigade or 911/999 dispatch. The analogue is Fastly's internal incident-response engineering, which self-detected (no external call), engaged within one minute, and drove isolation → recovery → mitigation → permanent fix across the 09:47–17:25 UTC window. Downstream impact: per Wikipedia, the outage caused "Reddit, gov.uk, and Amazon, along with major news sources such as The New York Times, The Guardian, and the BBC, to become unavailable." Press cited many more sites (Twitch, PayPal, Spotify, GitHub, Stripe, HBO Max, CNN, FT, Pinterest, Kickstarter, Vimeo, Shopify, Hulu), but only the Wikipedia-confirmed subset is grounded verbatim. Economic/market-impact figures and Fastly's share-price move that day were reported by press but not quantified in the official post-mortem, and are excluded as unsourced-official. Fastly closed: "This outage was broad and severe, and we're truly sorry for the impact to our customers," and committed to investigating the QA/testing gap and improving remediation time.

Corrective actions and lessons

Correction of errors

ActionOwnerStatus
Post-mortem the QA/testing processes to determine why the config-triggerable bug was not detected before the May 12 deploymentFastly EngineeringCommitted (per official post-mortem)
Evaluate ways to improve remediation time (detection-to-recovery)Fastly EngineeringCommitted (per official post-mortem)
Deploy the permanent bug fix across the global networkFastly EngineeringDone (deployment began 17:25 UTC June 8, 2021)
Add blast-radius guardrails (canary/staged rollout, circuit-breakers) for config propagationFastly EngineeringInferred lesson (not explicitly committed in the official post-mortem)

Lessons learnt

  • Latent defects gated on rare input can survive QA and dwell in production for weeks: this bug shipped May 12 and only manifested June 8 when a customer supplied the triggering config — 'a bug that could be triggered by a specific customer configuration under specific circumstances' (fastly.com/blog/summary-of-june-8-outage).
  • Fast detection does not equal fast containment: Fastly detected within one minute, yet ~85% of the network was already returning errors; without automated blast-radius guardrails, detection speed alone could not prevent global impact (fastly.com/blog/summary-of-june-8-outage).
  • A single valid, legitimate input can be a catastrophic trigger: the config change was 'valid,' so defenses must not assume only malformed or malicious inputs are dangerous (fastly.com/blog/summary-of-june-8-outage).
  • Concentration on a single CDN is systemic risk: one control-plane fault simultaneously took down Amazon, Reddit, gov.uk, the NYT, the Guardian and the BBC, showing how provider-level failures cascade across otherwise unrelated services (en.wikipedia.org/wiki/Fastly).
  • Mitigation and permanent fix are distinct milestones: services were largely restored by ~10:36–11:00 UTC via config-disable, but the permanent bug fix did not begin deploying until 17:25 UTC — recovery time and root-cause-remediation time must be tracked separately (fastly.com/blog/summary-of-june-8-outage).

Improvements

  • ProcessFastly committed to determine 'why we didn't detect the bug during our software quality assurance and testing processes' — closing the pre-deployment QA/testing gap that let a config-triggerable bug ship on May 12 (fastly.com/blog/summary-of-june-8-outage).
  • Designadd automated blast-radius guardrails (canary/staged rollout, circuit-breakers) so a single valid customer config edit cannot propagate a latent fault to ~85% of the global network simultaneously — the absence of such containment is the core design lesson (fastly.com/blog/summary-of-june-8-outage).
  • Maintenance (continuous-validation analogue): strengthen validation of latent/un-exercised code paths (fuzzing, config-permutation testing) so defects gated on rare input states are caught before ~27 days of production dwell rather than by a live customer trigger (fastly.com/blog/summary-of-june-8-outage).
  • ProcessFastly committed to 'evaluate ways to improve our remediation time' — shortening detection-to-recovery beyond the ~49-minute manual isolation window observed on June 8 (fastly.com/blog/summary-of-june-8-outage).
  • Safety (trust-boundary hardening analogue): defensively handle 'valid' customer configuration changes so a legitimate edit cannot reach a fatal code path, adding input-state validation at the edge before global propagation (fastly.com/blog/summary-of-june-8-outage).

References and provenance

  • official-postmortem Summary of June 8 outage — Fastly (Nick Rockwell)“On May 12, we began a software deployment that introduced a bug that could be triggered by a specific customer configuration under specific circumstances.”https://www.fastly.com/blog/summary-of-june-8-outage
  • press Fastly — Wikipedia (June 8 2021 outage)“Fastly reported problems with its CDN service which caused many major websites, such as Reddit, gov.uk, and Amazon, along with major news sources such as The New York Times, The Guardian, and the BBC, to become unavailable.”https://en.wikipedia.org/wiki/Fastly

Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-08-02 (seed — pending deep research).

Root access required

The DC Incidents dossier is a root-only module. Sign in with an authorized account to continue.

Back to Home