AWS · Storage
AWS Storage Gateway
Hybrid storage that gives on-premises applications local access to cloud storage as files, volumes or virtual tapes.
On the SAA-C03 exam listHybrid connectivityData migrationDisaster recovery
What it is and what problem it solves
AWS Storage Gateway runs as a virtual machine or hardware appliance in your data centre and presents cloud storage through familiar protocols, with a local cache for frequently used data:
- S3 File Gateway: NFS and SMB file shares backed by objects in S3.
- FSx File Gateway: low-latency on-premises access to FSx for Windows File Server shares.
- Volume Gateway: iSCSI block volumes backed by S3, in cached or stored mode, with EBS snapshots for recovery.
- Tape Gateway: a virtual tape library for existing backup software, archiving tapes to S3 Glacier classes.
When to use it
- On-premises applications should keep using file, block or tape interfaces while data lives in AWS.
- Replacing physical tape backups without changing backup software.
- Extending on-premises storage to the cloud with local caching.
When to avoid it
- One-time bulk migration: DataSync or the Snow Family.
- Applications that can use S3 APIs directly.
- Applications already moved to AWS: use S3, EFS or FSx directly.
Cost model
What you pay for
Charges for the underlying AWS storage (S3, Glacier, EBS snapshots, FSx), data transfer out of AWS, and gateway-specific charges that depend on the gateway type; a free tier covers some data written to AWS.
Where it is cost-efficient
Hybrid access where the cache serves most reads locally.
Where costs grow
Large volumes of data read back from AWS to on premises (data transfer out).
Cost controls and common surprises
Size the local cache for the working set and use lifecycle rules on the backing S3 data.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Encryption in transit to AWS and at rest in S3 (optionally with KMS); file share access controlled by AD or NFS client lists.
What you configure
Secure the gateway VM or appliance and its network, and manage share permissions.
Logging and monitoring
CloudWatch metrics and audit logs for file shares; CloudTrail for API calls.
Related security services
S3, S3 Glacier, FSx, KMS, AWS Backup.
Shared responsibility
AWS stores the data. You run the gateway host on premises.
Common service combinations
S3 lifecycle rules behind File Gateway, Glacier classes for Tape Gateway, FSx for Windows behind FSx File Gateway, Direct Connect for bandwidth.
Business application examples
- A company replaces its tape library with Tape Gateway and keeps the same backup software.
- Branch offices read and write shared files that live in S3, with a local cache for speed.
Exam cues and common confusions
- On-premises NFS or SMB shares backed by S3: S3 File Gateway.
- Replace tapes, keep backup software: Tape Gateway.
- iSCSI block storage backed by AWS: Volume Gateway (cached: primary data in S3; stored: primary data local).
- One-time migration: DataSync, not Storage Gateway.
Related
Courses and lessons
- Hybrid storage and data transfer: Storage Gateway, DataSync, Transfer Family, Snow · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon S3 · Service
- Amazon S3 Glacier · Service
- Amazon FSx · Service
- AWS DataSync · Service
- AWS Snow Family · Service
- DataSync vs Storage Gateway vs Transfer Family vs Snow Family · Comparison
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.