Dustin shows you how to
create a Storage Gateway for tapes
using EC2 as the host platform

dustin_vtl_storage_gateway

I want to create an AWS Storage Gateway for data to be stored in tapes, and I want to use Amazon Elastic Compute Cloud (Amazon EC2) as the host platform. How do I create a tape gateway?

To create a tape gateway, complete these steps using the AWS Management Console:

  1. Choose the gateway type.
  2. Choose the host platform.
  3. Configure the EC2 instance.
  4. Complete the gateway set-up and then create tapes.

Note: This resolution explains how to create a tape gateway with Amazon EC2, but the steps are similar for an on-premises deployment. For more information on ways to create a tape gateway, see Creating a Tape Gateway.

Before you begin this procedure, be sure you have launched the following:

  • An EC2 instance with the IP address where you will activate the gateway from.
  • An EC2 instance with an IP address to be used to connect iSCSI initiators with your gateway.
  • An internet gateway or NAT instance to connect your gateway to the AWS Storage Gateway endpoints.

Note: Typically, your initiator and gateway are in the same region, or are as close together as possible.

Choose the gateway type

For instructions, see Selecting a Gateway Type.

Choose the host platform (Amazon EC2)

  1. In the Create gateway wizard, for Select host platform, choose Amazon EC2.
    Note: Be sure to expand the section "Set up instructions for Amazon EC2," then and review the instructions before you proceed.
  2. Choose Launch with AWS Marketplace. This opens a new browser window in AWS Marketplace.
    Note: Don't close the browser window with the AWS Storage Gateway console because you need this page in a later step.
  3. In the AWS Marketplace page for AWS Storage Gateway, review the product information and then choose Continue.
  4. Choose Manual Launch.
    Note: Be sure to review the pricing information before you proceed.
  5. In the Launch section, under AMI IDs, choose Launch with EC2 Console for the region where you want to launch the EC2 host. This takes you to the Amazon EC2 console.

Configure the host platform (Amazon EC2)

  1. In the Amazon EC2 console, under Step 2: Choose an Instance Type, select one of the available instance types.
  2. Choose Next: Configure Instance Details.
  3. For Subnet, choose the subnet based on the internet gateway or NAT instance you use to connect to the storage gateway endpoints. If you use an internet gateway, choose its associated public subnet. If you use a NAT instance, choose its associated private subnet.
  4. Choose Next: Add Storage.
  5. Choose Add New Volume to add a volume for the cached storage. For Size (GiB), type the size of the volume—it must be at least 150 GiB.
  6. Choose Add New Volume to add another volume for the upload buffer of the gateway. For Size (GiB), type the size of the volume—it must be at least 150 GiB.
  7. Choose Next: Add Tags.
  8. Optionally, add tags for the gateway's EC2 host.
  9. Choose Next: Configure Security Group.
  10. Confirm that you have security group rules to allow inbound traffic from ports 80, 22, and 3260. Port 80 is used for gateway activation. Port 22 is used for SSH. Port 3260 is used by iSCSI initiators to connect to the gateway. Add security group rules as needed.
    Note: Your gateway's EC2 instance must also allow outbound traffic from ports 53, 123, and 443. These outbound ports are typically open by default in security group or access control list (ACL) configurations.
  11. In a separate browser window, open the Amazon EC2 console, and then find the EC2 instance with the IP address where you will activate the gateway from. Note the IP address.
    Note: If the activating instance is in a different Amazon Virtual Private Cloud (Amazon VPC) than the gateway, you must have the public IP address of the activating instance.
  12. Open the Step 6: Configure Security Group page for the gateway's EC2 instance. Add the IP address of the activating instance as the source IP address for ports 80 and 22.
  13. In a separate browser window, open the Amazon EC2 console, and then find the IP address of the EC2 instance that will act as the iSCSI initiator to the gateway's iSCSI targets. Note the IP address.
  14. Open the Step 6: Configure Security Group page for the gateway's EC2 instance. Add the IP address from the previous step as the source IP address for port 3260.
  15. Choose Review and Launch.
  16. Choose Launch and select the appropriate key pair. Then, choose Launch Instances.

Complete the gateway set up and create tapes

Return to your browser window with the AWS Storage Gateway console, and follow these steps:

  1. Connect to the gateway.
  2. Activate the gateway.
  3. Configure the local disks.
  4. Create tapes.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2018-03-12