Solutions Architect

Disaster recovery

Disaster recovery brings a workload back after a Region-wide or data-destroying event, within agreed downtime and data loss. Part of task 2.2 of Design Resilient Architectures, 26% of scored content.

Official page

The 2 recovery objectives the business sets for each workload. They drive the choice of DR strategy and its cost.

Key points

  • RTO: the maximum acceptable delay between the interruption and the restoration of service. How long can we be down.
  • RPO: the maximum acceptable time since the last data recovery point. How much data can we lose.
  • Cost trade-off: lower RPO and RTO cost more in resources and complexity. If recovery costs more than the loss, skip it unless regulation requires it.
  • Replication is not backup: continuous replication also copies corruption and malicious deletes, so keep point-in-time backups too.
  • Multi-AZ first: AZs are far enough apart that most disasters hit only one, so a Multi-AZ design may already cover much of the risk.

On the exam

"Can lose at most 15 minutes of data" is an RPO requirement. "Must be back online within 1 hour" is an RTO requirement. Check which one the question constrains before picking a strategy.

Official page

The whitepaper Disaster Recovery of Workloads on AWS groups DR into 4 strategies, from cheap and slow to expensive and near zero.

Key points

  • Backup and restore: back up data, AMIs and infrastructure as code, then rebuild everything in the recovery Region after the event.
  • Pilot light: data is replicated live and core infrastructure exists, but application servers are switched off and are started and scaled out on failover.
  • Warm standby: a scaled-down but fully working copy can serve traffic at once. Failover only scales it up.
  • Multi-site active/active: every Region serves traffic. Hot standby is the active/passive variant at full scale.
  • Data plane failover: fail over with data plane operations such as Route 53 health checks or ARC routing controls, not control plane changes.

On the exam

"Data must be live in the second Region but servers can start on failover" -> pilot light. "Must take traffic immediately at reduced capacity" -> warm standby. The difference is whether the DR copy serves requests without being switched on first.

DR strategies compared

StrategyRPO / RTO and cost
Backup and restoreHours. Cost $. Lower priority workloads, all resources provisioned after the event.
Pilot lightTens of minutes. Cost $$. Data live, services idle.
Warm standbyMinutes. Cost $$$. Always running but smaller, business critical.
Multi-site active/activeReal time, near zero data loss. Cost $$$$. Mission critical services.
Official page

Central, policy-based backup for EC2, EBS, RDS, Aurora, DynamoDB, EFS, FSx, S3 and more, with copies to other Regions and accounts.

Key points

  • Backup plans: schedule, retention and transition to cold storage, assigned to resources by tags.
  • Cross-Region copy: copy rules send each recovery point to a vault in the DR Region, on a schedule or on demand.
  • Cross-account copy: copies to vaults in other accounts of the same AWS Organizations organization protect against a compromised account. Restore after copying into the target account.
  • Vault Lock: WORM protection. Governance mode can be removed with IAM permissions. Compliance mode becomes immutable after a grace time of at least 72 hours, even for the root user and AWS.
  • Audit Manager: built-in controls and daily reports show whether backups meet policy.

On the exam

"Centralize backups across many accounts and copy them to another Region" -> AWS Backup with Organizations. "Ransomware must not delete backups" -> Vault Lock in compliance mode plus cross-account copies.

Elastic Disaster Recovery

AWS Elastic Disaster Recovery

Official page

Continuous block-level replication of servers from on premises, another cloud or another AWS Region into a low-cost staging area in AWS.

Key points

  • Targets: RPO of seconds and RTO of minutes.
  • Staging area: data lands in a staging subnet with affordable storage and minimal compute. Full-capacity instances launch only for drills or recovery.
  • Point in time: recover from the latest state or from an earlier point, e.g. before a ransomware infection.
  • Failback: once the primary site is fixed, replicate back and fail back when ready.
  • Scope: applications and databases running on servers, not managed services such as RDS. It follows the pilot light pattern.

On the exam

"Replicate on-premises servers to AWS with RPO in seconds and RTO in minutes" -> Elastic Disaster Recovery. AWS Backup is the distractor: it takes point-in-time backups, not continuous replication.

S3 replication

Amazon S3 Replication

Official page

Asynchronous copying of objects to buckets in another Region (CRR) or the same Region (SRR), owned by the same or another account.

Key points

  • Requirements: versioning on source and destination and an IAM role that lets S3 replicate. Object Lock on the source requires Object Lock on the destination.
  • New objects only: live replication copies objects written after the rule exists. Use S3 Batch Replication for existing objects, failed ones and replicas of replicas.
  • Deletes: delete markers are not replicated by default with current rules, and deleting a specific version is never replicated, which shields the copy from malicious deletes.
  • S3 Replication Time Control: replicates most objects in seconds with a 15-minute SLA, plus metrics and events for late objects.
  • CRR vs SRR: CRR for compliance distance, lower latency and DR. SRR for log aggregation, prod to test copies and data sovereignty inside one Region.

On the exam

"Copy objects to another Region within a predictable 15 minutes" -> CRR with S3 RTC. "Objects that existed before the rule were not copied" -> Batch Replication.

Official page

Managed cross-Region replication for relational and NoSQL data keeps RPO low without building your own pipelines.

Key points

  • Aurora Global Database: 1 primary Region and up to 10 read-only secondary Regions, storage-level replication typically under 1 second. A secondary can take over writes in less than 1 minute.
  • Switchover vs failover: switchover moves the primary with no data loss for planned operations. Failover recovers from an outage of the primary Region.
  • Write forwarding: secondary Aurora clusters can forward write statements to the primary.
  • DynamoDB global tables: multi-active, every replica takes reads and writes. Multi-Region eventual consistency (default) resolves conflicts by last writer wins, multi-Region strong consistency is the other mode. 99.999% availability SLA.
  • RDS cross-Region read replicas: asynchronous, promoted by hand during DR, which takes a few minutes and includes a reboot.

On the exam

"Relational database, Region outage, RPO in seconds and RTO under 1 minute" -> Aurora Global Database. "Users in several Regions must write locally" -> DynamoDB global tables.

Cross-Region data options

ServiceDR role
Aurora Global DatabaseWrite global: one writer Region, readers in up to 10 others.
DynamoDB global tablesWrite local: active/active in every Region.
RDS read replicaPilot light database, manual promotion.
S3 CRRObjects, two-way rules for active/active buckets.

EBS snapshots

Amazon EBS snapshots

Official page

Incremental, point-in-time block backups stored in S3 and replicated across the AZs of the Region, the building block of EC2 backup and restore.

Key points

  • Incremental: only changed blocks are saved. AWS does not back up volumes on its own, so schedule snapshots.
  • Cross-Region copy: copy completed snapshots and AMIs to the DR Region. The first copy to a Region is full, later ones can be incremental.
  • Data Lifecycle Manager: automates creation, retention and deletion of snapshots and EBS-backed AMIs, including copies to other Regions or accounts, at no additional cost.
  • Fast snapshot restore: volumes created from the snapshot are fully initialized at creation, without first-read latency. Billed per snapshot per AZ per hour.
  • Recycle Bin: restores accidentally deleted snapshots, volumes and EBS-backed AMIs before their retention period ends.

On the exam

"Automate daily EBS snapshots and copy them to another Region at no extra cost" -> Data Lifecycle Manager. Pick AWS Backup when the scope spans many services and accounts.

Official page

Moving users to the recovery Region needs traffic routing, capacity that can actually launch and the same configuration in both Regions.

Key points

  • Route 53 failover routing: health checks switch DNS answers to the DR Region automatically, a data plane operation.
  • ARC routing controls: on/off switches backed by Route 53 health checks for a manually initiated, scripted failover.
  • Global Accelerator: static anycast IPs in front of endpoints in several Regions. Health checks reroute traffic without DNS caching delays.
  • Service quotas in the standby Region: raise them in advance so a pilot light or warm standby can scale to production size.
  • Infrastructure as code: CloudFormation (StackSets across accounts and Regions) and golden AMIs copied to both Regions rebuild the environment consistently. Test the plan regularly.

On the exam

"The DR Region could not scale during the test" -> service quotas were not raised there. "Clients cache DNS and fail over too slowly" -> Global Accelerator instead of DNS failover.