SkillSprout
Chapter 4 · Lesson 6
Beginner
5 min read

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

ServiceRole
AWS BackupPolicy-based backup plans, schedules, retention, cross-Region and cross-account copies, vaults
EBS snapshotsPoint-in-time incremental copies of volumes
RDS automated backupsDaily backup plus transaction logs for point-in-time restore
S3 versioningRecovers overwritten or deleted objects
json
{
  "BackupPlanName": "daily-35-days",
  "Rules": [{
    "RuleName": "DailyRule",
    "ScheduleExpression": "cron(0 3 * * ? *)",
    "Lifecycle": { "DeleteAfterDays": 35 }
  }]
}

RPO and RTO

TermQuestionLower value means
RPOHow much data can we lose?More frequent backups or replication, higher cost
RTOHow long can we be down?More pre-provisioned capacity, higher cost

Disaster recovery strategies

StrategyDescriptionRTO/RPOCost
Backup and restoreRestore from backups in another RegionHoursLowest
Pilot lightCore data replicated, minimal servers off until neededTens of minutesLow
Warm standbyScaled-down full copy always runningMinutesMedium
Multi-site active-activeFull capacity in two or more RegionsNear zeroHighest

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 typePresentsUsed for
S3 File GatewayNFS/SMB file shares backed by S3File shares with cloud storage and local caching
Volume GatewayiSCSI block volumes (cached or stored)Block storage with cloud backup
Tape GatewayVirtual tape libraryReplace 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

ServiceBest for
DataSyncScheduled, fast online copy from NFS/SMB/HDFS to S3, EFS, FSx
Transfer FamilyPartners using SFTP/FTPS/FTP into S3 or EFS
Snow FamilyOffline transfers when network is too slow
Direct ConnectDedicated network for ongoing transfers

Choosing

NeedChoose
Centralised backup policyAWS Backup
Fast recovery of on-premises serversElastic Disaster Recovery
On-premises apps using cloud-backed file shareFile Gateway
Replace tapesTape Gateway
Partners upload by SFTPTransfer Family
Migrate NAS data over the networkDataSync

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

Hybrid storage and disaster recovery
Architecture

On-premises

Apps and servers
Storage Gateway
AWS Cloud
S3backups
AWS Backup
Recovery instanceslaunched on demand
  1. 1On-premises applications write to Storage Gateway or are replicated by Elastic Disaster Recovery.
  2. 2Data lands in S3 or a low-cost staging area in AWS.
  3. 3AWS Backup applies schedules and retention across services.
  4. 4During a disaster, recovery instances launch in AWS.
  5. 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