Skip to content

Lesson 8 of 9 · 22m

Resilience Is Designed Around Failure Modes

Availability zones, backups, RTO/RPO, health checks, and restore drills — the difference between redundancy and recovery.

Teams say “high availability” when they mean “I added a second thing.” Resilience starts with naming the failure you care about: instance loss, Availability Zone impairment, bad deployment, corrupted data, region disruption, operator error. Each one has different mitigation. A multi-AZ database does nothing for a table dropped by a migration, and a backup does nothing if nobody can restore it within the business deadline.

RTO and RPO are the requirements

RTO: how long can the service be down?
RPO: how much data loss is acceptable?

If checkout has an RPO of five minutes, nightly snapshots are not a database recovery design. If the internal reporting service can be down for a day, a multi-region active-active architecture is probably complexity cosplay. Write the numbers down before choosing technology.

Redundancy handles component loss, backups handle data loss

EC2 in two AZs       -> instance/AZ failure
RDS Multi-AZ         -> database host/AZ failure
RDS snapshot         -> point-in-time data copy
S3 versioning        -> accidental overwrite/delete window
Cross-region copy    -> regional impairment or isolation requirement

These controls overlap but do not substitute for each other. A replicated system happily replicates deletion and corruption. A backup does not reduce failover time unless the restore path is engineered and rehearsed.

Health checks should test user reality

A load balancer health check that returns 200 from a static /health page while the database is down creates confidence without truth. Check the dependency only when the dependency is genuinely required to serve. Shallow checks are for routing; deep checks are for diagnosis. Do not let a deep check cascade-remove every host because one shared dependency hiccuped.

Restore drills are the only proof

A minimal drill:

aws rds restore-db-instance-from-db-snapshot   --db-instance-identifier restore-drill-2026-11-29   --db-snapshot-identifier prod-db-2026-11-28   --db-subnet-group-name isolated-restore-subnets

Then measure the time, verify application-level correctness, document the rough edges, and delete the drill resources. The output is not “restore succeeded”; it is “we can restore in 43 minutes with two manual steps we need to automate.”

Field notes

  • Backups need encryption, retention, ownership, and access control just like production data.
  • Multi-region is a product and compliance decision before it is a technical one; data gravity and consistency make it expensive.
  • Termination protection, deletion protection, and backup retention are cheap guardrails against operator error.
  • Chaos experiments are useful only after basic observability and rollback paths already exist.

Was this lesson helpful?

Sign in to rate