Switching to the cloud is not always as easy as flipping a switch. For companies that still rely on local data centers but want to use the unlimited storage space of the cloud storage, the Storage Gateway from AWS offers direct access to S3.
Types of storage gateway
Storage Gateway is a cloud storage solution that is intended to be provided locally. You install the software on a device in your rack. It connects to Amazon S3 and provides more traditional file-based and block-level access that greatly simplifies the transition to the cloud without major overhaul of the existing application infrastructure.
In addition, Storage Gateway in S3 can be configured to cache data that is accessed frequently, which can speed up access from connected applications. If your on-premises applications are performing poorly because they need to access S3 over the Internet (or through AWS Direct Connect), Storage Gateway can speed things up by storing critical data locally.
Storage Gateway has different types, each with its own price. In general, you pay for data stored as well as data written to the gateway.
The first type is File Gateway, which is the most commonly used and provides easy file-level access for storing data in S3. The data is cached on the device running Storage Gateway, using as much storage space as you assign it. The file gateway charges standard prices for S3 as well as $ 0.01
The other main type is Volume Gateway, which provides a more traditional block-level access and can be used to create an iSCSI block storage volume with S3. The volume gateway also creates regular point-in-time backups using EBS snapshots. There are two configurations for volume gateways: cached volumes, which act like file gateways and cache cloud content locally for performance, and stored volumes, which store all data locally but use S3 for offsite backups. Volume Gateway charges $ 0.023 per GB of data months stored and $ 0.01 per GB of data written.
Finally, there is the Virtual Tape Gateway, which allows access to S3 in a tape-based format. Companies stuck on legacy systems and still using tape backups are more common than you think. This option allows you to easily modernize your storage without harming an underlying system that is based on tape backups. Tape Gateway charges $ 0.023 per GB of data stored per month, plus various transfer fees. However, you can also use S3 Glacier and Deep Archive.
How to get started
First switch to the Storage Gateway Management Console and create a new gateway. Select the type you want to use and click Next.
You need to set up the gateway on your device. You can do this with a VMWare ESXi, Hyper-V, or Linux KVM image. When you click Set Up Instructions, you can view the instructions for the specified platform. Alternatively, you can purchase the preinstalled AWS box valued at $ 12,000.
After setting up, enter the IP address for your gateway. This doesn’t have to be a public IP, but it needs to be accessible through your browser.
On the activation screen, fill in all the necessary details to link your gateway, e.g. B. Gateway type, endpoint name, and AWS region.
Next, you want to configure which hard drives to assign to the gateway. If your disks don’t appear in the list, click Refresh and make sure the VM image can access them.
If you want to set up CloudWatch protocols, you can do so on the next screen. Select “Create New Log Group” to be redirected to the CloudWatch Console for setup.
Once the gateway has been created, you can begin creating a file share that can be accessed over NFS or SMB. You can have multiple file shares on the same gateway associated with different buckets. For more information about working with storage gateways, see the AWS documentation on managing them.