Pilot light
Two Regions, one without servers
Each step of the scroll changes the drawing. Every statement names the AWS page it comes from.
A second Region that keeps the data and leaves the servers switched off: what it is made of, what has to be switched on 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
Pilot light
Each step of the scroll changes the drawing. Every statement names the AWS page it comes from.
Step 1 of 11
Region B keeps a copy of the data and of the core infrastructure. Its application servers are switched off. All traffic goes to Region A.
“With the pilot light approach, you replicate your data from one Region to another and provision a copy of your core workload infrastructure.”AWS: Disaster recovery options in the cloud
Step 2 of 11
AWS's best practice for a switched-off server is not to deploy it at all, and to have everything ready to deploy it when it is needed.
“A best practice for ‘switched off’ is to not deploy the resource, and then create the configuration and capabilities to deploy it (‘switch on’) when needed.”AWS: Disaster recovery options in the cloud
Step 3 of 11
Writes go to Region A only. They are copied continuously to live databases in Region B, alongside point-in-time backups.
“For pilot light, continuous data replication to live databases and data stores in the DR region is the best approach for low RPO (when used in addition to the point-in-time backups discussed previously).”AWS: Disaster recovery options in the cloud
Step 4 of 11
Every change is made in both Regions, the code and configuration at the same time. Automation and infrastructure as code, such as AWS CloudFormation, deploy it: full size in Region A, switched off in Region B.
“This step can be simplified by automating your deployments and using infrastructure as code (IaC) to deploy infrastructure across multiple accounts and Regions (full infrastructure deployment to the primary Region and scaled down/switched-off infrastructure deployment to DR regions).”AWS: Disaster recovery options in the cloud
Step 5 of 11
A service disruption impairs Region A: its servers stop answering, its Aurora writer is not available, and replication to Region B stops. Region B has a copy of the data, but no servers to answer with.
This step is the scenario, not a statement from AWS.
Step 6 of 11
Health checks or alarms could start a failover by themselves. A failover on a false alarm still costs some availability and data, so it is often started by hand, with every step after that automated.
“Manually initiated failover is therefore often used. In this case, you should still automate the steps for failover, so that the manual initiation is like the push of a button.”AWS: Disaster recovery options in the cloud
Step 7 of 11
In Region B the servers are turned on, and any further infrastructure that is needed is deployed. They still have to be scaled up, which is all a warm standby would have to do.
“The pilot light approach requires you to ‘turn on’ servers, possibly deploy additional (non-core) infrastructure, and scale up, whereas warm standby only requires you to scale up (everything is already deployed and running).”AWS: Disaster recovery options in the cloud
Step 8 of 11
Auto Scaling brings Region B to full production capability. Its service quotas must be set high enough not to limit the scaling.
“Ensure that service quotas in your DR Region are set high enough so as to not limit you from scaling up to production capacity.”AWS: Disaster recovery options in the cloud
Step 9 of 11
In an unplanned failover, the Aurora cluster in Region B is promoted and starts taking writes. Writes not yet copied can be lost.
“The RPO for this approach is typically a non-zero value measured in seconds.”AWS: Switchover or failover in Aurora Global Database
Step 10 of 11
With ARC, Route 53 health checks act as on/off switches, turned through a data plane API. A script turns them, and Route 53 answers with Region B, so requests go to its load balancer.
“Your script toggles these switches (the Route 53 health checks) telling Route 53 to send traffic to the recovery Region instead of the primary Region.”AWS: Disaster recovery options in the cloud
Step 11 of 11
Replication may not protect against corrupted or destroyed data. The replicated data can be backed up in Region B, to create point-in-time backups there.
“Continuous data replication protects you against some types of disaster, but it may not protect you against data corruption or destruction unless your strategy also includes versioning of stored data or options for point-in-time recovery.”AWS: Disaster recovery options in the cloud
Tap one, or tap it on the model
Answers the name, and decides which Region the answer points to.
The switch. It moves traffic from one Region to the other.
Route 53 reads each load balancer's health from its targets, and answers with a healthy record when there is one.
The front door of each Region, created before an event.
Amazon EC2 Auto Scaling groups. In Region B the servers are switched off, used only in testing or in a failover.
The writer in Region A, a live copy in Region B that can be promoted.
What protects data that was deleted or corrupted and then copied.