Disaster recovery on AWS: strategies for SMBs
How to design a disaster recovery plan on AWS adapted to your budget and availability requirements.
Updated on 6 August 2024
Protect your business against disruptions
A disaster recovery plan defines how your business resumes activity after a major outage: hardware failure, human error, cyberattack or natural disaster. On AWS, several strategies exist with different levels of protection and cost. The choice depends on two metrics: the RTO (acceptable recovery time) and the RPO (acceptable maximum data loss).
The four disaster recovery strategies
Backup and restore
The simplest and least expensive strategy. Your data is backed up regularly to Amazon S3 in another region. In case of a disaster, you recreate the infrastructure and restore the data. The RTO is several hours (the time to recreate the infrastructure) and the RPO depends on the frequency of your backups.
This strategy suits non-critical applications and SMBs with a limited budget. The cost is limited to the S3 storage of the backups, a few euros per month for most SMBs.
Pilot light
A minimal infrastructure runs permanently in a second AWS region: a replicated database, network configuration ready. In case of a disaster, you start the application servers and switch the traffic over. The RTO is 30 minutes to 2 hours and the RPO is a few minutes thanks to the continuous replication of the database.
The cost is moderate because only the database and a few network components run permanently. The application servers are started only when needed.
Warm standby
A reduced version of your infrastructure runs permanently in the second region. The application servers are active but with reduced capacity. In case of a disaster, you increase the capacity and switch the traffic over. The RTO is a few minutes and the RPO is nearly zero.
Active-active (multi-site)
Your infrastructure runs at full capacity in two regions simultaneously. The traffic is distributed between the two regions. In case of a region failure, the other absorbs all the traffic automatically. The RTO and the RPO are nearly zero, but the cost is double your normal infrastructure.
AWS services for disaster recovery
AWS Backup centralizes backup management for EC2, RDS, DynamoDB, EFS and S3. You define backup policies (frequency, retention, cross-region replication) and AWS Backup runs them automatically.
Amazon RDS supports multi-AZ replication (high availability within a region) and cross-region read replicas (disaster recovery). Aurora offers global replication with automatic failover in less than a minute.
Route 53 manages DNS failover with health checks. If your main infrastructure stops responding, Route 53 automatically redirects the traffic to the backup infrastructure.
Test your plan regularly
An untested disaster recovery plan is a plan that does not work. Schedule quarterly tests that simulate a disaster and measure the real RTO and RPO. Document the results and adjust the plan accordingly.
LCMH designs disaster recovery plans on AWS tailored to the budget and requirements of SMBs in Alsace.
For cost optimization, read our article on the 7 AWS cost optimization levers.
Sources
- AWS, Disaster Recovery of Workloads on AWS. docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws
- AWS, AWS Backup. aws.amazon.com/backup
- AWS, Reliability Pillar - Well-Architected Framework. docs.aws.amazon.com/wellarchitected/latest/reliability-pillar
Frequently asked questions
- What is the difference between backup and disaster recovery?
- A backup is a copy of your data that you restore manually in case of loss. Disaster recovery is a complete plan that includes the data, the infrastructure and the procedures to bring your system back into service within a defined timeframe. Backup is one component of disaster recovery.
- How much does a disaster recovery plan on AWS cost?
- The cost depends on your strategy. A simple backup to S3 costs a few euros per month. A pilot light architecture (minimal standby infrastructure) costs 50 to 200 € per month. An active-active architecture (two regions in parallel) costs double your normal infrastructure.
- What RTO and RPO should an SMB aim for?
- For most SMBs, an RTO (recovery time) of 1 to 4 hours and an RPO (maximum data loss) of 1 hour are a good compromise between cost and protection. Critical applications (e-commerce, ERP) may justify a shorter RTO.
Related Articles
Serverless on AWS: why SMBs are adopting it
How serverless architecture on AWS helps SMBs reduce infrastructure costs and focus on their core business.
AWS Lambda: 10 concrete use cases to automate your business
Discover 10 practical AWS Lambda use cases to automate your business processes without managing servers.
CloudFormation vs Terraform: which Infrastructure as Code tool to choose?
Objective comparison between AWS CloudFormation and HashiCorp Terraform for managing your cloud infrastructure as code.
Optimize your AWS costs: 7 concrete levers
Reduce your AWS bill by 20 to 40% with these 7 cloud cost optimization levers accessible to all businesses.
AWS Raised Prices 15%? No, It's More Complicated Than That
Unpacking the AWS EC2 Capacity Blocks pricing adjustment: why alarmist headlines miss the point about dynamic pricing in cloud computing.
The Well-Architected Framework explained for business leaders
Understanding the 6 pillars of the AWS Well-Architected Framework to make informed decisions about your cloud infrastructure.