Cloudflare June 2022 Outage — Config Change Withdraws 19 Core Data Centers
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
~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 offline | 19 (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 incident | 0 (no commit-confirm; recovery fully manual) |
| Benign pre-MCP deploy stages before impact | 2 (03:56 UTC and 06:17 UTC, zero impact) |
Sequence of events
- 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.
- TRIGGER Change deployed to the busiest, non-MCP locations. Still no impact — the destructive path has not been touched.Change owner
- 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.
- 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).
- 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.'
- 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.
- 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.'
- 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.)
- 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
- DETECTION Root cause found — the term-reordering of AGGREGATES-OUT is confirmed as the cause; ~31 minutes from onset. Revert work begins.
- 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
- 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
- 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
- RESTORED Incident closed — ~1h33m from onset at 06:27; core recovery achieved by 07:42 (~75 min).
Response by role
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 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
- FM-07Appoint one change controller for emergency reversions on every network incidentSRE incident mgmtCorrection of errors #5
- FM-07Watch the fault for re-appearing after a revert; treat it as two engineers acting on the same deviceSRE incident mgmt
- 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
- 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
- Rolls the change out to the busiest non-MCP locations at 06:17 UTC with no impact
Change deployed to the busiest, non-MCP locations.
Playbook analyst guidance by failure mode, not a record of what happened
- 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
- Make a first change on a router at 06:51 UTC to verify the policy-ordering cause
engineers begin confirming the policy-ordering hypothesis on a live device
- Begin reverting at 06:58 UTC through backup take-control procedures, as direct access was withdrawn
engineers fall back to backup take-control procedures
Playbook analyst guidance by failure mode, not a record of what happened
- FM-06Keep an out-of-band management path to every MCP site that does not use the site-local prefixesUptime OSImprovement #5
- 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
- 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
- Overwrite each other's reverts between 07:00 and 07:40 UTC, so the fault re-appears
network engineers walked over each other's changes, reverting the previous reverts
- Complete the final reverts at 07:42 UTC and re-advertise the site-local prefixes
Final reverts completed; core routing restored
Playbook analyst guidance by failure mode, not a record of what happened
- FM-07Log each revert, device and time in one shared place before the next engineer touches that deviceChange management
- 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
- 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.
- 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
- 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
- First responder Alarm on withdrawal of site-local prefixes from the MCP spines the moment the commit lands, not on request lossSRE incident mgmt
- 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
- 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
- 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
- First responder Start the auto-revert timer at deploy and alarm if impact is seen before it expiresSRE incident mgmt
- 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
- 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
- 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
- First responder Check MCP spine route tables after each stagger step, not just the metrics of the non-MCP sitesSRE incident mgmtLesson #3
- 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
- Service recovery lead Revert the stagger stages already completed, working from the last location backChange management
On the record at this failure
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
- 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
- First responder Compare the exported prefixes on a test spine before and after the change and flag any differenceChange management
- Operations lead Block deployment of any change that touches a policy shared by MCP spines until the MCP test has passedChange management
- 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
- Change owner Separate the advertisement of site-local prefixes from the policy that carries internal and origin trafficChange managementContributing factor #8
- First responder Alarm on loss of reachability to origin servers and on Multimog forwarding failures together, pointing at one causeSRE incident mgmt
- 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
- 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
- Operations lead Keep an out-of-band management path to every MCP site that does not use the site-local prefixesUptime OSImprovement #5
- First responder Test the take-control procedure on a schedule, and report if any site can be reached only through the production pathUptime OS
- 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
- 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
- Incident commander Appoint one change controller for emergency reversions on every network incidentSRE incident mgmtCorrection of errors #5
- Incident commander Watch the fault for re-appearing after a revert; treat it as two engineers acting on the same deviceSRE incident mgmt
- 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
- 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
| 10 | Hazard to people, or loss of the facility / several regions |
| 9 | Region-wide or provider-wide outage of a foundational service, no workaround |
| 8 | Full outage of a major service for hours |
| 7 | Major degradation of a major service |
| 6 | Partial outage confined to one zone or one service |
| 5 | Customer-visible degradation |
| 4 | Limited customer impact |
| 3 | Internal impact only |
| 2 | Negligible |
| 1 | No effect |
Occurrence
| 10 | Near certain: the cause is present in normal operation |
| 8 | Frequent: routine work exercises the cause |
| 6 | Occasional: a foreseeable slip or condition, weakly guarded |
| 4 | Infrequent: needs an unusual combination |
| 2 | Remote: guarded by design |
| 1 | Eliminated by design |
Detection
| 10 | No control could detect it |
| 9 | Detected only through customer impact |
| 8 | Detected after impact by internal monitoring |
| 6 | Detected at onset, not prevented |
| 4 | Detected before impact with time to act |
| 2 | Automated interlock almost certainly stops it |
| 1 | Certain to be stopped |
Root cause and contributing factors
Full root-cause narrative
Contributing factors by category
- 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
Corrective actions and lessons
Correction of errors
| Action | Owner | Status |
|---|---|---|
| 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 Engineering | Committed (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 Management | Committed (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 Automation | Committed (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 Automation | Committed (post-mortem 'Automation' item) |
| Establish single-controller coordination for emergency reversions to prevent engineers overwriting each other's reverts. | Cloudflare Incident Response | Inferred 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
- official-postmortem Cloudflare outage on June 21, 2022 (official Cloudflare post-mortem)“the 4-ADV-SITE-LOCALS and 6-ADV-SITE-LOCALS terms moved from the top to the bottom”https://blog.cloudflare.com/cloudflare-outage-on-june-21-2022/
Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-08-02 (seed — pending deep research).