CLOUD CONCEPT

Disaster recovery

Disaster recovery is the planned restoration of applications, infrastructure, and data after a disruptive event within defined downtime and data-loss limits.

Cloud Concepts Hub →

What is Disaster recovery

Disaster recovery combines recoverable data, replacement infrastructure, documented procedures, and testing to restore technology services after failures, attacks, or operational mistakes. In the cloud, it uses capabilities such as backups, replication, automated provisioning, and geographically separate deployments to balance recovery requirements against cost and complexity.

Disaster recovery addresses how an organization restores technology services when their normal operating environment becomes unavailable or untrustworthy. Events include regional outages, accidental deletion, failed deployments, compromised credentials, and ransomware. It is part of business continuity, which also covers people, facilities, communications, and business processes. A disaster recovery plan must identify dependencies and recovery order: restoring an application server is insufficient if its database, identity provider, encryption keys, or network connectivity remain unavailable.

Begin with recovery time objective, or RTO, and recovery point objective, or RPO. RTO is the target maximum time to restore a service after disruption. RPO is the maximum acceptable data loss measured in time. For example, an order-processing application might require recovery within one hour and tolerate losing no more than five minutes of transactions. A daily backup alone cannot reliably meet that RPO; frequent backups, transaction-log capture, or replication would be needed. Actual recovery performance must be measured rather than inferred from a product feature.

Cloud recovery strategies range from backup and restore to pilot light, warm standby, and multi-site active-active deployments. Backup and restore generally has lower ongoing infrastructure costs but requires more rebuilding and data restoration. Pilot light keeps essential components available while other resources are deployed or scaled during recovery. Warm standby maintains a smaller functioning environment that can be expanded. Active-active deployments can reduce interruption but introduce costs and challenges around consistency, conflict resolution, routing, and operational coordination. None automatically guarantees zero downtime or zero data loss.

Availability Zones provide isolation within an AWS Region and help applications tolerate localized infrastructure failures. Multiple Zones do not provide protection against every Region-wide disruption. A secondary Region can provide geographic separation for recovery, but the application must have usable data, configuration, permissions, capacity, and recovery procedures there. Multiple Regions also support other goals, including lower latency for geographically distributed users and meeting jurisdictional requirements. These goals are distinct: copying data into another country for recovery can violate data-sovereignty restrictions unless the destination and processing arrangements are permitted.

Replication and backup solve different problems. Replication can make recent data available elsewhere, but it can also propagate corruption, unwanted changes, or encrypted files. Retained backups provide historical recovery points. For ransomware resilience, combine appropriately configured immutable retention with restricted deletion permissions, separate administrative boundaries, monitoring, and restore testing. Cross-account and cross-Region copies reduce different risks and are not interchangeable. Encrypt backups and replicated data, protect encryption keys from unauthorized use or deletion, and verify that recovery identities can decrypt the destination copies.

For example, an engineering team could centrally schedule database and volume backups, retain protected copies in a separate account, and copy supported backups to an approved recovery Region. It could also replicate critical servers to reduce recovery time. Infrastructure-as-code templates would recreate networks and application resources, while a runbook would specify database recovery, application validation, traffic redirection, and eventual failback. Recovery exercises should verify data integrity, application behavior, recovery duration, replication lag, quotas, and key access. A successful backup job is evidence that data was captured, not proof that the business service can be recovered.

Key aspects of Disaster recovery

Effective disaster recovery combines measurable objectives, isolated and protected recovery resources, appropriate architecture, and repeatedly tested restoration procedures.

Business-driven recovery objectives

Define RTO and RPO for each workload based on the impact of downtime and lost data. Use these targets to select backup frequency, replication methods, infrastructure readiness, and testing schedules.

Independent recovery locations

Use separate failure domains appropriate to the threat, such as another Region for regional disruption or another account for administrative isolation. Confirm that recovery locations satisfy data residency requirements and have the necessary services, quotas, and capacity.

Recoverable history alongside replication

Use replication to improve data availability and retained backups to recover earlier states. Do not assume a current replica protects against logical corruption, malicious changes, or ransomware.

Protected backup data and encryption keys

Restrict backup deletion, apply immutable retention where appropriate, and separate backup administration from production administration. Ensure destination permissions and encryption-key policies support recovery without allowing unnecessary access.

Cost-aware recovery strategies

Choose between backup and restore, pilot light, warm standby, and active-active architectures according to workload requirements. Faster recovery generally requires more continuously provisioned resources and greater operational complexity.

Tested restoration and failback

Exercise recovery procedures with realistic dependencies and measure achieved RTO and RPO. Include application validation, traffic switching, rollback decisions, and controlled return to the primary environment.

Cloud services for Disaster recovery

AWS Backup coordinates protection and retention across supported resources, while Amazon Data Lifecycle Manager handles EBS snapshot and AMI lifecycle needs. AWS Elastic Disaster Recovery maintains server replication for recovery workflows. AWS DataSync can move file and object datasets into a recovery location, and Amazon S3 can retain versioned or retention-protected copies. AWS KMS supplies encryption-key controls that must remain usable during restoration. Together, these services support a recovery architecture, but engineers must still configure geographic and account isolation, protect historical copies, rebuild dependencies, and test complete application recovery against RTO and RPO.

AWS Backup image AWS Backup

AWS Backup centrally manages backup policies, schedules, retention, and restores for supported resources, with cross-account and cross-Region copying where supported. AWS Backup Vault Lock can enforce retention controls; compliance mode prevents changes or removal after its configured grace period, helping protect recovery points against malicious deletion.

Open AWS Backup →
AWS Elastic Disaster Recovery image AWS Elastic Disaster Recovery

AWS Elastic Disaster Recovery replicates supported source servers into a staging area in AWS and launches recovery instances for drills or recovery. It supports lower-RPO server recovery designs, but application dependencies, validation, traffic redirection, and failback still require planning.

Open AWS Elastic Disaster Recovery →
AWS DataSync image AWS DataSync

AWS DataSync transfers file and object data between supported storage systems, including on-premises storage and AWS storage services. It can populate or refresh recovery datasets, but independent versions, retention policies, and destination protection are needed because a transfer task alone is not an immutable backup.

Open AWS DataSync →
Amazon Simple Storage Service image Amazon S3

Amazon S3 provides storage for recovery data, with Versioning, replication, and Object Lock supporting different protection requirements. Object Lock protects specified object versions against deletion or overwrite according to its retention settings, while replication requires explicit configuration and monitoring.

Open Amazon S3 →