Skip to content

The Company That Deleted Itself From the Internet's Map

On October 4, 2021, a maintenance command withdrew Facebook's routes from the internet, and the internal tools, the communications and the site access needed to fix it all ran on the infrastructure that had just disappeared. Six hours, nearly three billion users, and a recovery that had to be carried out on foot.

Episode 64 minute read

Not down. Gone.

At about 15:40 UTC on October 4, 2021, Facebook, Instagram, WhatsApp, Messenger, and Oculus did not merely stop working. From the perspective of the internet's routing system, the networks hosting them ceased to exist. The platforms were unreachable worldwide for nearly six hours, and Facebook alone had nearly 3 billion users at the time; the businesses and households that rely on WhatsApp to trade and to talk lost that channel for the whole of it. Outside observers had an unusually clear view of the mechanics in real time: Cloudflare's engineers published a live analysis showing Facebook's BGP routes being withdrawn from the global routing table, followed by what they called a tsunami of additional DNS traffic, as apps and people retried and retried, leaving public resolvers handling thirty times their usual query volume.

The chain, per Facebook's own postmortem

Facebook's engineering postmortem, published the next day, laid out the sequence with commendable clarity. During routine maintenance, engineers issued a command intended to audit the availability of capacity on the company's global backbone, the private network connecting its data centers. The command unintentionally disconnected the backbone entirely. An internal audit tool existed specifically to catch commands like this one, and it contained a bug that failed to block it. That was domino one, and it was already severe: data centers that could not reach each other.

Domino two turned severe into total. Facebook's DNS servers, the machines that answer "where is facebook.com," were designed with a health mechanism: if a DNS server could not reach the company's data centers, it concluded it was serving stale or broken answers and withdrew its own BGP route announcements, removing itself from the internet's map to avoid misleading anyone. It was a reasonable safety design for a partial failure. But the backbone disconnection meant every DNS server hit that condition simultaneously, and all of them withdrew. Facebook's address book did not fail; it resigned, globally, by design.

Domino three is the one the industry will retell forever. Facebook's internal tools, its communications and its physical access all depended on the infrastructure that had just vanished. Engineers could not reach the systems remotely, because, in the postmortem's own account, the routes to them were gone and the total loss of DNS broke many of the internal tools they would normally use to investigate an outage. So people were sent to the data centers instead, and that cost time as well: the facilities are built to be hard to get into, the hardware is designed to resist modification even once you are standing in front of it, and, in the company's words, it took extra time to activate the secure access protocols needed to get people onsite and able to work on the servers. Separately, and at the offices rather than the data centers, reporting that day described employees on the Menlo Park campus having trouble entering buildings because the outage had left their security badges useless. The fix ultimately required people with physical access performing a careful, staged restart, deliberately slowed because flipping the services back on at once risked a fresh round of crashes from the surge in returning traffic, a herd management problem in its own right.

What it teaches

The 2021 Facebook outage is the definitive modern case study in failure domain design, and it yields four transferable rules. First, audit tools are production code: the safeguard that fails silent is indistinguishable from no safeguard, and testing must cover the tools that test. Second, safety mechanisms need a concept of "everyone at once": the DNS self withdrawal was correct for one sick server and catastrophic as a synchronized reflex, the same uniform threshold pattern later seen in the 2023 Optus outage. Third, out of band access is not optional: the management plane, the communications channel for responders, and the literal doors must survive the death of the thing they exist to rescue; lifeboats do not ride inside the ship. Fourth, plan recovery for the thundering herd: bringing a three billion user platform back is a controlled re admission problem, not a switch. Facebook's postmortem, to the company's credit, states most of these lessons itself. The outage cost hours. The design review it triggered across the entire industry, in every company that suddenly asked "could we badge into our own buildings?", may be the most valuable six hours of downtime the internet has produced.

Sources

5 sources

Every figure in this article traces to one of the following: the same record the episode cites.

  1. More details about the October 4 outage

    Engineering at Meta2021

  2. Form 10-Q for the quarterly period ended September 30, 2021

    Facebook, Inc., filed with the U.S. Securities and Exchange Commission (EDGAR, 26 October 2021)2021

01Zof Console

Une surface pour la posture, les opérations et ce qui nécessite une attention particulière.

Le foyer authentifié que les équipes d'ingénierie, de QA et de SRE ouvrent chaque jour : posture de qualité, exécutions en vol, couverture par module et ce qui requiert de l'attention ensuite.

KPI OPÉRATIONNELS

  • Courses
  • Couverture
  • Risque

Vivez dans tous les environnements dans lesquels vous expédiez.

TRAVAIL DE LA Colonne Vertébrale

  • Spécifications
  • Tests
  • Horaires

De la spécification à la régression planifiée.

GARDE-CORPS

  • RBAC
  • SSO
  • audit

Chaque action attribuable à un humain nommé.

LIVE/console
Centre de commande domestique Zof AI affichant 12 exécutions à 94 % de réussite, 3 problèmes critiques ouverts, une couverture de 84 %, quatre barres de traçabilité des modules, le pipeline de spécifications, les calendriers à venir et les prochaines actions recommandées avec une barre latérale d'exécutions actives.
Vue d'accueil · Service de paiement · Mise en scène · capturé en direct à partir du produit.
The Company That Deleted Itself From the Internet's Map | Zof AI