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

Cloudflare June 2022 Outage — Config Change Withdraws 19 Core Data Centers

Cloudflare 2022-06-21 1h 15m to substantial restoration NetworkSoftware

Summary

A network-configuration change during a resilience upgrade to Cloudflare's Multi-Colo PoP architecture withdrew BGP routes at the company's 19 busiest core data centers, dropping roughly half of all Cloudflare requests globally for about 75 minutes.

Users affected
~50% of Cloudflare requests worldwide; large share of major internet sites
Duration
1h 15m — 19 MCP DCs offline 06:27 UTC → final reverts, core routing restored 07:42 UTC
Financial
Not published
Scope
Sev-1 global edge (config)
Site
Cloudflare 19 busiest core data centers (MCP) · Global, Global
Services down
Cloudflare CDN/proxy at 19 core locations, Dependent customer sites

How the defences failed

How the defences failed — Cloudflare7 failure modes in the order the sequence of events first shows them, 0 latent conditions with no moment in the record, ending in the outcome: 19 MCP sites out · 50% of requests.ACTIVE — IN THE ORDER THE RECORD SHOWS THEMFM-03 · RPN 256No MCP-specific validationS8 · O4 · D8FM-02 · RPN 320Stagger skips MCP until lastS8 · O5 · D8FM-01 · RPN 384Reordered BGP export policyS8 · O6 · D8FM-04 · RPN 216One withdrawal cuts all pathsS8 · O3 · D9FM-06 · RPN 192Access depends on failed pathS6 · O4 · D8FM-07 · RPN 180Reverts overwrite each otherS6 · O5 · D6FM-05 · RPN 336No commit-confirm rollbackS7 · O6 · D8OUTCOME19 MCP sites out · 50% of requestsLEGENDMedium or low priorityHigh priorityMedium or low priority, no published actionNext failure in the record
How the defences failed — Cloudflare7 failure modes in the order the sequence of events first shows them, 0 latent conditions with no moment in the record, ending in the outcome: 19 MCP sites out · 50% of requests.ACTIVE — RECORD ORDERFM-03 · RPN 256No MCP-specific validationS8 · O4 · D8FM-02 · RPN 320Stagger skips MCP until lastS8 · O5 · D8FM-01 · RPN 384Reordered BGP export policyS8 · O6 · D8FM-04 · RPN 216One withdrawal cuts all pathsS8 · O3 · D9FM-06 · RPN 192Access depends on failed pathS6 · O4 · D8FM-07 · RPN 180Reverts overwrite each otherS6 · O5 · D6FM-05 · RPN 336No commit-confirm rollbackS7 · O6 · D8OUTCOME19 MCP sites out · 50% of requestsLEGENDMedium or low priorityHigh 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)

~50% of global requests dropped for ~75 min from a routing/config change at the 19 busiest core DCs — sub-scores ESTIMATED from public impact reporting, pending deep research.

All 9 impact metrics
Core data centers taken offline19 (MCP-architecture spine locations)
Affected sites as share of total network~4% (Cloudflare's phrasing: 'only 4% of our total network')
Global request volume affected~50% of total requests impacted
Detection-to-incident-declaration~5 min (06:27 onset to 06:32 declaration)
Onset-to-root-cause-found~31 min (06:27 to 06:58)
Core recovery duration~75 min (06:27 onset to 07:42 final revert)
Total incident duration (to closure)~1h33m (06:27 to 08:00)
Automated rollback available at time of incident0 (no commit-confirm; recovery fully manual)
Benign pre-MCP deploy stages before impact2 (03:56 UTC and 06:17 UTC, zero impact)

Sequence of events

  1. TRIGGER Change deployed to the first location. No impact — this site runs the older, non-MCP architecture, confirming the edit is inert outside the MCP spine tier.
  2. TRIGGER Change deployed to the busiest, non-MCP locations. Still no impact — the destructive path has not been touched.Change owner
  3. TRIGGER Rollout reaches MCP-enabled locations and the reordered AGGREGATES-OUT policy commits to the spines: this is when the incident started. Site-local terms now sit below REJECT-THE-REST and match 'then reject;' first.
  4. IMPACT All 19 MCP data centers taken offline — the change withdrew the site-local prefixes across the MCP spines (no sub-staggering within the MCP tier).
  5. CASCADE Withdrawal of site-local prefixes severs direct reachability to the 19 locations AND the servers' reachability to origin servers: it 'removed our direct access to all the impacted locations, as well as removing the ability of our servers to reach origin servers.'
  6. CASCADE Internal load balancer Multimog collapses: it 'could no longer forward requests between the servers' in the MCPs, so even surviving servers inside a data center cannot be reached east-west.
  7. IMPACT Half of global request volume can no longer be served: the affected locations are 'only 4% of our total network' yet 'the outage impacted 50% of total requests.'
  8. DETECTION Internal Cloudflare incident formally declared — ~5 minutes after onset. (Source does not name a specific monitoring alarm; detection was via the deploy's own impact and internal incident processes.)
  9. MITIGATION First change made on a router to verify the root cause — engineers begin confirming the policy-ordering hypothesis on a live device.Operations lead
  10. DETECTION Root cause found — the term-reordering of AGGREGATES-OUT is confirmed as the cause; ~31 minutes from onset. Revert work begins.
  11. MITIGATION Reversion of the problematic change begins. Because direct access was withdrawn, engineers fall back to backup take-control procedures — no automated commit-confirm rollback exists.Operations lead
  12. CASCADE Recovery self-inflicts delay: 'network engineers walked over each other's changes, reverting the previous reverts,' causing the problem to re-appear intermittently during manual reversion.Service recovery lead
  13. RECOVERY Final reverts completed; core routing restored ~75 minutes after the 06:27 onset. AGGREGATES-OUT is back to correct term ordering and site-locals re-advertised.Service recovery lead
  14. RESTORED Incident closed — ~1h33m from onset at 06:27; core recovery achieved by 07:42 (~75 min).

Response by role

5 roles/5 recorded actions/38 playbook actions across 7 failure modes/no recorded action: Incident commander, First responder

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
Change ownerCloudflare network engineers who rolled out the policy change — not named
  • Rolls the change out to the busiest non-MCP locations at 06:17 UTC with no impact
no record
no record
Operations leadCloudflare network engineers who verified and reverted the change — not named
no record
  • Make a first change on a router at 06:51 UTC to verify the policy-ordering cause
  • Begin reverting at 06:58 UTC through backup take-control procedures, as direct access was withdrawn
no record
Service recovery leadCloudflare network engineers carrying out the manual reverts
no record
  • Complete the final reverts at 07:42 UTC and re-advertise the site-local prefixes

Role by role

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

Cloudflare's internal incident process — no 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

Prevent
  • FM-07Appoint one change controller for emergency reversions on every network incidentSRE incident mgmtCorrection of errors #5
Detect
  • FM-07Watch the fault for re-appearing after a revert; treat it as two engineers acting on the same deviceSRE incident mgmt
Contain
  • FM-01Name the AGGREGATES-OUT reorder as the working cause on the incident call and freeze all other network changesSRE incident mgmt
  • FM-05Use the revert timer as the first step in the response, before manual diagnosisSRE incident mgmt
  • FM-02Call a halt to the whole rollout when any one stage shows impactSRE incident mgmt
  • FM-04Direct traffic away from the 19 MCP sites where possible to keep the remaining 96% of locations carrying loadSRE incident mgmt
  • FM-06Put one engineer on getting access back while others work the revert planSRE incident mgmt
Recover
  • FM-03Make the MCP test a required approval on the change record before the next rolloutITIL 4

Cloudflare network engineers who rolled out the policy change — not named — Authored or approved the change, deployment or configuration push that started the event.

On the record

  1. Rolls the change out to the busiest non-MCP locations at 06:17 UTC with no impactChange deployed to the busiest, non-MCP locations.

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

Prevent
  • FM-01Redesign AGGREGATES-OUT so the site-local advertisements do not depend on their order against REJECT-THE-RESTChange managementCorrection of errors #1
  • FM-01Run a pre-commit policy test that the site-local prefixes are still exported after any reorderChange management
  • FM-05Build automated commit-confirm for network configuration changes so a bad commit reverts on a timerChange managementCorrection of errors #4
  • FM-05Require commit-confirm on every manual router commit until the automation is in placeChange managementImprovement #4
  • FM-02Put at least one MCP data center early in the stagger so a fault shows at minimum blast radiusChange managementImprovement #1
  • FM-02Make the stagger steps small enough to catch an error before all spines get itChange managementContributing factor #2
  • FM-03Add MCP-specific test and deploy procedures to the change pipelineChange managementCorrection of errors #2
  • FM-03Run each network-config change against a lab copy of the MCP spine policy before deploymentChange management
  • FM-04Separate the advertisement of site-local prefixes from the policy that carries internal and origin trafficChange managementContributing factor #8

Cloudflare network engineers who verified and reverted the change — not named — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.

On the record

  1. Make a first change on a router at 06:51 UTC to verify the policy-ordering causeengineers begin confirming the policy-ordering hypothesis on a live device
  2. Begin reverting at 06:58 UTC through backup take-control procedures, as direct access was withdrawnengineers fall back to backup take-control procedures

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

Prevent
  • FM-06Keep an out-of-band management path to every MCP site that does not use the site-local prefixesUptime OSImprovement #5
Contain
  • FM-01Stop the rollout to any remaining location as soon as MCP spines show withdrawn prefixesChange management
  • FM-05Let the timer lapse and do not confirm the commit once impact is seenChange management
  • FM-02Hold the final MCP step until the earlier steps have been checked against the MCP configurationChange management
  • FM-03Block deployment of any change that touches a policy shared by MCP spines until the MCP test has passedChange management
  • FM-04Re-advertise the site-local prefixes first, as that restores inbound access, origin access and east-west forwarding togetherSRE incident mgmt
  • FM-06Use the backup take-control procedures at once when direct access is lost, without waiting to confirm the causeSRE incident mgmt
  • FM-07Stop all manual changes except those assigned by the change controllerSRE incident mgmtImprovement #6
Recover
  • FM-01Restore the original term order and re-advertise the site-local prefixes on each spineSRE incident mgmt

Cloudflare network engineers carrying out the manual reverts — Restores customer service: failover, workload moves, capacity, backlog drain.

On the record

  1. Overwrite each other's reverts between 07:00 and 07:40 UTC, so the fault re-appearsnetwork engineers walked over each other's changes, reverting the previous reverts
  2. Complete the final reverts at 07:42 UTC and re-advertise the site-local prefixesFinal reverts completed; core routing restored

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

Contain
  • FM-07Log each revert, device and time in one shared place before the next engineer touches that deviceChange management
Recover
  • FM-05Confirm that every spine returned to its prior policy after the timer firedITIL 4
  • FM-02Revert the stagger stages already completed, working from the last location backChange management
  • FM-04Verify Multimog forwarding between servers in each MCP site once prefixes returnITIL 4
  • FM-06Reach each MCP site over the out-of-band path and apply the revertSRE incident mgmt
  • FM-07Apply the final revert in one pass per spine in the order the controller setsSRE incident mgmt

No first responder is named; detection was via the deploy's own impact — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.

On the record

No action by this role appears in the sources.

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

Detect
  • FM-01Alarm on withdrawal of site-local prefixes from the MCP spines the moment the commit lands, not on request lossSRE incident mgmt
  • FM-05Start the auto-revert timer at deploy and alarm if impact is seen before it expiresSRE incident mgmt
  • FM-02Check MCP spine route tables after each stagger step, not just the metrics of the non-MCP sitesSRE incident mgmtLesson #3
  • FM-03Compare the exported prefixes on a test spine before and after the change and flag any differenceChange management
  • FM-04Alarm on loss of reachability to origin servers and on Multimog forwarding failures together, pointing at one causeSRE incident mgmt
  • FM-06Test the take-control procedure on a schedule, and report if any site can be reached only through the production pathUptime OS

Failure mode & effects analysis (FMEA)

The network-change path for Cloudflare's 19 Multi-Colo PoP (MCP) core data centers: the AGGREGATES-OUT BGP export policy on the MCP spine routers, the staggered rollout and pre-deploy validation around it, the site-local prefixes that carry both reachability and internal load balancing (Multimog), and the rollback and recovery path. Analysed retrospectively from Cloudflare's official post-mortem held in this dossier. The router vendor is not stated by Cloudflare (Juniper is only inferred from config syntax) and plays no part in the scoring. The monitoring signal that first flagged impact is not named in the source. Four corrective actions are recorded as committed with completion not confirmed; the single-controller reversion item is inferred, and the out-of-band access item carries no stated status.

7 failure modes/3 high priority/4 of 7 with a published action/total RPN 1884 → 1184 (−37%)

RPN = S × O × D, worst first. Thin bar: after the published action.
FM-01384 → 128
FM-05336 → 240
FM-02320 → 100
FM-03256 → 128
FM-04no published action216
FM-06no published action192
FM-07no published action180
Severity × occurrence. Lines bound the medium and high zones.
1122334455667788991010Occurrence →Severity →FM-04 One prefix withdrawal removes inbound reachability, outbound reachability to origins and east-west forwarding together (S8 O3 D9)04FM-03 The change pipeline has no MCP-specific test, so an edit that is inert elsewhere is not checked on the tier where it is destructive (S8 O4 D8)03FM-02 The stagger includes no MCP data center until the final step, so the change reaches all MCP spines at once (S8 O5 D8)02FM-01 A reorder moves the site-local advertisement terms below the REJECT-THE-REST catch-all, so first-match evaluation rejects and withdraws the site-local prefixes (S8 O6 D8)01FM-05 No commit-confirm auto-revert exists, so recovery is fully manual (S7 O6 D8)05FM-06 Direct access depends on the site-local prefixes the fault withdrew, so engineers are locked out of the sites they need to fix (S6 O4 D8)06FM-07 Engineers overwrite each other's changes and revert previous reverts (S6 O5 D6)07
Caught only after impactD ≥ 8
6 of 7
Actions that cut occurrenceO lowered
1
Actions that cut detectionD lowered
2
Actions that cut severityS lowered
2
FM-01 A reorder moves the site-local advertisement terms below the REJECT-THE-REST catch-all, so first-match evaluation rejects and withdraws the site-local prefixesAGGREGATES-OUT BGP export policy (MCP spines) 8·6·8 384 128
Function
Advertise the site-local prefixes of each MCP location and reject everything else
Effect
All 19 MCP data centers go offline at 06:27 UTC; about 50% of Cloudflare's total requests cannot be served for about 75 minutes
Cause
Policy behaviour depends on implicit term order plus an explicit catch-all reject, so an edit that only changes order inverts what the policy does
Prevention in place
None recorded in the policy design
Detection in place
Incident declared at 06:32 UTC, about 5 minutes after onset; no pre-commit check is recorded
S 8
Half of global request volume failed for over an hour. Scored 8: more than a degradation, but not 9 because the other 96% of sites kept serving and the outage lasted about 75 minutes rather than many hours.
O 6
The change was part of routine resilience-upgrade work, and nothing in the policy guarded against a reorder: 'occasional, weakly guarded'.
D 8
No validation caught the inverted policy before commit; the fault was recognised through its impact, with an incident declared five minutes in.

Corrective action

  • Redesign AGGREGATES-OUT so site-local advertisement no longer depends on term order relative to REJECT-THE-REST Correction of errors #1

After action: S8 · O2 · D8 → RPN 128. If the policy no longer depends on order, a reorder can no longer withdraw the site-locals (O 6→2). Severity and detection are unchanged for any other policy error. Recorded as committed in the post-mortem, not as completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Redesign AGGREGATES-OUT so the site-local advertisements do not depend on their order against REJECT-THE-RESTChange managementCorrection of errors #1
  • Change owner Run a pre-commit policy test that the site-local prefixes are still exported after any reorderChange management
Detect
  • First responder Alarm on withdrawal of site-local prefixes from the MCP spines the moment the commit lands, not on request lossSRE incident mgmt
Contain
  • Operations lead Stop the rollout to any remaining location as soon as MCP spines show withdrawn prefixesChange management
  • Incident commander Name the AGGREGATES-OUT reorder as the working cause on the incident call and freeze all other network changesSRE incident mgmt
Recover
  • Operations lead Restore the original term order and re-advertise the site-local prefixes on each spineSRE incident mgmt

Evidence

  • Reference #1 · official-postmortem“the 4-ADV-SITE-LOCALS and 6-ADV-SITE-LOCALS terms moved from the top to the bottom”
  • Sequence of events #32022-06-21 06:27 UTC — Rollout reaches MCP-enabled locations and the reordered AGGREGATES-OUT policy commits to the spines: this is when the incident started. Site-local terms now sit below REJECT-THE-REST and match 'then reject;' first.
  • Sequence of events #42022-06-21 06:27 UTC — All 19 MCP data centers taken offline — the change withdrew the site-local prefixes across the MCP spines (no sub-staggering within the MCP tier).
  • Metric #3Global request volume affected: ~50% of total requests impacted
  • Contributing factor #5Fragile policy design relying on implicit term ordering plus an explicit REJECT-THE-REST catch-all, so a simple reorder silently inverted advertisement behavior — the policy statement 'will be redesigned to prevent an unintentional incorrect ordering.'
FM-05 No commit-confirm auto-revert exists, so recovery is fully manualAutomated rollback of network configuration 7·6·8 336 240
Function
Revert a bad commit automatically if it is not confirmed
Effect
Root cause is found at 06:58 UTC, about 31 minutes in, but final reverts complete only at 07:42 UTC
Cause
No timed auto-revert on network configuration commits
Prevention in place
None recorded
Detection in place
Not applicable before the incident; the gap mattered during recovery
S 7
This mode sets the duration of the outage rather than its existence; about 75 minutes of a half-network outage is scored 7 so the outage is not counted again at FM-01's weight.
O 6
The gap applies to every network configuration change, and no automated safeguard covered it: 'occasional'.
D 8
Nothing recorded flagged the missing safety net before it was needed.

Corrective action

  • Implement automated commit-confirm rollback for network configuration changes Correction of errors #4

After action: S5 · O6 · D8 → RPN 240. A timed auto-revert would undo a bad commit without engineer access to the site, shortening a repeat of this outage to the revert timer (S 7→5). Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Build automated commit-confirm for network configuration changes so a bad commit reverts on a timerChange managementCorrection of errors #4
  • Change owner Require commit-confirm on every manual router commit until the automation is in placeChange managementImprovement #4
Detect
  • First responder Start the auto-revert timer at deploy and alarm if impact is seen before it expiresSRE incident mgmt
Contain
  • Operations lead Let the timer lapse and do not confirm the commit once impact is seenChange management
  • Incident commander Use the revert timer as the first step in the response, before manual diagnosisSRE incident mgmt
Recover
  • Service recovery lead Confirm that every spine returned to its prior policy after the timer firedITIL 4

On the record at this failure

  • Service recovery lead Complete the final reverts at 07:42 UTC and re-advertise the site-local prefixes

Evidence

  • Contributing factor #4“would have greatly reduced the Time-to-Resolve”
  • Metric #8Automated rollback available at time of incident: 0 (no commit-confirm; recovery fully manual)
  • Metric #5Onset-to-root-cause-found: ~31 min (06:27 to 06:58)
  • Sequence of events #132022-06-21 07:42 UTC — Final reverts completed; core routing restored ~75 minutes after the 06:27 onset. AGGREGATES-OUT is back to correct term ordering and site-locals re-advertised.
FM-02 The stagger includes no MCP data center until the final step, so the change reaches all MCP spines at onceStaggered rollout of network-configuration changes 8·5·8 320 100
Function
Expose a change to a small, representative set of sites first so a fault is caught at minimal blast radius
Effect
Two earlier stages (03:56 and 06:17 UTC) pass with zero impact and give false confidence; the final step takes down all 19 MCP sites together
Cause
Stagger scoped by site list rather than by architecture class; steps too coarse
Prevention in place
A stagger procedure existed
Detection in place
Earlier stages could not detect the fault because they did not exercise the MCP configuration
S 8
The stagger gap is what let one error reach all 19 sites rather than one, so it carries the outage's severity.
O 5
Present in every rollout that touches MCP spines, but it only matters when the change is faulty; between 'infrequent' and 'occasional'. Scored below FM-01 so the one event is not counted twice at full weight.
D 8
The canary stages were blind to the MCP tier; the fault was seen only after the final step caused impact.

Corrective action

  • Automate an improved stagger policy that exercises an MCP data center early rather than only in the final step Correction of errors #3

After action: S5 · O5 · D4 → RPN 100. An MCP site early in the stagger would expose a fault of this class at one location with time to stop the rollout (D 8→4), bounding the effect to customer-visible degradation at that site (S 8→5); Cloudflare says this 'would have significantly lessened the overall impact'. Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Put at least one MCP data center early in the stagger so a fault shows at minimum blast radiusChange managementImprovement #1
  • Change owner Make the stagger steps small enough to catch an error before all spines get itChange managementContributing factor #2
Detect
  • First responder Check MCP spine route tables after each stagger step, not just the metrics of the non-MCP sitesSRE incident mgmtLesson #3
Contain
  • Operations lead Hold the final MCP step until the earlier steps have been checked against the MCP configurationChange management
  • Incident commander Call a halt to the whole rollout when any one stage shows impactSRE incident mgmt
Recover
  • Service recovery lead Revert the stagger stages already completed, working from the last location backChange management

On the record at this failure

  • Change owner Rolls the change out to the busiest non-MCP locations at 06:17 UTC with no impact

Evidence

  • Contributing factor #1“the stagger policy did not include an MCP data center until the final step”
  • Contributing factor #2“the steps weren't small enough to catch the error before it hit all of our spines”
  • Metric #9Benign pre-MCP deploy stages before impact: 2 (03:56 UTC and 06:17 UTC, zero impact)
  • Sequence of events #22022-06-21 06:17 UTC — Change deployed to the busiest, non-MCP locations. Still no impact — the destructive path has not been touched.
FM-03 The change pipeline has no MCP-specific test, so an edit that is inert elsewhere is not checked on the tier where it is destructivePre-deploy validation for MCP-tier changes 8·4·8 256 128
Function
Test a network change against the MCP architecture before it is deployed there
Effect
The inverted export policy reaches production MCP spines unvalidated
Cause
Change procedures and automation without MCP-aware safeguards, although MCP spines shared one policy across the busiest sites
Prevention in place
None recorded
Detection in place
None before deployment
S 8
Another route to the same outage; carried at the outage's severity.
O 4
Kept at 'infrequent' because it overlaps FM-01 and FM-02: the missing test only matters for a faulty MCP-only change.
D 8
No check existed between authoring and production; detection came through impact.

Corrective action

  • Add MCP-specific test and deploy procedures to change procedures and automation Correction of errors #2

After action: S8 · O4 · D4 → RPN 128. An MCP-specific test would show the withdrawal before production (D 8→4). Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Add MCP-specific test and deploy procedures to the change pipelineChange managementCorrection of errors #2
  • Change owner Run each network-config change against a lab copy of the MCP spine policy before deploymentChange management
Detect
  • First responder Compare the exported prefixes on a test spine before and after the change and flag any differenceChange management
Contain
  • Operations lead Block deployment of any change that touches a policy shared by MCP spines until the MCP test has passedChange management
Recover
  • Incident commander Make the MCP test a required approval on the change record before the next rolloutITIL 4

Evidence

  • Contributing factor #3“need to include MCP-specific test and deploy procedures to ensure there are no unintended consequences”
  • Sequence of events #12022-06-21 03:56 UTC — Change deployed to the first location. No impact — this site runs the older, non-MCP architecture, confirming the edit is inert outside the MCP spine tier.
  • Root cause“a single unvalidated edit to a shared policy could withdraw the busiest half of the network with no automatic backstop”
FM-04 One prefix withdrawal removes inbound reachability, outbound reachability to origins and east-west forwarding togetherSite-local prefixes and Multimog load balancing in MCP sites 8·3·9 216 —
Function
Keep each MCP site reachable from outside, able to reach origins, and able to forward requests between its servers
Effect
Sites that are about 4% of the network carry about 50% of requests and lose all three paths at once; even surviving servers inside a site cannot be reached
Cause
Concentration of traffic on the MCP tier, and Multimog depending on the same site-local prefixes as external reachability
Prevention in place
None recorded
Detection in place
Seen through impact
S 8
This coupling is why the withdrawal became a total loss of service at each site rather than a partial one.
O 3
Needs the site-local prefixes to be withdrawn first, which is infrequent.
D 9
No control is recorded that would show the coupling before an outage; it became visible as customer impact.

Corrective action

  • None published — residual risk.

Who acts — playbook

Prevent
  • Change owner Separate the advertisement of site-local prefixes from the policy that carries internal and origin trafficChange managementContributing factor #8
Detect
  • First responder Alarm on loss of reachability to origin servers and on Multimog forwarding failures together, pointing at one causeSRE incident mgmt
Contain
  • Operations lead Re-advertise the site-local prefixes first, as that restores inbound access, origin access and east-west forwarding togetherSRE incident mgmt
  • Incident commander Direct traffic away from the 19 MCP sites where possible to keep the remaining 96% of locations carrying loadSRE incident mgmt
Recover
  • Service recovery lead Verify Multimog forwarding between servers in each MCP site once prefixes returnITIL 4

Evidence

  • Sequence of events #52022-06-21 06:27 UTC — Withdrawal of site-local prefixes severs direct reachability to the 19 locations AND the servers' reachability to origin servers: it 'removed our direct access to all the impacted locations, as well as removing the ability of our servers to reach origin servers.'
  • Sequence of events #62022-06-21 06:27 UTC — Internal load balancer Multimog collapses: it 'could no longer forward requests between the servers' in the MCPs, so even surviving servers inside a data center cannot be reached east-west.
  • Technical deep-dive“could no longer forward requests between the servers”
  • Contributing factor #8“only 4% of our total network”
  • Metric #2Affected sites as share of total network: ~4% (Cloudflare's phrasing: 'only 4% of our total network')
FM-06 Direct access depends on the site-local prefixes the fault withdrew, so engineers are locked out of the sites they need to fixEngineer access path to affected sites 6·4·8 192 —
Function
Let engineers reach the routers they must fix during a reachability failure
Effect
Engineers fall back to backup take-control procedures, slowing reversion
Cause
Recovery access shares a failure domain with the routes being changed
Prevention in place
Backup take-control procedures
Detection in place
Found during the incident
S 6
It lengthens recovery rather than causing the outage, and backup procedures still worked; scored 6 to avoid counting the same minutes again at FM-05's weight.
O 4
Needs a reachability-removing change first, which is infrequent.
D 8
The dependency was found when engineers tried to reach the sites, after impact.

Corrective action

  • Preserve an out-of-band management and recovery path that does not depend on site-local prefixes being advertised Improvement #5

Who acts — playbook

Prevent
  • Operations lead Keep an out-of-band management path to every MCP site that does not use the site-local prefixesUptime OSImprovement #5
Detect
  • First responder Test the take-control procedure on a schedule, and report if any site can be reached only through the production pathUptime OS
Contain
  • Operations lead Use the backup take-control procedures at once when direct access is lost, without waiting to confirm the causeSRE incident mgmt
  • Incident commander Put one engineer on getting access back while others work the revert planSRE incident mgmt
Recover
  • Service recovery lead Reach each MCP site over the out-of-band path and apply the revertSRE incident mgmt

On the record at this failure

  • Operations lead Begin reverting at 06:58 UTC through backup take-control procedures, as direct access was withdrawn

Evidence

  • Contributing factor #7“removed our direct access to all the impacted locations”
  • Sequence of events #112022-06-21 06:58 UTC — Reversion of the problematic change begins. Because direct access was withdrawn, engineers fall back to backup take-control procedures — no automated commit-confirm rollback exists.
FM-07 Engineers overwrite each other's changes and revert previous revertsManual emergency reversion 6·5·6 180 —
Function
Revert the change on all affected spines in one coordinated pass
Effect
The fault re-appears intermittently during reversion; final reverts slip to 07:42 UTC
Cause
No single controller for emergency changes
Prevention in place
None recorded
Detection in place
Seen during recovery as the fault re-appearing
S 6
Extends a partial outage that is already scored elsewhere; confined to part of the recovery window.
O 5
Several engineers working the same devices under pressure is a foreseeable condition with no recorded guard, between 'infrequent' and 'occasional'.
D 6
The regression showed at once as the fault re-appearing, but nothing prevented it: 'detected at onset, not prevented'.

Corrective action

  • Single-controller coordination for emergency reversions (inferred remediation, not a formal commitment) Correction of errors #5

Who acts — playbook

Prevent
  • Incident commander Appoint one change controller for emergency reversions on every network incidentSRE incident mgmtCorrection of errors #5
Detect
  • Incident commander Watch the fault for re-appearing after a revert; treat it as two engineers acting on the same deviceSRE incident mgmt
Contain
  • Operations lead Stop all manual changes except those assigned by the change controllerSRE incident mgmtImprovement #6
  • Service recovery lead Log each revert, device and time in one shared place before the next engineer touches that deviceChange management
Recover
  • Service recovery lead Apply the final revert in one pass per spine in the order the controller setsSRE incident mgmt

On the record at this failure

  • Service recovery lead Overwrite each other's reverts between 07:00 and 07:40 UTC, so the fault re-appears

Evidence

  • Contributing factor #6“network engineers walked over each other's changes, reverting the previous reverts”
  • Sequence of events #122022-06-21 07:00-07:40 UTC — Recovery self-inflicts delay: 'network engineers walked over each other's changes, reverting the previous reverts,' causing the problem to re-appear intermittently during manual reversion.
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

SPECIFIC TRIGGER (ignition equivalent): The outage was ignited by a single BGP route-export-policy change pushed to the spine routers of Cloudflare's 19 MCP (Multi-Colo PoP) data centers during a resilience upgrade.
Full root-cause narrative
The change reordered the terms of the export policy named AGGREGATES-OUT, relocating the two site-local advertisement terms — 4-ADV-SITE-LOCALS and 6-ADV-SITE-LOCALS — from the top of the policy to the bottom, i.e. beneath the catch-all term REJECT-THE-REST { then reject; }. Cloudflare states plainly: "the 4-ADV-SITE-LOCALS and 6-ADV-SITE-LOCALS terms moved from the top to the bottom." FAILURE MECHANISM: BGP export policies are evaluated first-match, top-to-bottom, and the first matching term is final. With the two site-local terms now sitting below REJECT-THE-REST, every site-local prefix matched "then reject;" first and was discarded before it could be advertised. The spine routers therefore withdrew the site-local prefixes for the affected MCP locations the instant the change committed: "we immediately stopped advertising our site-local prefixes." Per Cloudflare, this "removed our direct access to all the impacted locations, as well as removing the ability of our servers to reach origin servers." Two failures happened in the same stroke — the network lost its route INTO those data centers, and the servers inside them lost their route OUT to origins. DEVICE (make/model equivalent): The affected equipment is the MCP "spine" router tier forming a Clos-network mesh — "an added layer of routing that creates a mesh of connections." Cloudflare does not name the vendor. The post-mortem's configuration dialect (policy-statement terms, "then reject", "community add", and the recommended "commit-confirm" rollback) is consistent with Juniper Junos syntax, so the devices are INFERRED to be Juniper routers running Junos — this is an inference from the config vocabulary, NOT a stated fact in the source. There is no age/chemistry analogue; the salient hazardous property is architectural: the newer, centralized MCP tier ran a single shared export policy across the affected sites' spines, so one bad edit propagated identically. The companion change made on the older-architecture routers (adding BGP communities STATIC-ROUTE, SITE-LOCAL-ROUTE, TLL01, EUROPE) was harmless; the destructive effect came solely from the term-reordering on the MCP spines. LATENT ROOT (design / redundancy / change-management lapse): The proximate config error was allowed to reach global blast radius by latent weaknesses Cloudflare itself admits. (1) Fragile policy design — AGGREGATES-OUT depended on implicit term ordering plus an explicit REJECT-THE-REST catch-all, so a mere reorder silently inverted its behavior; the policy statement "will be redesigned to prevent an unintentional incorrect ordering." (2) Inadequate stagger scoping — although the change used a stagger procedure, "the stagger policy did not include an MCP data center until the final step," so no MCP spine was exercised until the change hit the MCP tier. (3) Steps too coarse and review blind to the hazard — "the steps weren't small enough to catch the error before it hit all of our spines." (4) No automated rollback safety-net — there was no "commit-confirm" auto-revert; its absence forced slow manual recovery and, per Cloudflare, "would have greatly reduced the Time-to-Resolve." The root cause is therefore not merely "an engineer reordered a policy" but a change-management and architecture design in which a single unvalidated edit to a shared policy could withdraw the busiest half of the network with no automatic backstop.

Contributing factors by category

Contributing factors by category — CloudflarePeople: Policy terms reordered. Process: Stagger skipped MCP until last; Stagger steps too coarse; No MCP-specific validation; No auto-revert rollback. Design: Policy depends on term order; 4% of sites carry 50% load. Effect: 19 sites offline, 50% of requests.19 sites offline, 50% of requestsProcessStagger skipped MCP until lastStagger steps too coarseNo MCP-specific validationNo auto-revert rollbackPeoplePolicy terms reorderedDesignPolicy depends on term order4% of sites carry 50% load
Each short label stands for a contributing factor or failure mode recorded in this dossier; the full sentences are listed below.
  • Change-management / stagger scoping gap (admitted): 'the stagger policy did not include an MCP data center until the final step' — no MCP spine was exercised until the change reached the MCP tier, converting a catchable local error into a broad one.
  • Stagger granularity too coarse (admitted): despite a stagger procedure, 'the steps weren't small enough to catch the error before it hit all of our spines.'
  • No MCP-specific validation in the change pipeline (admitted remediation): procedures 'need to include MCP-specific test and deploy procedures to ensure there are no unintended consequences' — the existing process had no MCP-aware safeguard even though MCP spines ran a shared policy across the busiest half of the network.
  • Absence of an automated rollback safety-net: no 'commit-confirm' auto-revert existed, so recovery was fully manual; Cloudflare states such automation 'would have greatly reduced the Time-to-Resolve.'
  • Fragile policy design relying on implicit term ordering plus an explicit REJECT-THE-REST catch-all, so a simple reorder silently inverted advertisement behavior — the policy statement 'will be redesigned to prevent an unintentional incorrect ordering.'
  • Uncoordinated manual recovery: 'network engineers walked over each other's changes, reverting the previous reverts,' extending time-to-resolve.
  • Recovery-access dependency on the failed path itself: withdrawing the site-locals 'removed our direct access to all the impacted locations,' forcing engineers to fall back to backup take-control procedures.
  • Concentration risk: the 19 MCP sites were 'only 4% of our total network' yet the outage 'impacted 50% of total requests,' so a single-tier fault produced disproportionate global impact.

Analysis

What actually broke

A BGP export-policy change on the spine routers of Cloudflare's 19 MCP data centers reordered policy terms in AGGREGATES-OUT, moving the site-local advertisement terms (4-ADV-SITE-LOCALS, 6-ADV-SITE-LOCALS) below the catch-all REJECT-THE-REST. Because BGP policies match first-term-wins top-to-bottom, the site-local prefixes matched 'then reject;' first and were withdrawn. That single stroke removed both inbound reachability to the affected data centers and the servers' outbound reachability to origins, and additionally broke the internal Multimog load balancer so requests could not be forwarded between servers inside an MCP.

Why it spread so far so fast

The impact was bounded by architecture, not geography: only MCP-converted sites failed, proven by the two earlier non-MCP deploy stages (03:56 and 06:17 UTC) causing zero impact. But the MCP tier ran a shared export policy, so once the rollout reached it at 06:27 UTC the fault applied across all 19 spines effectively at once. Those sites were 'only 4% of our total network' yet the outage 'impacted 50% of total requests' — a concentration of traffic that turned a single-tier config error into a global event.

Why recovery took ~75 minutes

Detection was fast (incident declared 06:32, ~5 min after onset) and root cause was found by 06:58 (~31 min). But recovery was slow because the failure removed engineers' own direct access to the sites they had to fix, forcing fallback to backup take-control procedures, and because there was no automated commit-confirm rollback. Manual reversion then regressed itself — 'network engineers walked over each other's changes, reverting the previous reverts' — pushing final restoration to 07:42 and closure to 08:00 UTC.

Systemic lessons and remediation

Cloudflare's own post-mortem attributes the blast radius to a procedural gap (stagger policy excluded MCP until the final step; steps too coarse to catch the error) and fragile policy design (order-dependent advertisement plus a catch-all reject). Committed fixes span Process (MCP-specific test/deploy procedures), Architecture (redesign the policy statement to prevent unintentional incorrect ordering), and Automation (improved stagger that exercises an MCP site early, plus automated commit-confirm rollback that 'would have greatly reduced the Time-to-Resolve'). The broader lesson is that a resilience upgrade is itself a change whose recovery path must not depend on the reachability it can remove.

Evidence quality and open gaps

All load-bearing facts are drawn from Cloudflare's first-party detailed post-mortem, which names the policy, the terms, the timeline, the metrics, and the remediation. The router vendor is not stated by Cloudflare; the Juniper/Junos identification is an inference from the config vocabulary (policy-statement terms, 'then reject', 'commit-confirm') and is disclosed as such. The specific monitoring signal that first flagged impact is not named in the source; detection is described via the deploy's own impact and internal incident processes.

Technical deep-dive
Cloudflare had been migrating its busiest data centers to a Multi-Colo PoP (MCP) architecture — a Clos network described as "an added layer of routing that creates a mesh of connections," intended to be a more flexible and resilient architecture. Ironically the outage occurred during work on that very architecture. On 21 June 2022 a network change was rolled out that, among benign edits, altered the BGP export policy AGGREGATES-OUT on the MCP spine routers. BGP export policies in this Junos-style syntax are ordered lists of terms evaluated top-to-bottom with first-match-wins semantics. AGGREGATES-OUT contained terms that advertised the site-local prefixes (4-ADV-SITE-LOCALS for IPv4, 6-ADV-SITE-LOCALS for IPv6) and a catch-all term REJECT-THE-REST { then reject; } intended to drop everything else. The change moved the two advertisement terms below REJECT-THE-REST. Because first match is final, the site-local prefixes now matched "then reject;" before ever reaching their advertisement terms, and the spines withdrew those prefixes. Two consequences fired at once. Externally, withdrawing the site-locals "removed our direct access to all the impacted locations, as well as removing the ability of our servers to reach origin servers" — north-south connectivity collapsed. Internally, the removal of these site-local prefixes also caused Cloudflare's internal load-balancing system Multimog "to stop working, as it could no longer forward requests between the servers" in the MCPs — east-west connectivity inside each MCP collapsed too. So even reaching a surviving server inside a data center could not help, because Multimog could no longer distribute the request. The blast radius was defined by architecture, not geography: only MCP-converted sites were affected. The earlier deploy stages at 03:56 UTC (first location) and 06:17 UTC (non-MCP locations) caused zero impact — evidence the change was destructive only on the MCP spines. Yet those 19 sites, though "only 4% of our total network," carried the traffic such that "the outage impacted 50% of total requests," so half of global request volume could no longer be served. Recovery was crippled by the outage's own mechanism. Having withdrawn the site-locals, engineers had lost direct access to the exact locations they needed to fix, and there was no automated commit-confirm rollback to self-heal. Manual reversion then collided with itself: "network engineers walked over each other's changes, reverting the previous reverts," which is why the final reverts slipped to 07:42 UTC despite the root cause being found at 06:58 UTC.

Corrective actions and lessons

Correction of errors

ActionOwnerStatus
Redesign the AGGREGATES-OUT export policy so advertisement of site-local prefixes no longer depends on implicit term order relative to REJECT-THE-REST (eliminate the reorder-inverts-behavior failure mode).Cloudflare Network EngineeringCommitted (post-mortem 'Architecture' item)
Update change procedures and automation to include MCP-specific test and deploy procedures so MCP-tier consequences are validated before broad rollout.Cloudflare Network Engineering / Change ManagementCommitted (post-mortem 'Process' item)
Automate an improved stagger policy for network-config rollouts that exercises an MCP data center early rather than only in the final step.Cloudflare Network AutomationCommitted (post-mortem 'Automation' item)
Implement automated 'commit-confirm' rollback for network configuration changes to bound Time-to-Resolve without requiring engineer access to affected sites.Cloudflare Network AutomationCommitted (post-mortem 'Automation' item)
Establish single-controller coordination for emergency reversions to prevent engineers overwriting each other's reverts.Cloudflare Incident ResponseInferred remediation (implied by post-mortem; not itemized as a formal commitment)

Lessons learnt

  • A resilience upgrade is itself a change and can cause the very outage it aims to prevent — the MCP Clos architecture was designed for resilience, yet its shared spine policy became a single point of failure across the busiest half of the network.
  • First-match BGP policy ordering makes term SEQUENCE load-bearing: moving 4-ADV-SITE-LOCALS and 6-ADV-SITE-LOCALS below REJECT-THE-REST silently inverted the policy from 'advertise' to 'reject', so policies must be designed so behavior does not hinge on implicit ordering.
  • Stagger/canary rollouts only protect you if the canary exercises the risky configuration class — because 'the stagger policy did not include an MCP data center until the final step,' two benign stages gave false confidence before the destructive stage hit.
  • Recovery paths must not depend on the system being recovered: withdrawing the site-local prefixes removed engineers' own direct access, so out-of-band control is essential when the failure mode is loss of reachability.
  • Automated commit-confirm (timed auto-revert) turns a config-induced blackout into a self-healing event; its absence made recovery fully manual and slower.
  • Manual multi-engineer recovery without a single controller can regress itself — 'reverting the previous reverts' re-introduced the fault and extended time-to-resolve; emergency changes need one coordinator.

Improvements

  • ProcessEnforce an improved stagger policy for network-config rollouts that includes at least one MCP data center EARLY, not only in the final step, so a fault surfaces at minimal blast radius instead of hitting all the MCP spines at once — Cloudflare's stated automation improvement that 'would have significantly lessened the overall impact.'
  • ProcessAdd MCP-specific test and deploy procedures to change management and automation — 'Change procedures and automation need to include MCP-specific test and deploy procedures to ensure there are no unintended consequences.'
  • DesignRedesign the AGGREGATES-OUT policy statement 'to prevent an unintentional incorrect ordering' so advertisement behavior no longer depends on implicit term ordering relative to a catch-all REJECT-THE-REST term.
  • MaintenanceProvide an automated 'commit-confirm' rollback for network configuration changes so a bad commit self-reverts on a timer without requiring engineer access — Cloudflare notes it 'would have greatly reduced the Time-to-Resolve.'
  • SafetyPreserve an out-of-band management/recovery path that does not depend on the site-local prefixes being advertised, so withdrawing routes cannot also lock engineers out of the very locations they must fix (the failure that forced fallback to backup take-control procedures).
  • ProcessCoordinate emergency reversion through a single change-controller to prevent engineers 'walking over each other's changes' and re-introducing the fault mid-recovery.

References and provenance

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