Backup, Disaster Recovery and Hybrid Storage
Overview
Data is only valuable if you can get it back and move it. This lesson covers backup, disaster recovery (DR) strategies and the services that connect on-premises storage to AWS, as listed in Task 3.6.
Think of important papers. Backup is a photocopy in a safe. Disaster recovery is a plan and a second office ready to take over if the main office burns down. Storage Gateway is a local filing cabinet that quietly syncs to the cloud, DataSync is a courier moving big archives quickly, and Transfer Family lets partners keep using their old file-transfer software while the files land in S3.
Key Concepts
- AWS Backup centrally manages and automates backups across EBS, RDS, DynamoDB, EFS, FSx and more.
- AWS Elastic Disaster Recovery (DRS) continuously replicates servers to AWS for fast recovery.
- RPO (recovery point objective) is acceptable data loss; RTO (recovery time objective) is acceptable downtime.
- DR strategies range from backup and restore, to pilot light, warm standby and multi-site active-active.
- AWS Storage Gateway (File, Volume, Tape) connects on-premises applications to cloud storage.
- AWS DataSync automates high-speed online transfers between on-premises storage and AWS.
- AWS Transfer Family provides managed SFTP, FTPS and FTP endpoints into S3 or EFS.
- Use S3 Cross-Region Replication and snapshots copied across Regions for resilience.
Detailed Notes
Backup services
| Service | Role |
|---|---|
| AWS Backup | Policy-based backup plans, schedules, retention, cross-Region and cross-account copies, vaults |
| EBS snapshots | Point-in-time incremental copies of volumes |
| RDS automated backups | Daily backup plus transaction logs for point-in-time restore |
| S3 versioning | Recovers overwritten or deleted objects |
{
"BackupPlanName": "daily-35-days",
"Rules": [{
"RuleName": "DailyRule",
"ScheduleExpression": "cron(0 3 * * ? *)",
"Lifecycle": { "DeleteAfterDays": 35 }
}]
}
RPO and RTO
| Term | Question | Lower value means |
|---|---|---|
| RPO | How much data can we lose? | More frequent backups or replication, higher cost |
| RTO | How long can we be down? | More pre-provisioned capacity, higher cost |
Disaster recovery strategies
| Strategy | Description | RTO/RPO | Cost |
|---|---|---|---|
| Backup and restore | Restore from backups in another Region | Hours | Lowest |
| Pilot light | Core data replicated, minimal servers off until needed | Tens of minutes | Low |
| Warm standby | Scaled-down full copy always running | Minutes | Medium |
| Multi-site active-active | Full capacity in two or more Regions | Near zero | Highest |
AWS Elastic Disaster Recovery is a service that implements a pilot-light style approach: it continuously replicates source servers (physical, virtual or cloud) into a low-cost staging area and launches recovery instances when needed, achieving RPO in seconds and RTO in minutes.
Hybrid storage: Storage Gateway
| Gateway type | Presents | Used for |
|---|---|---|
| S3 File Gateway | NFS/SMB file shares backed by S3 | File shares with cloud storage and local caching |
| Volume Gateway | iSCSI block volumes (cached or stored) | Block storage with cloud backup |
| Tape Gateway | Virtual tape library | Replace physical tape backup |
With cached modes the most-used data stays local for low latency while the full data set lives in AWS.
Moving data
| Service | Best for |
|---|---|
| DataSync | Scheduled, fast online copy from NFS/SMB/HDFS to S3, EFS, FSx |
| Transfer Family | Partners using SFTP/FTPS/FTP into S3 or EFS |
| Snow Family | Offline transfers when network is too slow |
| Direct Connect | Dedicated network for ongoing transfers |
Choosing
| Need | Choose |
|---|---|
| Centralised backup policy | AWS Backup |
| Fast recovery of on-premises servers | Elastic Disaster Recovery |
| On-premises apps using cloud-backed file share | File Gateway |
| Replace tapes | Tape Gateway |
| Partners upload by SFTP | Transfer Family |
| Migrate NAS data over the network | DataSync |
Real World Example
A hospital group uses AWS Backup with one policy covering its RDS, EFS and EBS resources, copying vaults to a second Region. For its on-premises imaging servers it deploys Elastic Disaster Recovery, so a flood at the main site means launching recovery instances in AWS within minutes.
Radiology archives are exposed through an S3 File Gateway so local PACS software saves to cloud storage, external labs upload results by SFTP via Transfer Family, and old file shares are moved once with DataSync.
Architecture Diagram
- 1On-premises applications write to Storage Gateway or are replicated by Elastic Disaster Recovery.
- 2Data lands in S3 or a low-cost staging area in AWS.
- 3AWS Backup applies schedules and retention across services.
- 4During a disaster, recovery instances launch in AWS.
- 5Traffic is redirected, then failed back after the site recovers.
Best Practices
- ✓Define RPO and RTO per workload before choosing a DR strategy.
- ✓Test restores and failover regularly - untested backups are not backups.
- ✓Copy backups to another Region and account for isolation.
- ✓Use AWS Backup policies and tags for consistency.
- ✓Use DataSync for online migrations and Snow for offline bulk transfers.
Common Interview Questions
Exam Tips
CLF-C02 focus
- "Replace physical tapes" = Tape Gateway.
- "SFTP into S3" = Transfer Family.
- "Centralised, policy-based backups" = AWS Backup.
- "Pilot light / warm standby" are DR terms; know the ordering by cost and speed.
Finished this lesson?
0 of 43 lessons done · 0% of the course

