Backup and restore
Two Regions, one of them holding the backups
Each step of the scroll changes the drawing. Every statement names the AWS page it comes from.
A second Region that holds the backups: what is copied there, what has to be restored and rebuilt when the first one is impaired, and where AWS says so. Scroll to take it apart.
Drag to turnCtrl + scroll to zoomClick a partDrag to turnTwo fingers to move and zoomTap a part
Backup and restore
Each step of the scroll changes the drawing. Every statement names the AWS page it comes from.
Step 1 of 10
Region A runs the workload. Region B receives copies of its data and applications; the rest is rebuilt on demand.
“Backup and restore copies data and applications to the recovery site and rebuilds on demand, giving an RPO in hours and an RTO of up to a day.”AWS Well-Architected: REL13-BP02
Step 2 of 10
AWS Backup copies backups to a vault in Region B, on demand or on the schedule of a backup plan.
“Using AWS Backup, you can copy backups to multiple AWS Regions on demand or automatically as part of a scheduled backup plan.”AWS: Creating backup copies across AWS Regions
Step 3 of 10
How often the backups run decides the recovery point that can be reached, and it should meet the RPO.
“How often you run your backup will determine your achievable recovery point (which should align to meet your RPO).”AWS: Disaster recovery options in the cloud
Step 4 of 10
Besides the data, the infrastructure, configuration and application code must be redeployed in Region B. AWS asks that the infrastructure be deployed as infrastructure as code, such as AWS CloudFormation templates, so it can be redeployed quickly.
“To enable infrastructure to be redeployed quickly without errors, you should always deploy using infrastructure as code (IaC) using services such as AWS CloudFormation or the AWS Cloud Development Kit (AWS CDK).”AWS: Disaster recovery options in the cloud
Step 5 of 10
Code and configuration are backed up as well, including the Amazon Machine Images the servers are launched from. An AMI can be copied across Regions.
“In addition to user data, be sure to also back up code and configuration, including Amazon Machine Images (AMIs) you use to create Amazon EC2 instances.”AWS: Disaster recovery options in the cloud
Step 6 of 10
Restore testing in AWS Backup restores recovery points from the vaults on a schedule and measures how long each restore takes. When the test is finished, AWS Backup begins deleting what it restored.
“When the scheduled time in your plan arrives, AWS Backup starts restore jobs based on your plan and monitors the time taken to complete the restore.”AWS: Restore testing
Step 7 of 10
A service disruption stops Region A from answering. Region B holds the backups, but nothing that can answer a request.
This step is the scenario, not a statement from AWS.
Step 8 of 10
In Region B the data is restored from the backups stored there. A restore from backup is a control plane operation.
“Any data stored in the disaster recovery Region as backups must be restored at time of failover.”AWS: Disaster recovery options in the cloud
Step 9 of 10
In Region B the infrastructure and the code are rebuilt. AWS asks for these actions to be automated, so the failover is repeatable.
“For backup and restore, restore data and rebuild infrastructure and code. Automate these actions so failover is repeatable.”AWS Well-Architected: REL13-BP02
Step 10 of 10
With Region B rebuilt, traffic is switched to its endpoint and away from Region A.
“On failover you need to switch traffic to the recovery endpoint, and away from the primary endpoint.”AWS: Disaster recovery options in the cloud
Tap one, or tap it on the model
Takes the backups on a schedule and copies them to a vault in Region B.
Describes the infrastructure that Region B does not have yet, so it can be redeployed there.
In Region B it is held as backups, and must be restored at failover.
Amazon EC2 instances, launched in Region B from the copied images when the Region is rebuilt.