AWS Storage Gateway
Hybrid cloud storage with AWS Storage Gateway, the S3 File Gateway, Volume Gateway with cached and stored volumes, Tape Gateway, and how gateways are deployed.
Hybrid cloud for storage
- AWS is pushing for "hybrid cloud": part of the infrastructure is in the cloud, part is on premises.
- This can be due to long cloud migrations, security requirements, compliance requirements, or IT strategy.
- S3 is a proprietary storage technology (unlike EFS / NFS), so how is S3 data exposed on premises? With AWS Storage Gateway.
AWS storage cloud-native options: block (EBS, EC2 instance store), file (EFS, FSx) and object (S3, Glacier).
AWS Storage Gateway
AWS Storage Gateway is a bridge between on-premises data and cloud data.
- Use cases:
- disaster recovery;
- backup and restore;
- tiered storage;
- on-premises cache and low-latency file access.
- Types of Storage Gateway:
- S3 File Gateway;
- Volume Gateway;
- Tape Gateway.
- Traffic is encrypted in transit, over the internet or Direct Connect.
- Deployment options: a VM on premises (VMware, Hyper-V, KVM), an EC2 instance, or a hardware appliance.
Updated since the slides
Amazon FSx File Gateway (on-premises access to FSx for Windows File Server shares) is no longer available to new customers. The S3 File Gateway, Volume Gateway and Tape Gateway remain.
Amazon S3 File Gateway
- Configured S3 buckets are accessible using the NFS and SMB protocols.
- Most recently used data is cached in the file gateway.
- Supports S3 Standard, S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering.
- Transition to S3 Glacier using a lifecycle rule.
- Bucket access using IAM roles for each file gateway.
- The SMB protocol integrates with Active Directory (AD) for user authentication.
Volume Gateway
- Block storage using the iSCSI protocol, backed by S3.
- Backed by EBS snapshots, which can help restore on-premises volumes.
- Cached volumes: low-latency access to the most recent data; the full data set lives in S3.
- Stored volumes: the entire dataset is on premises, with scheduled backups to S3.
Tape Gateway
- Some companies have backup processes using physical tapes (!).
- With Tape Gateway, companies use the same processes, but in the cloud.
- Virtual Tape Library (VTL) backed by S3 and Glacier (Flexible Retrieval or Deep Archive for archived tapes).
- Back up data using existing tape-based processes (and the iSCSI interface).
- Works with leading backup software vendors.
Real-world examples
- A media company keeps working with files on its office NAS, but the S3 File Gateway stores everything in S3 and lifecycle rules archive old projects to Glacier.
- A bank replaces its tape robot with Tape Gateway; its backup software still "writes tapes", which end up in S3 Glacier Deep Archive.
Exam tips
- "On-premises access to S3 over NFS or SMB", "local cache" → S3 File Gateway.
- "iSCSI block storage backed by S3" → Volume Gateway; "low latency for recent data" → cached volumes; "whole dataset on premises, backed up to S3" → stored volumes.
- "Replace physical tapes, keep the backup software" → Tape Gateway.
- "No on-premises virtualization to run the gateway" → hardware appliance.
Common traps
- "Storage Gateway moves data once." It's an ongoing hybrid bridge; for one-off transfers use DataSync or Snowball.
- "Stored volumes keep only recent data locally." That's cached volumes; stored volumes keep everything locally.
AWS documentation
AWS Snowball Edge
AWS Snowball Edge devices for offline data migration and edge computing, when to ship data instead of sending it, importing into Glacier, and Snowball's end of availability.
AWS Transfer Family
AWS Transfer Family for managed SFTP, FTPS, FTP and AS2 transfers into Amazon S3 and Amazon EFS, authentication options and common uses.