Skip to content

Lesson 2 of 9 · 25m

Modern 3-2-1 Architecture Without Cargo Cult

Apply the 3-2-1 rule as failure-domain isolation, adapting copy count, media, location, immutability, and access separation to current threats.

The 3-2-1 rule — three copies, two media, one offsite — is old enough to be quoted and young enough to be misused. I have seen teams satisfy the letter with three copies in one account, one rack, or one blast radius. The rule is not numerology. It is a compressed way of saying copies must fail independently.

Translate the slogan into isolation

production copy          the live service
backup copy 1            local or same-site, optimized for fast restore
backup copy 2            separate fault domain, credentials, and ideally provider

'Two media' used to mean disk and tape. Today it more often means independent storage systems with different control planes: object storage plus offline disk, cloud object storage plus provider-exported archive, or separate clusters with separate authentication. The point is not the material. The point is avoiding correlated failure.

Draw the blast radius explicitly

A diagram should show what one compromised identity can destroy:

prod IAM role  -> can write database
backup role    -> can write backup bucket, cannot delete versions
backup admin   -> can modify policy through break-glass workflow only
ransomware     -> cannot mount or rewrite immutable object versions
region loss    -> leaves second copy readable

If one credential can delete production and all backups, you have copies but not protection. If one storage bug corrupts every copy, you have replication but not independence.

Object lock changes the design center

S3-compatible retention can make backup data immutable for a window:

aws s3api create-bucket --bucket company-backup-vault \
  --object-lock-enabled-for-bucket

aws s3api put-object-lock-configuration \
  --bucket company-backup-vault \
  --object-lock-configuration 'ObjectLockEnabled=Enabled,Rule={DefaultRetention={Mode=COMPLIANCE,Days=30}}'

Compliance mode is intentionally annoying. That is the feature. Test it in a disposable bucket first because mistaken retention can make cleanup expensive or impossible until the window expires.

Air gap is a spectrum

Tape in a safe is an air gap. A separate cloud account with no shared identity is a strong isolation boundary. An object bucket reachable only through a backup service account is weaker but still useful. A mounted NFS share writable by production is not meaningfully air-gapped; it is a ransomware target with extra steps.

Design retention around recovery questions

Do not start with 'keep 30 daily copies.' Start with questions: how far back must corruption be recoverable, how long might deletion go unnoticed, what does legal or contractual retention require, and how much does each restore point cost? Common shapes are daily for two weeks, weekly for three months, monthly for a year — but only if the detection timeline supports it.

Replication and backup solve different problems

Replication is valuable for availability and sometimes disaster recovery speed. It is still synchronous or asynchronous copying of state, including deletion and corruption. Backups preserve earlier states under separate control. Mature designs use both and refuse to let one pretend to be the other.

Field notes

  • Versioning without delete protection is not immutability; lifecycle and permissions can still erase history.
  • Cross-region is not cross-account. Identity compromise often ignores geography.
  • Document which copies are online, offline, immutable, and merely replicated.
  • Test restore from the isolated copy, not just the convenient local one.
  • Keep backup software dependencies minimal enough to reinstall during a crisis.

Was this lesson helpful?

Sign in to rate