AWS Storage Gateway
User Guide (API Version 2013-06-30)

Deploying File Gateway on an Amazon EC2 Host

You can deploy and activate a file gateway on an Amazon EC2 instance. The file gateway Amazon Machine Image (AMI) is available as a community AMI.

To deploy a gateway on an Amazon EC2 instance

  1. On the Choose host platform page, choose Amazon EC2.

  2. Choose Launch instance to launch a storage gateway EC2 AMI. You are redirected to the EC2 community AMI page where you can choose an instance type.

  3. On the Choose an Instance Type page, choose the hardware configuration of your instance. AWS Storage Gateway is supported on instance types that meet certain minimum requirements. We recommend starting with the m4xlarge instance type, which meets the minimum requirements for your gateway to function properly. For more information, see Hardware Requirements for On-Premises VMs.

    You can resize your instance after you launch, if necessary. For more information, see Resizing Your Instance in the Amazon EC2 User Guide for Linux Instances.

    Note

    Certain instance types, particularly i3 EC2, use NVMe SSD disk. These can cause problems when you start/stop File Gateway you can lose data from the cache. Monitor the CachePercentDirty Amazon CloudWatch metric, and only start/stop your system when that paramater is 0. To learn more about monitoring metrics for your gateway, go to storage gateway metrics and dimensions. Refer to Requirements for Amazon EC2 Instance Types for more information on this topic.

  4. Choose Next: Configure Instance Details.

  5. On the Configure Instance Details page, choose a value for Auto-assign Public IP. If your instance should be accessible from the public Internet, verify that Auto-assign Public IP is set to Enable. If your instance should not be accessible from the Internet, choose Auto-assign Public IP for Disable.

  6. On the Configure Instance Details page, choose the AWS Identity and Access Management (IAM) role that you want to use for your gateway.

  7. Choose Next: Add Storage.

  8. On the Add Storage page, choose Add New Volume to add storage to your file gateway instance. You need at least one Amazon EBS volume to configure for cache storage.

    The following table recommends sizes for local disk storage for your deployed gateway.

    Gateway Type Cache (Minimum) Cache (Maximum) Upload Buffer (Minimum) Upload Buffer (Maximum) Other Required Local Disks
    File gateway 150 GiB 16 TiB
    Cached volume gateway 150 GiB 16 TiB 150 GiB

    2 TiB

    Stored volume gateway 150 GiB

    2 TiB

    1 or more for stored volume or volumes
    Tape gateway 150 GiB 16 TiB 150 GiB 2 TiB

    Note

    You can configure one or more local drives for your cache and upload buffer, up to the maximum capacity.

    When adding cache or upload buffer to an existing gateway, it's important to create new disks in your host (hypervisor or Amazon EC2 instance). Don't change the size of existing disks if the disks have been previously allocated as either a cache or upload buffer.

  9. On the Step 5: Add Tags page, you can add an optional tag to your instance. Then choose Next: Configure Security Group.

  10. On the Configure Security Group page, add firewall rules to specific traffic to reach our instance. You can create a new security group or choose an existing security group.

    Important

    Besides the Storage Gateway activation and Secure Shell (SSH) access ports, NFS clients require access to additional ports. For detailed information, see Network and Firewall Requirements.

  11. Choose Review and Launch to review your configuration.

  12. On the Review Instance Launch page, choose Launch.

  13. In the Select an existing key pair or create a new key pair dialog box, choose Choose an existing key pair, and then select the key pair that you created when getting set up. When you are ready, choose the acknowledgment box, and then choose Launch Instances.

  14. A confirmation page lets you know that your instance is launching. Choose View Instances to close the confirmation page and return to the console. On the Instances screen, you can view the status of your instance. It takes a short time for an instance to launch. When you launch an instance, its initial state is pending. After the instance starts, its state changes to running, and it receives a public DNS name

  15. Select your instance, take note of the public IP address in the Description tag and return to the Connect to gateway page on the Storage Gateway console to continue your gateway setup.

The following table lists the available Storage Gateway AMIs by region.

Region AMI Name AMI ID EC2 Console Link
ap-northeast-1 aws-thinstaller-1528922603 ami-051e18ad5594f1c5f Launch instance
ap-northeast-2 aws-thinstaller-1528922603 ami-0a158a5923ea5a36f Launch instance
ap-south-1 aws-thinstaller-1528922603 ami-05d89895df5cb8f59 Launch instance
ap-southeast-1 aws-thinstaller-1528922603 ami-040c173f770d8948f Launch instance
ap-southeast-2 aws-thinstaller-1528922603 ami-0ecd0f79f8787984b Launch instance
ca-central-1 aws-thinstaller-1528922603 ami-043653222cb9932ff Launch instance
eu-central-1 aws-thinstaller-1528922603 ami-4c300da7 Launch instance
eu-west-1 aws-thinstaller-1528922603 ami-0861a6fe494ab6a0f Launch instance
eu-west-2 aws-thinstaller-1528922603 ami-0de87dd1829f3d12e Launch instance
eu-west-3 aws-thinstaller-1528922603 ami-05ff6e12a9ce871af Launch instance
sa-east-1 aws-thinstaller-1528922603 ami-046c7a869e99b6648 Launch instance
us-east-1 aws-thinstaller-1528922603 ami-0ec0b5f31f5fb358c Launch instance
us-east-2 aws-thinstaller-1528922603 ami-072b86d4df1352083 Launch instance
us-west-1 aws-thinstaller-1528922603 ami-0e508076fcdaa8f24 Launch instance
us-west-2 aws-thinstaller-1528922603 ami-0a158a5923ea5a36f Launch instance