Skip to content

Lesson 9 of 13 · 14m

What 'Offsite' Actually Means

Offsite is a different failure domain — a second region in the same account is one IAM policy away from empty.

"Offsite" is a property of failure domains, not geography. A backup in another datacenter that shares your credentials, your account, or your provider's control plane is not offsite — it is distant but correlated, and correlated is what kills you.

Rank the domains

Think in concentric blast radii and make each copy live outside the previous one:

disk → host → rack → site/DC → region → account → provider → identity root.

Most "offsite" failures are accounting failures in the middle of that list. Production in us-east-1 plus backups in us-west-2 in the same AWS account survives the region and dies with the account — one stolen root credential deletes both halves in one API session. The geographic test passes; the identity test fails. Code Spaces demonstrated the endpoint of that mistake in 2014 — everything deleted from inside one console session.

Real offsite means: a separate account with its own MFA'd root and minimal IAM surface, and ideally a different provider or a different medium entirely. An SCP on the backup account denying delete actions turns "attacker has prod creds" into "attacker can do nothing to the backup org." MFA Delete on versioned S3 buckets adds another latch for the version-deletion path specifically — it requires the bucket owner's credentials plus an MFA code in the request header, so it guards one narrow path, but that path is the one versioning alone leaves open.

Air gap is a mechanism, not nostalgia

Tape survives in serious DR plans for one reason: it has no delete API. A cartridge on a shelf cannot be rm'd, ransom'd, or API'd away. The tradeoffs are honest — restore is measured in hours plus a drive to wherever the tape sits, and media handling is a chore — but those are deliberate costs paid for the strongest isolation property available. The logical version of the same idea is a backup account no production credential can name, or an append-only wire (write-only SFTP, borg serve --append-only) where the source host's surface does not include deletion.

There is also a subtler trick worth knowing: the delayed replica. A Postgres standby deliberately replaying WAL hours behind the primary lets you recover DROP TABLE or a bad migration by promoting the laggard — the logical damage takes hours to arrive at the copy, which is long enough to notice it. In Postgres the knob is recovery_min_apply_delay on the standby — '2h' holds replay two hours behind, and the laggard can be promoted the moment you've pinned down when the damage landed. Delayed replication is not a backup (it shares the primary's blast radius) but it is cheap logical-damage insurance that complements PITR.

The egress tax

Offsite has a price on the restore side, and it arrives on the worst day. AWS S3 egress runs roughly $0.09/GB; restoring a terabyte costs ~$90 in transfer alone plus the hours to move it. Backblaze B2 prices download around $0.01/GB, free through the Cloudflare Bandwidth Alliance path. Glacier-class tiers invert the deal: pennies to store, hours to retrieve — expedited retrieval exists at a premium, but "expedited" still queues. The cheap tier is pricing your RTO whether you noticed or not. A DR plan that assumes 30-minute recovery from a retrieval tier that returns first bytes in 4 hours is not a plan.

The practice

Enumerate which failure classes each copy covers, in order, and find the first class nothing survives — that is your actual exposure. At minimum: one copy under an identity root no deploy credential can reach (separate account, separate MFA, deny-delete SCP, Object Lock compliance), with restore bandwidth and retrieval latency measured in a drill, not assumed from the marketing page. And note the catch-22 hiding in "separate account": the new account's root credentials have to live somewhere that survives the same disaster — a password manager synced to devices that die with the office is a correlated vault. Offsite is an audit question — who can still reach this copy when everything else is on fire? — not a checkbox on a form.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.