Skip to main content

Disaster Recovery and Multi-Region

1. Executive Summary​

Disaster recovery (DR) is the capability to restore critical systems after regional failures, data corruption, or catastrophic outages. Multi-region architecture distributes workloads across geographic locations for availability, latency, and regulatory requirements. The defining metrics are RTO (Recovery Time Objective—how fast you recover) and RPO (Recovery Point Objective—how much data loss is acceptable).

DR is not backup alone—it encompasses runbooks, tested failover, data replication topology, DNS/traffic shifting, and organizational readiness. Principal architects align DR tiers to business impact analysis (BIA)—not every system needs active-active multi-master across three continents.

This chapter covers DR patterns (backup-restore, pilot light, warm standby, active-active), replication tradeoffs, failover mechanics, split-brain risks, testing discipline, and cost implications.

2. Why This Topic Matters​

Principal interviews frequently include:

  • "Design multi-region for 99.99% availability."
  • Difference between active-passive and active-active.
  • How to choose RPO/RTO for payment vs analytics.
  • DNS failover limitations and TTL.
  • Split-brain in database failover.

Weak answers claim "we're multi-AZ so we're fine" without regional or data consistency depth.

3. Problems Being Solved​

ProblemDR / multi-region response
Regional cloud outageFailover to secondary region
Data center fireOff-site backups and replication
Ransomware / corruptionPoint-in-time recovery, immutable backups
Latency to global usersRead replicas or active endpoints nearby
Regulatory data residencyRegion-specific deployments
Cascading failure across regionsBlast radius isolation, bulkheads

DR does not guarantee zero downtime without significant cost and complexity—tradeoffs must be explicit.

4. Assumptions and System Model​

AssumptionImplication
Regional failures happenAWS/GCP/Azure region outages are documented history
Replication lag existsRPO > 0 unless synchronous cross-region
Failover is manual or automatedAutomation must be tested—untested = RTO ∞
Clients use DNS or anycastTraffic shift takes time (TTL, propagation)
Not all systems same tierTier-1 payments vs tier-3 internal tools

Failure domains: AZ < Region < Cloud account < Organization—design blast radius consciously.

5. Essential Terminology​

TermDefinition
RTOMax acceptable downtime to restore service
RPOMax acceptable data loss measured in time
BIABusiness Impact Analysis prioritizing systems
Active-passiveSecondary idle until failover
Active-activeMultiple regions serve traffic concurrently
Pilot lightMinimal core running in DR region
Warm standbyScaled-down but functional DR environment
Split-brainTwo primaries accepting writes—data divergence
Global load balancerRoutes users to healthy region (Route 53, GSLB)
Immutable backupWORM storage resistant to ransomware overwrite

6. Core Mechanism​

DR pattern spectrum​

Figure 1: Higher DR maturity increases cost and operational complexity while reducing RTO.

Active-passive failover​

Figure 2: Health-checked DNS failover with database promotion—RPO equals replication lag at failure moment.

Multi-region active-active (read path)​

Figure 3: Active-active requires conflict resolution strategy—often partition by tenant/region or CRDT/eventual consistency.

7. Step-by-Step Walkthrough​

Scenario: Tier-1 payment API—RTO 15 min, RPO 5 min.

ComponentDesign choice
ComputeWarm standby ASG in secondary region (min 2 instances)
DatabaseRDS cross-region read replica; automated promotion runbook
DNSRoute 53 health checks; failover routing policy
SecretsReplicated Secrets Manager / multi-region KMS
QueuesSQS with cross-region DLQ strategy or global service
TestingQuarterly game day failover drill

Failover runbook steps:

StepAction
1Confirm primary region unhealthy (not transient blip)
2Stop writes to primary if split-brain risk
3Promote read replica; verify replication caught up or accept RPO
4Update DNS / GSLB weights
5Scale warm standby to production capacity
6Validate synthetic transactions
7Communicate status; monitor error budget

DR tier classification template:

TierRTORPOPatternExample systems
Tier-1<15 min<1 minWarm standby + sync/async replPayments, auth
Tier-2<4 hours<15 minPilot light + async replOrder management
Tier-3<24 hours<4 hoursBackup-restoreInternal analytics
Tier-4Best effort24h+Backup onlyDev sandboxes

Align tiers with business impact analysis dollar figures—not uniform gold plating.

Failover testing checklist (game day):

  • Replication lag measured at start
  • Synthetic transactions defined (success criteria)
  • DNS TTL documented; propagation time observed
  • Runbook followed without heroics
  • Rollback procedure tested
  • Postmortem scheduled regardless of outcome
  • RTO/RPO actual vs target recorded

Untested items on this checklist represent unknown risk.

8. Invariants and Guarantees​

PropertyTypeStatement
RPO boundSafetyAsync replication: RPO ≥ lag at failure
RTO boundLivenessOnly if runbook tested and automation works
Active-active consistencyOften eventualCross-region sync rarely linearizable
Zero data lossRequires sync replicationLatency and availability tradeoff (CAP)
DNS instant failoverNot guaranteedTTL and resolver caching delay

9. Failure Scenarios​

Scenario 1: Split-brain after network partition​

Setup: Primary and secondary both think they are primary.

Effect: Divergent writes; reconciliation nightmare.

Mitigation: STONITH, quorum-based failover (etcd, RDS failover mechanism), fencing tokens.

Scenario 2: Failover during replication lag​

Setup: Promote replica 30 minutes behind.

Effect: RPO violation; lost transactions.

Mitigation: Monitor lag; delay promotion; synchronous replication for critical data (latency cost).

Scenario 3: Untested DR​

Setup: Runbook exists; last test 3 years ago; secrets expired.

Effect: RTO hours to days during real incident.

Mitigation: Quarterly game days; automated DR tests; immutable runbooks in Git.

Scenario 4: DNS TTL too high​

Setup: TTL 3600s; primary fails.

Effect: Users hit dead region for an hour.

Mitigation: Lower TTL for failover records; use anycast or health-checked GSLB.

Scenario 5: Active-active write conflict​

Setup: Same user updates profile in two regions simultaneously.

Effect: Last-write-wins loses data.

Mitigation: Route user to home region; CRDTs; conflict resolution policies.

Scenario 6: Failback complexity ignored​

Setup: Successful failover to secondary; primary recovers; team routes traffic back without data reconciliation.

Effect: Split datasets; orders exist only in secondary DB.

Mitigation: Failback runbook with bi-directional replication catch-up or read-only primary until sync verified.

10. Performance Characteristics​

TopologyWrite latencyRead latencyConsistency
Single regionLowestRegionalStrongest
Active-passive asyncLow (primary)Low primaryRPO lag on failover
Cross-region sync replicateHigh (+RTT)Regional readsTighter RPO
Active-activeVariableGlobal lowEventual / conflict handling

Cross-region sync replication adds RTT per write—measure before committing.

11. Scalability Limits​

  • Cross-region bandwidth costs scale with replication volume.
  • Global active-active databases have vendor-specific limits (Spanner, DynamoDB global tables).
  • Operational complexity of N regions grows non-linearly.
  • Game day coordination across timezones.

Organizations with global user bases may require active-active in multiple regions regardless of DR minimums—latency SLOs drive architecture as much as outage recovery, and the cost model differs from pure DR tiering.

DNS tip: Lower TTL on failover records to 60s or below during migration periods—higher TTLs are fine for steady state but extend failover time during incidents.

Always document failback procedure alongside failover—teams that only practice one direction discover data divergence during recovery.

RPO at failover equals replication lag at failure moment for async replication—state this explicitly in every DR architecture review.

Multi-AZ protects against availability zone failure; only cross-region design protects against regional disasters—do not conflate the two in interviews or architecture documents.

12. Operational Considerations​

  • Tiered DR per service classification (tier-1/2/3).
  • Runbooks in Git; linked from service catalog.
  • Automated failover with manual approval for data promotion.
  • Backup verification—restore tests, not just backup success alerts.
  • Configuration parity between regions (Infrastructure as Code).
  • Incident comms templates for regional failover.

Replication lag monitoring (alert before failover need):

Lag thresholdSeverityAction
<30sNormalNone
30s–5minWarningInvestigate network, DB load
>5minCriticalPause promotions; prepare manual failover decision
>RPO targetEmergencyExecutive decision on promote vs wait

Lag dashboards must be visible during game days—teams practice reading lag under synthetic load, not only during real disasters.

13. Security Considerations​

  • KMS keys multi-region or replicate carefully.
  • IAM roles per region; break-glass access audited.
  • Immutable backups isolated from production credentials.
  • Data residency compliance—no failover crossing legal boundaries.
  • DDoS during failover when DNS flapping—rate limits.

14. Cost Considerations​

PatternCost driver
Backup-restoreStorage only; highest RTO
Pilot lightMinimal always-on resources
Warm standby~30–50% prod capacity idle—estimate per workload
Active-active~2× compute + replication egress + conflict tooling

FinOps must align DR spend to revenue impact of downtime—not uniform gold plating.

15. Production Implementations​

AWS multi-region​

Route 53 failover, S3 cross-region replication, RDS cross-region replicas, Aurora global database.

Google Cloud​

Cloud Spanner multi-region for strong consistency globally—specific product guarantees.

Azure​

Paired regions, Traffic Manager, geo-redundant storage.

Financial services​

Often active-passive with sync replication to nearby DR site—regulatory RPO near zero.

AWS DR service mapping (reference):

ComponentAWS serviceDR pattern
DNS failoverRoute 53 health checksActive-passive
ComputeASG warm standby second regionPilot light / warm
DatabaseAurora global, RDS cross-region replicaAsync/sync options
Object storageS3 CRRReplication lag = RPO
QueuesSQS (regional)Dual-region pattern needed
SecretsSecrets Manager replicationMulti-region keys

Route 53 health check nuance: Health checks probe endpoint every 30s (configurable); failover detection adds DNS TTL propagation delay. Total failover time = detection + TTL + application warm-up—often underestimated in RTO planning.

16. Alternatives and Tradeoffs​

StrategyWhen
Multi-AZ onlyRTO minutes acceptable; regional risk accepted
Active-passive cross-regionRegional DR with moderate RTO/RPO
Active-activeGlobal low latency; can accept eventual consistency
Backup to glacierArchival; RTO hours-days

Decision criteria: BIA dollar impact per minute downtime vs DR infrastructure cost.

17. Common Misconceptions​

MisconceptionReality
"Multi-AZ = DR"AZ failure covered; region failure is not
"Backups = DR"Restore time may violate RTO
"Active-active is always better"Conflict resolution and cost are hard
"Zero RPO is free"Sync cross-region replication costs latency
"Failover is automatic magic"Requires engineering and testing

18. Principal Architect Perspective​

  1. Tier services—not everything gets 15-minute RTO.
  2. Game days are mandatory—untested DR is wishful thinking.
  3. Measure replication lag as leading indicator of RPO risk.
  4. Document CAP tradeoff explicitly for cross-region writes.
  5. FinOps partnership on warm standby sizing.

Active-active conflict resolution strategies:

StrategyMechanismBest for
Home region routingUser always writes to assigned regionUser-scoped data
Last-write-winsTimestamp comparisonLow-conflict profiles
CRDTsMerge without coordinationCounters, sets
Application mergeBusiness logic resolvesShopping cart, docs
Single writer per entityLeader election per keyFinancial ledger

Interview answers must name which strategy applies—active-active without conflict plan is incomplete.

Compliance note: GDPR and data residency may prohibit failover to specific regions—DR design must be reviewed with legal before engineering implementation. Mark region constraints explicitly in BIA documentation.

19. Architecture Review Exercise​

Scenario: Single region; nightly backups to S3; RTO/RPO "best effort"; no runbook; claims 99.99% SLA to customers.

Review prompts:

  1. SLA credibility?
  2. Real RTO for database restore?
  3. Remediation roadmap and cost?

Expected findings: BIA, tiered DR, cross-region replica, quarterly tests, SLA revision or investment.

20. Whiteboard Explanation​

90-second version:

"DR is defined by RTO—how fast we recover—and RPO—how much data we can lose. I tier systems by business impact. Backup-restore is cheapest but slowest RTO. Warm standby in a second region reduces RTO with idle cost. Active-passive uses async replication; failover promotes replica accepting RPO equals lag. Active-active serves multiple regions but needs conflict handling. DNS health checks shift traffic; TTL affects cutover speed. Split-brain is prevented with quorum promotion and fencing. DR must be tested quarterly—game days—not slide deck only. Multi-AZ handles AZ failure; regional DR needs explicit cross-region design and FinOps alignment."

Extended principal addendum: Always state assumptions—"assuming async replication with 30s lag, RPO is 30s at failover moment." Precision separates principal answers from hand-waving about "high availability."

21. Interview Questions​

  1. RTO vs RPO?

    • Signals: Time to recover vs data loss window.
  2. Multi-AZ vs multi-region?

    • Signals: AZ redundancy vs regional disaster.
  3. Active-passive vs active-active?

    • Signals: Idle DR vs concurrent traffic; consistency.
  4. Split-brain prevention?

    • Signals: Quorum, STONITH, fencing tokens.
  5. DNS failover limitations?

    • Signals: TTL, caching, propagation delay.
  6. Pilot light vs warm standby?

    • Signals: Core only vs scaled-down full stack.
  7. How choose RPO for payments?

    • Signals: BIA, sync repl cost, regulatory requirements.
  8. Game day purpose?

    • Signals: Validate runbooks, RTO, team readiness.
  9. S3 backup enough for DR?

    • Signals: RTO for restore; need compute path too.
  10. Global database options?

    • Signals: Spanner, DynamoDB global tables, Cockroach—tradeoffs.
  11. CAP in cross-region writes?

    • Signals: Sync = partition sensitivity; async = RPO.
  12. Immutable backup why?

    • Signals: Ransomware resistance.
  13. RPO vs replication lag relationship?

    • Signals: At failover, RPO equals lag if async; sync tightens at latency cost.
  14. Brownout vs blackout failover?

    • Signals: Gradual degradation may need traffic shift before full region dead.
  15. DR cost tiering example?

    • Signals: Payments warm standby; analytics backup-only.

Scoring rubric:

DimensionStrongWeak
MetricsRTO/RPO tied to BIAVague "high availability"
FailoverPromotion, DNS, split-brain"Failover button"
TestingGame days, automationBackups only
CostTiered DRGold plate everything

22. Interview Follow-Ups​

  1. Aurora global database RPO?

    • Signals: Sub-second typical—verify AWS docs for current SLA.
  2. Active-active for shopping cart?

    • Signals: Session affinity or home region; conflict on inventory.
  3. DR during regional degradation (not full outage)?

    • Signals: Gradual traffic shift; brownout handling.
  4. How test backup restore without prod risk?

    • Signals: Isolated restore environment; quarterly timed restore drill; verify data integrity checksums.
  5. Compliance blocking cross-region failover?

    • Signals: Data residency; fail within legal region only; document in BIA.

22A. Production Low-Level Design (Interview + Game Day)​

Tier-1 fintech API warm-standby DR LLD—RTO 15 min, RPO 1 min. Production LLD and Game Day Standard.

DR pattern choice​

PatternTypical RTORPOFit for tier-1 fintech
Backup-restoreHoursHours❌ Tier-3 only
Pilot light30–90+ minMinutes❌ Risky for 15 min RTO
Warm standby~5–15 minAsync lag✅ Primary design
Active-activeSecondsConflict handlingOverkill v1

Regional topology​

Step-by-step flow:

StepComponentRPO / RTO note
1Merchants hit global DNS name—
2Health checks every 30s; TTL 60s in RTO budgetFailover detection + propagation
3aActive API + full capacityNormal path
3bWarm ASG min 20–30% capacityScale on failover—not cold start
4Lag >30s pages; RPO = lag at failure instantAsync replication

Failover runbook sequence (numbered)​

Step-by-step flow:

StepSafety
1Avoid flapping—ALB 5xx + synthetic + AWS Health
2Single writer; document lost in-flight commits
3Wait TTL; don't skip in RTO math
4Secrets/IAM pre-replicated
5Idempotent authorize + capture test
6Disable primary listeners / SG deny

API / idempotency (failover-critical)​

EndpointIdempotencyError on promote
POST /v1/paymentsIdempotency-Key header + DB dedup409 duplicate safe
POST /v1/webhooks/replayOutbox cursorDLQ for manual reconcile

One SLO​

Synthetic payment success rate in DR region during game day ≥99% after promote; replication_lag_seconds p99 < 30s in steady state.


22B. Game Day Playbooks​

#DrillInjectDetectMitigateVerify
GD-1Regional blackoutBlock primary region (tabletop + sim)Health checks failExecute promote + DNSRTO ≤15m; synthetics pass
GD-2Replication lag spikeLoad + network delayLag >30s alertPause deploys; defer promote decisionRPO understood before promote
GD-3Split-brain drillSimulated dual-primary attemptFencing / promote lockSTONITH runbookSingle writer enforced
GD-4Failback rehearsalPrimary healthy post-DRData divergence checksRead-only primary until syncNo duplicate orders

GD-1 — Warm standby regional failover​

23. Strong Answer Example​

Question: "Design DR for fintech API—15 min RTO, 1 min RPO."

Answer this as a 45-minute greenfield design using the PRACTICE framework. Below is how a strong student sounds aloud—clarify first, then design, then defend tradeoffs.

PRACTICE interview answer map for fintech DR

Figure A: PRACTICE map — Problem → Requirements → Assumptions → Capacity → Topology → Invariants → Constraints → Evolution.


Student interview script (PRACTICE)​

P — Problem framing​

"We're designing disaster recovery for a fintech payments API. The hard targets are RTO ≤ 15 minutes and RPO ≤ 1 minute—so if us-east-1 dies, merchants can take payments again within 15 minutes, and we lose at most about one minute of committed data.

Non-goals for v1: active-active dual-writer across regions, multi-cloud, and recovering analytics warehouses to the same RTO. I'll treat those as separate tiers."

R — Requirements​

TypeRequirement
FRAccept / authorize / capture payment intents; webhooks to merchants; idempotent writes
NFRRTO 15 min, RPO 1 min; p99 API latency SLO in primary; PCI scope
ComplianceAudit trail survives failover; no dual-ledger writers
OpsDocumented runbook + quarterly game day

"I'll ask the interviewer: is multi-AZ already assumed? Are we AWS? Is 'fintech API' card payments only or also ledger/settlement? I'll assume card payments + webhook delivery, AWS, multi-AZ already in primary."

A — Assumptions (state aloud)​

AssumptionWhy it matters
Single primary writer regionAvoids split-brain ledger
Async cross-region DB replicationCan meet ~1 min RPO if lag alerted
DNS failover acceptableContributes minutes to RTO via TTL
Warm standby cost OK for tier-1Cheaper than active-active; meets 15 min RTO
Idempotency keys in DBSafe retries after failover

"If any assumption is wrong—especially 'single writer'—the design changes to consensus or region-pinned customers."

C — Capacity (back-of-envelope)​

Peak authorize QPS → 5,000 (say)
Avg payload → 2 KB
Primary write path → API → DB commit → ack
Cross-region lag SLO → p99 lag < 30s (alert); hard budget 60s = RPO
DR compute → warm standby ~20–30% capacity, scale on failover
DNS TTL → 60s (tradeoff: failover speed vs cache churn)

"RPO is dominated by replication lag at the failure instant, not backup frequency. RTO is dominated by detect + DNS + promote + smoke test, not 'restore from S3'."

T — Topology (draw this)​

Fintech API warm-standby DR topology across two regions

Figure B: Active primary (us-east-1) + warm standby (us-west-2). Route 53 health-checked failover; Aurora (or equivalent) cross-region replica with lag < 60s; DR API scaled down until promote.

Pattern choice: Warm standby (not pilot light, not active-active).

PatternTypical RTOFit for 15 min / 1 min?
Backup-restoreHours❌ misses RTO
Pilot light30–90+ min❌ risky for 15 min
Warm standby~5–15 min✅ fits with practice
Active-activeSeconds–minutesOverkill cost/complexity for v1

I — Invariants (safety)​

"These are non-negotiable for fintech:

  1. Single writer for the ledger/payment store—never two primaries.
  2. Idempotency — Idempotency-Key survives failover so retries don't double-charge (Stripe scenario).
  3. Fence the old region — after failover, primary must not accept writes (disable listeners / SG deny / DNS removed).
  4. RPO honesty — in-flight commits not yet replicated are lost; webhooks may need replay from outbox."

C — Constraints (second C)​

ConstraintDesign response
CostWarm standby ~30–50% of primary burn—not 2× active-active
Split-brainManual or dual-control promote; fencing
PCISame controls in DR; secrets via replicated parameter store / KMS
DNS TTL60s TTL; health checks every 30s—budget this inside 15 min
Async lagPage at 30s lag; if lag > 60s, RPO already breached—stop risky deploys

E — Evolution (failover plan + game days)​

Failover timeline targeting RTO of 15 minutes

Figure C: Failover runbook on a clock—detect → decide → DNS → promote DB → scale API → smoke test → restore traffic, all inside the 15-minute RTO budget.

Runbook (what I'd say I'd execute):

  1. Detect — multi-signal: synthetic payment probes + ALB 5xx + AWS Health (1–2 min).
  2. Decide — IC declares regional failover (avoid flapping).
  3. Traffic — Route 53 failover record; wait for TTL.
  4. Data — promote Aurora cross-region replica; confirm writable.
  5. Compute — scale DR ASG/ECS to peak; attach IAM/secrets already present.
  6. Verify — synthetic authorize + capture + webhook; compare lag-at-failover for RPO estimate.
  7. Communicate — status page; freeze non-essential deploys.
  8. Failback later — planned, with reconciliation—not automatic same day.

Phased delivery:

PhaseDeliverable
M1Multi-AZ + PITR backups (baseline)
M2Cross-region replica + lag SLOs
M3Warm standby API + Route 53 failover
M4Automated promote with approval gate
M5Quarterly game day; publish measured RTO/RPO

Observability: replication_lag_seconds, failover runbook step timers, synthetic success rate in DR, error budget burn during game day.


Closing line (interview)​

"So: warm standby in a second region, async DB replication with lag < 60s for the 1-minute RPO, Route 53 + promote + scale for the 15-minute RTO, single-writer + fencing + idempotency for safety, and quarterly game days so RTO is measured—not aspirational. If you need RTO under ~2 minutes, we'd revisit active-active with a much higher cost and consistency design."

Scoring signals​

StrongWeak / red flag
Separates RTO vs RPO mechanisms"Multi-AZ is enough"
Chooses pattern with cost tradeoffActive-active with no split-brain story
Mentions lag alerts and DNS TTL in the budgetDaily backups only for 1 min RPO
Idempotency + fencingAutomatic DNS flip with no promote plan
Game day / measured RTOUntested runbook

Compact outline (if time-boxed to 2 minutes)​

"Tier-1. Primary us-east-1, warm standby us-west-2. Aurora global / CRR with lag alert at 30s for ≤1 min RPO. Route 53 failover TTL 60s. Pre-warmed ASG min capacity. Promote replica + scale + synthetic payment test inside 15 min. Fence old region. Quarterly game day. Async webhooks may miss RPO—call out as separate tier."

Additional strong answer​

Question: "How do you justify warm standby DR cost to CFO?"

"BIA shows tier-1 outage costs $X per minute based on revenue at risk during peak. Warm standby adds $Y monthly—breakeven if prevents one outage exceeding Y/X minutes annually. Present tiered model: not gold-plating analytics same as payments. Warm standby RTO 15 min vs backup-restore RTO 8 hours—quantify customer SLA penalty and brand risk for 8-hour window. Include game day proof that runbook works—untested backup is not DR. FinOps tags DR spend to reliability OKR, not hidden in engineering overhead."

24. Weak Answer Example​

Question: "Design DR for fintech API."

"Enable multi-AZ and daily backups."

Why weak: No regional DR, RTO/RPO, failover, or testing.

25. Hands-On Exercise​

Lab: labs/lab-012-multi-region-aws/ — BIA + failover dry-run on :8102

cd labs/lab-012-multi-region-aws
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
pytest tests/ -v
docker compose -p lab012 -f docker/docker-compose.yml up --build -d
chmod +x scripts/demo_multiregion.sh && ./scripts/demo_multiregion.sh
StepEndpointWhat happens
1POST /v1/config/validateTier services with RTO/RPO targets
2POST /v1/failover/simulateTimed failover with replication lag
3OutputRPO from lag, RTO from runbook steps
4Dry-run modeNo AWS resources required
5Game-day prepExport checklist for tabletop exercise

Swagger: http://localhost:8102/docs

Engineer guide: how the local stack works​

  1. BIA inputs — service tier, peak revenue at risk, and acceptable data loss drive RTO/RPO.
  2. Replication lag model — async CRR lag at failure instant = minimum RPO.
  3. DNS failover cost — TTL + resolver caching adds minutes to measured RTO.
  4. Runbook validation — simulator outputs ordered steps; time each in game day.
  5. Cost controls — plan-only Terraform; never leave DR stacks running without alarms.

Architecture deep-dive: Multi-Region Architecture.

Build-from-scratch exercise (optional)​

  1. Document BIA for 5 fictional services with RTO/RPO.
  2. Draw active-passive architecture with replication lag annotation.
  3. Write failover runbook outline (10 steps).
  4. Calculate RPO if replica lag is 45s at failure.
  5. Plan game day success criteria and rollback.

26. Knowledge Check​

  1. RPO definition? (Max acceptable data loss duration.)
  2. Multi-AZ covers? (Availability zone failure.)
  3. Split-brain? (Two writers diverging.)
  4. Warm standby? (Scaled-down DR environment ready to scale.)
  5. Untested DR RTO? (Effectively unknown/infinite.)
  6. Warm standby characteristic? (Partial capacity ready to scale.)
  7. Game day validates? (Runbooks, RTO/RPO, team readiness.)
  8. S3 backup alone sufficient? (Not if RTO requires compute path.)
  9. Failback risk? (Data divergence if not reconciled.)
  10. Route 53 failover delay includes? (Health check interval + DNS TTL.)

27. Flashcards​

#FrontBack
1RTORecovery Time Objective—max downtime.
2RPORecovery Point Objective—max data loss.
3Active-passiveSecondary idle until failover.
4Active-activeMultiple regions serve concurrently.
5Pilot lightMinimal DR region core running.
6Split-brainDual primary write divergence.
7Game dayScheduled DR failover exercise.
8Warm standbyPartial capacity DR environment.
9BIABusiness Impact Analysis prioritization.
10Immutable backupWORM storage against ransomware.

28. Cheat Sheet​

METRICS
RTO — time to restore service
RPO — data loss window

PATTERNS (cost ↑, RTO ↓)
Backup-restore → Pilot light → Warm standby → Active-active

FAILOVER
Health check → stop split-brain → promote DB → shift DNS → validate

MULTI-AZ ≠ MULTI-REGION

TEST
Quarterly game days
Restore drills, not backup-only

TIER
Tier-1: strict RTO/RPO
Tier-3: backup acceptable

DR and multi-region design must align with SLO error budgets, chaos experiment findings, and FinOps tiering—reliability is a system property spanning architecture, operations, and organizational process.

30. References​

Primary sources​

  • AWS Well-Architected Framework — Reliability Pillar — DR strategies.
  • Google SRE Book — Chapter on managing incidents and capacity (DR culture context).

Engineering blogs​

  • AWS Architecture Blog — backup and restore vs pilot light vs warm standby diagrams.
  • Azure Reliability documentation — paired regions.

Distinction​

Claim typeSource
DR pattern definitionsAWS Well-Architected
Product-specific RPOVendor SLAs—verify current docs
RTO estimatesOrganization and workload dependent