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

姿勢、操作、次に注意が必要なことを 1 つの面で確認できます。

エンジニアリング、QA、SREの各チームが毎日開く認証済みのホーム。品質の姿勢、進行中の実行、モジュールごとのカバレッジ、そして次に注目すべきことが分かります。

運用上の KPI

実行数、カバレッジ、リスク

出荷先のあらゆる環境に対応します。

ワークスパイン

仕様・テスト・スケジュール

仕様から計画された回帰まで。

ガードレール

RBAC・SSO・監査

指定された人間に起因するすべての行為。

LIVE/console
Zof AI ホーム コマンド センターには、94% パスでの 12 件の実行、3 つの未解決の重大な問題、84% のカバレッジ、4 つのモジュール トレーサビリティ バー、仕様パイプライン、今後のスケジュール、アクティブ実行サイドバー付きの推奨される次のアクションが表示されます。
ホーム ビュー · チェックアウト サービス · ステージング · 製品からライブでキャプチャ。
The Company That Deleted Itself From the Internet's Map | Zof AI