← All posts

AWS Storage Gateway

Short notes while studying for the AWS Solutions Architect Associate exam.

· 5 min read

Storage Gateway

File GatewayVolume GatewayTape Gateway
Interface presentedFile shareBlock storage volumeVirtual tape library (VTL)
ProtocolNFS and SMBiSCSIiSCSI
How AWS stores itFiles as objects in S3Snapshots in S3 (block data)Virtual tapes in S3, archived to S3 Glacier tiers
Sub-types / modesS3 File Gateway, FSx File GatewayCached volumes, Stored volumes(single type)
Primary use caseFile-based workloads, sharing data that should also live in S3 as objectsDatabase/app storage needing block access; on-prem volumes backed up to cloudReplacing physical tape for backup and long-term archival
How your app sees itMounted file share (folders and files)A raw disk / SAN volumeA physical tape library

Amazon S3 File Gateway

Overview

Amazon S3 File Gateway seamlessly connects on-premises applications to the cloud to store and access archive repositories, application data, and database backups as durable objects in Amazon S3.

S3 File Gateway is used for on-premises data intensive applications that need file protocol access to objects in S3.

For online data migrations, you can use AWS DataSync.

Benefits

Tape Gateway

The basic idea

Many organizations have long used physical tape libraries for backup and long-term archival. Tape Gateway lets you keep using your existing backup software and workflows, but instead of writing to physical tapes, you write to “virtual tapes” that are stored in AWS. The gateway presents itself to your backup application as a standard tape library, so the backup software thinks it’s talking to real tape hardware.

How it works

Tape Gateway emulates an industry-standard tape library (a Virtual Tape Library, or VTL) over the iSCSI protocol. Your existing backup applications, like Veeam, Veritas NetBackup, Commvault, or Microsoft’s backup tools, connect to it the same way they’d connect to a physical tape library. They write virtual tapes, eject them, and manage them through the same interface they already use. Behind the scenes, the data is stored in AWS:

When you need to recover data, you retrieve the virtual tape from the archive back into the gateway, and your backup software reads from it as normal. Retrieval from Glacier tiers takes some time (hours, depending on the tier and retrieval option), just as retrieving a physical off-site tape would take time.

The gateway itself

The Storage Gateway runs as a virtual machine appliance on-premises (on VMware ESXi, Microsoft Hyper-V, or Linux KVM), or as a hardware appliance, or on an EC2 instance. It maintains a local cache so that recently written data is available quickly while it’s being uploaded to AWS in the background.

Volume Gateway

Overview

Volume Gateway presents cloud-backed iSCSI block storage volumes to your on-premises applications. Volume Gateway stores and manages on-premises data in Amazon S3 on your behalf and operates in either cache mode or stored mode. In the cached Volume Gateway mode, your primary data is stored in Amazon S3, while retaining your frequently accessed data locally in the cache for low latency access. In the stored Volume Gateway mode, your primary data is stored locally and your entire dataset is available for low latency access on premises while also asynchronously getting backed up to Amazon S3. In either mode, you can take point-in-time copies of your volumes using AWS Backup, which are stored in AWS as Amazon EBS snapshots. Using Amazon EBS Snapshots enables you to make space-efficient versioned copies of your volumes for data protection, recovery, migration, and various other copy data needs.

How it works

Volume Gateway

Storage Gateway Quick Look

← Back to all posts