teluzia.Cloud Engineer · Day 145
CHAPTER 21 · CLOUD SYSTEM DESIGN

DR and Multi-Region architecture

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Recovery objectives is today's starting point. RPO 15 minutes accepts at most 15 minutes of data loss; RTO 60 minutes targets service restoration within an hour. Measure restoring data, dependencies and traffic, not just creating a backup. You will connect this with disaster recovery patterns and multi-region data and failback. The lesson's artifact brings these decisions together: Choose a DR pattern for a fictional service with stated RPO/RTO; build a failover and failback checklist with data validation gates.

Think of it this way

Disaster recovery is rebuilding a workshop from backups and a spare location; having spare tools does not prove how quickly productive work resumes.

TOPIC 01 / 03Step by step

Recovery objectives

RPO limits acceptable data loss while RTO limits restoration time. They are objectives tested through recovery exercises; a backup frequency does not establish actual restore duration. RPO 15 minutes accepts at most 15 minutes of data loss; RTO 60 minutes targets service restoration within an hour. Measure restoring data, dependencies and traffic, not just creating a backup.

WORKED EXAMPLE
RPO 15 minutes accepts at most 15 minutes of data loss; RTO 60 minutes targets service restoration within an hour. Measure restoring data, dependencies and traffic, not just creating a backup.

Recovery point objective bounds acceptable lost data; recovery time objective bounds acceptable restoration duration; a restore test measures the actual process. Imagine hourly backups exist, but restoring permissions, networking and application configuration takes several hours. Backup frequency addresses only part of the data-loss question and none of the complete service-restoration sequence. Choose a target scenario, restore to an isolated environment and verify record completeness plus representative transactions. Record the backup timestamp, recovery start and service-ready point using explicit clocks. Aggressive objectives can require replication and prepared capacity, increasing cost and complexity. State which failure and data types the exercise covers, and mark dependencies or external services not restored in the test so the measured duration is not mistaken for a universal guarantee.

Why this matters

Measure restoring data, dependencies and traffic, not just creating a backup.

A common trap

A backup schedule by itself proves the restoration time.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

Recovery objectives

RPO limits acceptable data loss while RTO limits restoration time. They are objectives tested through recovery exercises; a backup frequency does not establish actual restore duration. RPO 15 minutes accepts at most 15 minutes of data loss; RTO 60 minutes targets service restoration within an hour. Measure restoring data, dependencies and traffic, not just creating a backup.

WORKED EXAMPLE
RPO 15 minutes accepts at most 15 minutes of data loss; RTO 60 minutes targets service restoration within an hour. Measure restoring data, dependencies and traffic, not just creating a backup.

Recovery point objective bounds acceptable lost data; recovery time objective bounds acceptable restoration duration; a restore test measures the actual process. Imagine hourly backups exist, but restoring permissions, networking and application configuration takes several hours. Backup frequency addresses only part of the data-loss question and none of the complete service-restoration sequence. Choose a target scenario, restore to an isolated environment and verify record completeness plus representative transactions. Record the backup timestamp, recovery start and service-ready point using explicit clocks. Aggressive objectives can require replication and prepared capacity, increasing cost and complexity. State which failure and data types the exercise covers, and mark dependencies or external services not restored in the test so the measured duration is not mistaken for a universal guarantee.

Why this matters

Measure restoring data, dependencies and traffic, not just creating a backup.

A common trap

A backup schedule by itself proves the restoration time.

Disaster recovery patterns

Backup/restore, pilot light, warm standby and active-active trade cost for readiness and complexity. Account for credentials, infrastructure, DNS and dependent data in each pattern. Backup/restore keeps little standby compute but requires rebuilding; warm standby keeps a reduced live stack ready to scale. Select based on tested recovery objectives and ongoing operational cost.

WORKED EXAMPLE
Backup/restore keeps little standby compute but requires rebuilding; warm standby keeps a reduced live stack ready to scale. Select based on tested recovery objectives and ongoing operational cost.

Pilot light keeps essential foundations ready; warm standby maintains a reduced operational system; active-active serves from multiple locations. Imagine the service can tolerate a long outage but must preserve durable records. Backup/restore may fit better than maintaining full duplicate capacity. For a tighter target, identify which components must already exist and what scaling or deployment steps remain. Include infrastructure definitions, identity, secrets access and dependent services rather than comparing only compute counts. A pattern's name does not establish its actual recovery capability; rehearse the whole path. Greater standby readiness reduces some recovery work but raises ongoing cost and synchronization requirements. Choose the simplest pattern whose measured restoration and data outcomes meet the agreed objectives, then document the failure scenarios it cannot yet handle.

Why this matters

Select based on tested recovery objectives and ongoing operational cost.

A common trap

Active-active is always cheapest and easiest to operate.

Multi-region data and failback

Replicated data can lag or conflict. Specify write ownership and failback reconciliation before switching traffic; two active regions do not remove shared deployment or identity risks. After writes switch to region B, region A's older copy cannot simply resume as writer. Reconcile replication progress and write ownership before failback to avoid conflicting or missing records.

WORKED EXAMPLE
After writes switch to region B, region A's older copy cannot simply resume as writer. Reconcile replication progress and write ownership before failback to avoid conflicting or missing records.

Replication lag is delay between copies; write ownership determines where changes are accepted; failback returns traffic or ownership after the original site recovers. Imagine both regions accept updates during a network break and the same record changes differently. Restoring connectivity requires a conflict policy, not merely turning on routing. Decide whether the design uses one writer, conflict resolution or another supported consistency mechanism, and explain consequences to users. Before failback, compare replication position, data integrity and application version compatibility. DNS or traffic changes also have propagation behavior that affects the transition. Multi-region service can improve regional resilience while creating data and deployment risks of its own. Test a complete failover-and-failback cycle with synthetic records rather than stopping the drill when the secondary responds to a health check.

Why this matters

Reconcile replication progress and write ownership before failback to avoid conflicting or missing records.

A common trap

Failback can ignore writes made during the failover period.

KEEP THESE WITH YOU

Today’s takeaways

Recovery objectives: RPO limits acceptable data loss while RTO limits restoration time.

Disaster recovery patterns: Backup/restore, pilot light, warm standby and active-active trade cost for readiness and complexity.

Multi-region data and failback: Replicated data can lag or conflict.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed