AWS – Storage gateway


Storage Gateway

  • Connects an on-premises software appliance with cloud-based storage
  • Provide seamless integration with data security features between your on-premises IT environment and the Amazon Web Services (AWS) storage infrastructure.
  • offers file-based, volume-based and tape-based storage solutions

How AWS Storage Gateway Works

  • File Gateway

○Download a virtual machine image for the file storage gateway and activate it from the AWS Management Console or the storage gateway API to use file gateway storage.

○Once activated, you configure the S3 bucket(s) that the gateway will expose as file system(s).


Data retrieval operations

  • Volume Gateways

○Cached Volumes Architecture

■Cached volumes let you use Amazon S3 as your primary data storage while retaining frequently accessed data locally in your storage gateway.

■Cached volumes minimize the need to scale your on-premises storage infrastructure, while still providing your applications with low-latency access to their frequently accessed data.

■In the cached volumes solution, AWS Storage Gateway stores all your on-premises application data in a storage volume in Amazon S3.

How AWS Storage Gateway Works

  • After you’ve installed the AWS Storage Gateway software appliance—the virtual machine (VM)—on a host in your data center and activated it, you can use the AWS Management Console to provision storage volumes backed by Amazon S3.


Data retrieval operations

  • Stored Volumes Architecture Stored volumes let you store your primary data locally, while asynchronously backing up that data to AWS

Data retrieval operations

  • With stored volumes, you maintain your volume storage on-premises in your data center.
  • After you’ve installed the AWS Storage Gateway software appliance—the virtual machine (VM)—on a host in your data center and activated it, you can create gateway storage volumes and map them to on-premises direct-attached storage (DAS) or storage area network (SAN) disks.
    • Tape gateway

    offers a durable, cost-effective solution to archive your data in the AWS Cloud. The VTL interface it provides lets you leverage your existing tape-based backup application infrastructure to store data on virtual tape cartridges that you create on your tape gateway.



○Each tape gateway is preconfigured with a media changer and tape drives, which are available to your existing client backup applications as iSCSI devices.

○You add tape cartridges as you need to archive your data.

○The diagram identifies the following tape gateway components:

■Virtual tape

■Virtual tape library (VTL)


○Allocating Local Disks for the Gateway VM

■Cache storage

■Upload buffer

Creating Your Gateway

  • To create your gateway, open the AWS Storage Gateway console and choose the AWS Region you want to create your gateway in.
  • If you haven’t created a gateway in this region, the AWS Storage Gateway page is displayed.


Managing file gateway

  • Adding a file share

○After your file gateway is activated and is running, you can add additional file shares.

○When you create a file share, file gateway requires access to upload files into your Amazon S3 bucket.

○To grant this access, file gateway creates an IAM access policy and role on your behalf.

  • Deleting a File Share

○If you no longer need a file share, you can delete it from the AWS Storage Gateway management console.

○When you delete file share, the gateway is detached from the Amazon S3 bucket the file share maps to but the bucket and its contents are not deleted.

  • Updating a File Share

○You can update the default file share settings, the clients allowed to connect to your file share, and the metadata defaults for your file share.

  • Refreshing Objects in Your Amazon S3 Bucket

○As your NFS client performs file system operations, your gateway maintains an inventory of the objects in the Amazon S3 bucket associated with your file share.

○Your gateway uses this cached inventory to reduce the latency and frequency of S3 requests.

  • Understanding File Share Status

○You can see file share status on the AWS Storage Gateway console.

○File share status appears in the Status column for each file share in your gateway.

○A file share that is functioning normally has statusid as AVAILABLE.

  • Adding a Volume

○As your application needs grow, you might need to add more volumes to your gateway.

○As you add more volumes, you must consider the size of the cache storage and upload buffer you allocated to the gateway.

The gateway must have sufficient buffer and cache space for new volumes

  • Cloning a Volume

○To clone a volume, you choose the Clone from last recovery point option in the Create volume dialog box, then select the volume to use as the source.


  • Deleting a Volume

○You might need to remove a volume as your application needs change

○Before removing a volume, make sure that there are no applications currently writing to the volume.

  • Creating a One-Time Snapshot

○In addition to scheduled snapshots, Volume gateways allows you to take one-time, ad hoc snapshots.

○By doing this, you can back up your storage volume immediately without waiting for the next scheduled snapshot.

  • Editing a Snapshot Schedule

○This schedule helps ensure that your gateway can keep up with the rate of incoming write operations on your local storage volumes.

  • Deleting a Snapshot

○You might want to delete a snapshot, if you have taken many snapshots of a storage volume over a period of time and you don’t need the older snapshots.

○Because snapshots are incremental backups, if you delete a snapshot, only the data that is not needed in other snapshots is deleted.

  • Understanding Volume Status

○The status indicates that the volume is functioning normally and that no action is needed on your part.

○The status also indicates a problem with the volume that might or might not require action on your part.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s