AWS Storage Gateway
Cloud service · AWS · Updated

AWS Storage Gateway

In short

AWS Storage Gateway is a hybrid cloud storage service that enables on-premises applications to seamlessly use AWS cloud storage for backup, archiving, disaster recovery, and cloud data processing by providing storage interfaces such as file, volume, and tape.

Cloud Services Hub →

7 key features of AWS Storage Gateway

AWS Storage Gateway facilitates hybrid cloud storage by offering seamless integration, multiple storage types, data security, efficient data transfer, local caching, and ease of management, thus bridging on-premises and cloud storage solutions efficiently.

01
Hybrid Cloud Storage

AWS Storage Gateway seamlessly integrates on-premises IT environments with cloud storage for backup and archiving, providing easy scalability, reducing costs, and eliminating the need for substantial physical infrastructure.

02
Multiple Storage Types

It supports various storage types such as file gateways for integrating file-based applications, volume gateways for block-based volumes, and tape gateways for cost-effective and durable archival options, ensuring flexibility according to different enterprise needs.

03
Data Security and Compliance

AWS Storage Gateway ensures data security by encrypting data in transit and at rest, leveraging AWS’s robust security measures. It also aids in compliance efforts by providing detailed logging and activity monitoring.

04
Highly Efficient Data Transfer

It optimizes data transfer to AWS through bandwidth management, providing efficient data upload and retrieval mechanisms. This ensures minimized latencies and supports frequently accessed data to be kept on-site, while less-accessed data can be stored in the cloud.

05
Local Caching

AWS Storage Gateway enhances performance by caching frequently accessed data locally. This reduces the need to retrieve data from the cloud, improving application performance while still offering the cost benefits and scalability of cloud storage.

06
Easy Management and Integration

It offers seamless integration with AWS Management Console, enabling easy setup, configuration, and monitoring of your hybrid storage environments. Additionally, it supports integration with other AWS services for comprehensive cloud management.

07
Configurable Metadata Cache Capacity

S3 File Gateway supports Small, Medium, and Large gateway capacities, which can simultaneously cache metadata for 5 million, 10 million, and 20 million files respectively. This setting affects performance and hardware recommendations, not the total number of files that can be stored or accessed.

Where AWS Storage Gateway is used

AWS Storage Gateway unlocks hybrid cloud storage, backup and recovery, disaster recovery, data archive, and tiered storage solutions, enabling seamless and cost-effective data management across on-premises and cloud environments.

  1. 01
    Hybrid Cloud Storage

    AWS Storage Gateway provides seamless integration between on-premises storage environments and AWS cloud storage, allowing businesses to extend their existing storage infrastructure to the cloud for cost-effective scalability, backup, and archiving. It supports frequently accessed data locally while securely storing all data encrypted in the cloud, enabling hybrid cloud storage architectures that can adapt to evolving storage needs.

  2. 02
    Backup and Recovery

    Leveraging AWS Storage Gateway, companies can implement efficient, secure, and cost-effective backup and recovery solutions. It allows for the automatic transfer of snapshots and backups of on-premises data to the cloud, where data is encrypted and stored on Amazon S3, providing off-site backups for disaster recovery scenarios without the need for additional physical infrastructure.

  3. 03
    Disaster Recovery

    Volume Gateway supports disaster recovery through asynchronous cloud backups in stored mode and point-in-time volume snapshots stored as Amazon EBS snapshots.

  4. 04
    Data Archive

    Tape Gateway supports long-term retention by allowing virtual tapes to be archived from Amazon S3 to Amazon S3 Glacier or Amazon S3 Glacier Deep Archive.

  5. 05
    Tiered Storage

    For S3 File Gateway, S3 lifecycle policies can move objects to another storage tier or delete old objects and versions. If lifecycle policies delete objects, enable periodic cache refresh or call RefreshCache to reflect those deletions to NFS clients.

How AWS Storage Gateway is priced

AWS Storage Gateway pricing varies by gateway type; Volume Gateway is charged by data stored and requests, Tape Gateway fees are for virtual tape storage and retrievals, and File Gateway costs depend on S3 storage use, requests, and data outs.

Volume Gateway

Volume storage is billed per GB-month of data stored, while snapshot storage is billed as Amazon EBS snapshots. Request charges apply per GB of data written to AWS storage by the gateway.

Tape Gateway

Costs involve fees for virtual tape storage, which is priced per gigabyte per month. There are also charges for data retrieval and archive retrieval fees, plus data transfer out charges beyond the AWS free tier.

File Gateway

Involves charges for file share storage used within Amazon S3, as well as request charges, and data transfer out charges. The cost is based on the amount of data stored, calculated in gigabytes per month.

Amazon FSx File Gateway

The gateway is billed hourly, with storage billed separately as Amazon FSx for Windows capacity.

Archived Tape Early Deletion

Pro-rated early-deletion charges apply to virtual tapes deleted within 90 days of archival in S3 Glacier Flexible Retrieval or within 180 days of archival in S3 Glacier Deep Archive.

Virtual Tape Archive Movement

Moving a virtual tape from S3 Glacier Flexible Retrieval to S3 Glacier Deep Archive is charged per GB.

Services AWS Storage Gateway works with

Amazon S3Amazon S3

AWS Storage Gateway integrates with Amazon S3 for cloud-based object storage, allowing on-premises applications to access and store data securely and efficiently. This integration is used for the File Gateway configuration which enables storing and retrieving objects in Amazon S3 using NFS and SMB protocols.

Amazon CloudWatchAmazon CloudWatch

AWS Storage Gateway publishes gateway, volume, tape, and file-share metrics to CloudWatch for monitoring and alarms. It can also send gateway health logs and file-access audit logs to CloudWatch Logs.

Amazon EC2Amazon EC2

AWS Storage Gateway can run as an appliance on an EC2 instance. This supports cloud-hosted gateways for disaster recovery, data migration, and access from applications running in AWS.

Amazon Elastic Block Store (Amazon EBS)Amazon Elastic Block Store (Amazon EBS)

AWS Storage Gateway uses EBS volumes for cache and upload-buffer storage when hosted on EC2. Volume Gateway also creates EBS snapshots that can be restored as gateway volumes or EBS volumes for recovery on EC2.

Amazon Elastic Kubernetes Service (Amazon EKS)Amazon Elastic Kubernetes Service (Amazon EKS)

Amazon S3 File Gateway can provide persistent storage to EKS workloads through its NFS or SMB file shares. Kubernetes CSI drivers mount those shares into pods while the gateway stores the files as S3 objects.

Amazon EventBridgeAmazon EventBridge

AWS Storage Gateway sends operational events to EventBridge, including file-upload completion, cache-refresh completion, and tape-related events. EventBridge rules can route these events to notification or automation targets.

Amazon FSxAmazon FSx

Amazon FSx File Gateway provides on-premises SMB access to Amazon FSx for Windows File Server file systems. The gateway caches frequently accessed data locally to reduce access latency.

Amazon S3 GlacierAmazon S3 Glacier

AWS Storage Gateway's Tape Gateway archives virtual tapes in S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive. Archived tapes can be retrieved into the gateway's virtual tape library when backup software needs to restore data.

Amazon VPCAmazon VPC

AWS Storage Gateway supports interface VPC endpoints for private communication with the service. Gateways hosted on EC2 also use VPC subnets and security groups to control network access.

AWS BackupAWS Backup

AWS Storage Gateway integrates with AWS Backup to centrally schedule and retain backups of Volume Gateway volumes. AWS Backup can restore recovery points as new gateway volumes.

What is AWS Storage Gateway

3 min read

AWS Storage Gateway is a hybrid cloud storage service that offers users a seamless way to connect on-premises environments with Amazon Web Services (AWS) cloud storage. By bridging the gap between on-premises storage systems and the AWS cloud, Storage Gateway enables businesses and organizations to enhance their storage infrastructure with the scalability, reliability, and security features of AWS, all while maintaining low latency access to their data. 

Storage Gateway can run as a virtual machine in a VMware, Hyper-V, or Linux KVM environment, or as an Amazon EC2 instance in an Amazon VPC.

Storage Gateway can also be deployed on premises as a hardware appliance.

S3 File, Tape, and Volume gateways can also be deployed on the Nutanix AHV hypervisor.

AWS Storage Gateway offers four gateway types: Amazon S3 File Gateway, Amazon FSx File Gateway, Tape Gateway, and Volume Gateway. The File Gateway configuration allows for the simple storage and retrieval of files using the Network File System (NFS) and Server Message Block (SMB) protocols. By presenting a file-based interface, File Gateway simplifies the integration of AWS cloud storage into existing file-based applications and workflows, making it an ideal solution for archiving, content distribution, and data backup. 

S3 File Gateway supports up to 50 file shares per gateway. Each share connects to one S3 bucket; multiple shares connected to the same bucket must use unique, non-overlapping prefixes to prevent read/write conflicts.

S3 File Gateway limits individual files to 5 TiB, paths to 1,024 UTF-8 bytes, and file names to 255 UTF-8 bytes.

Amazon FSx File Gateway provides SMB access to files in Amazon FSx for Windows File Server. Files written through this gateway are also directly accessible in FSx for Windows File Server.

The Volume Gateway configuration, on the other hand, provides block-level storage volumes through the iSCSI protocol. This configuration supports two modes: Stored Volumes, which keep your primary data locally while asynchronously backing up that data to AWS, and Cached Volumes, which store your primary data in AWS while retaining frequently accessed data locally. Volume Gateway is often used for disaster recovery, data mirroring, and augmenting on-premises storage with the cloud. The Tape Gateway configuration offers a cost-effective and durable solution for archiving and backup. It emulates physical tape libraries and tape drives, enabling customers to replace traditional tape infrastructure with a cloud-based storage solution without changing their existing backup workflows. This approach not only simplifies tape management but also leverages the scalability and durability of AWS cloud storage, along with faster data retrieval times than physical tape systems. 

A cached Volume Gateway supports up to 32 cached volumes, each with a maximum size of 32 TiB.

A Tape Gateway virtual tape library supports up to 1,500 virtual tapes, with individual tape sizes ranging from 100 GiB to 15 TiB.

AWS Storage Gateway integrates tightly with other AWS services, providing a comprehensive and versatile storage solution. For example, data stored in AWS through Storage Gateway can be easily managed with Amazon S3, archived to Amazon S3 Glacier for long-term storage, or processed with various data analysis and machine learning services available on AWS. This integration extends the functionality of Storage Gateway, allowing for more complex and powerful data management strategies. 

Security is a key aspect of AWS Storage Gateway, which encrypts data in transit and at rest, ensuring that sensitive information is protected. Additionally, the service is designed for high availability and durability, with data stored in AWS benefiting from its cloud storage infrastructure. 

In summary, AWS Storage Gateway offers a powerful and flexible solution for extending on-premises storage systems into the cloud. Its various configurations and tight integration with AWS services make it a valuable tool for organizations looking to leverage the benefits of cloud storage while maintaining control over their data.

Concepts related to AWS Storage Gateway

AWS Storage Gateway exam questions

Real practice exam questions on AWS Storage Gateway, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company runs an on-premises application that accesses storage through iSCSI. The company must keep its entire primary dataset on premises so the application can access all data during an internet outage. It also wants the storage solution to asynchronously back up the data to AWS as snapshots. Which solution meets these requirements?

Show answerCORRECT ANSWER

AWS Storage Gateway Volume Gateway with stored volumes

Stored volumes present storage through iSCSI, keep the complete primary dataset on premises, and asynchronously back up data to AWS as EBS snapshots. Local data remains accessible during an internet outage.

SAA-C03

A manufacturing company has 75 TB of production reports on an aging on-premises file server. Its Windows applications must continue reading and writing reports through SMB without code changes, but the SMB share location can change. Only the most recent 2 TB of reports is accessed frequently and requires low-latency local access. Older reports can tolerate retrieval over the company's internet connection. An AWS analytics application must also read completed reports as individual Amazon S3 objects after background uploads finish. The company wants to retire the file server and avoid purchasing local storage for the entire dataset. Which solution meets these requirements MOST cost-effectively?

Show answerCORRECT ANSWER

Deploy an AWS Storage Gateway S3 File Gateway on premises with a local cache sized for the active working set. Create an SMB share backed by an S3 bucket and migrate the reports through the share.

S3 File Gateway presents an SMB interface to the existing applications, uploads files asynchronously as individual S3 objects, and caches frequently accessed data locally. It avoids provisioning local capacity for all 75 TB while allowing the analytics application to read completed uploads directly from S3.

SAP-C03

A media company is replacing an on-premises file server with a hybrid storage solution. An application must continue using SMB without code changes. Each night, the application writes a batch of media files and closes all the files before a separate orchestration process starts cloud processing. The cloud processors must not start until every file in the batch is available in Amazon S3. The processors write results to a separate S3 prefix. Before the application starts its next batch, it must see all completed results through its SMB share, even if the corresponding directory listings were previously cached. The application and cloud processors never modify the same files. Which solution meets these requirements with the LEAST operational overhead?

Show answerCORRECT ANSWER

Deploy an Amazon S3 File Gateway with SMB shares for the input and result prefixes. After the application closes the input files, call NotifyWhenUploaded and start processing when the corresponding completion event arrives through Amazon EventBridge. After all results are written, call RefreshCache for the result location and wait for its completion notification before releasing the application.

S3 File Gateway preserves SMB access while asynchronously uploading files to S3. NotifyWhenUploaded provides a notification after files written before the request have been uploaded, allowing orchestration to gate processing on completion of the batch upload. Objects written directly to S3 by cloud processors require the gateway's cached inventory to be refreshed. Waiting for RefreshCache completion makes those results visible before the application proceeds.

Practice AWS Storage Gateway in a full exam

Questions on AWS Storage Gateway in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Storage Gateway in lessons

7 short lessons on AWS Storage Gateway in 3 certification courses.

and 1 more lesson

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.