EasyManua.ls Logo

AWS Storage Gateway - Understanding Resources and Resource Ids

AWS Storage Gateway
438 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AWS Storage Gateway User Guide
Understanding Resources and Resource IDs
Procedure 1: To connect to your gateway using the public IP address
1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.
2. In the navigation pane, choose Instances, and then select the EC2 instance that your gateway is
deployed on.
3. Choose the Description tab at the bottom, and then note the public IP. You use this IP address to
connect to the gateway. Return to the AWS Storage Gateway console and type in the IP address.
If you want to use the elastic IP address for activation, use the procedure following.
Procedure 2: To connect to your gateway using the elastic IP address
1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.
2. In the navigation pane, choose Instances, and then select the EC2 instance that your gateway is
deployed on.
3. Choose the Description tab at the bottom, and then note the Elastic IP value. You use this elastic
IP address to connect to the gateway. Return to the AWS Storage Gateway console and type in the
elastic IP address.
4. After your gateway is activated, choose the gateway that you just activated, and then choose the
VTL devices tab in the bottom panel.
5. Get the names of all your VTL devices.
6. For each target, run the following command to configure the target.
iscsiadm -m node -o new -T [$TARGET_NAME] -p [$Elastic_IP]:3260
7. For each target, run the following command to log in.
iscsiadm -m node -p [$ELASTIC_IP]:3260 --login
Your gateway is now connected using the elastic IP address of the EC2 instance.
Understanding AWS Storage Gateway Resources
and Resource IDs
In AWS Storage Gateway, the primary resource is a gateway but other resource types include: volume,
virtual tape, iSCSI target, and vtl device. These are referred to as subresources and they don't exist unless
they are associated with a gateway.
These resources and subresources have unique Amazon Resource Names (ARNs) associated with them as
shown in the following table.
Resource
Type
ARN Format
Gateway ARN arn:aws:storagegateway:region:account-id:gateway/gateway-id
File Share
ARN
arn:aws:storagegateway:region:account-id:share/share-id
Volume ARN arn:aws:storagegateway:region:account-id:gateway/gateway-id/
volume/volume-id
Tape ARN arn:aws:storagegateway:region:account-id:tape/tapebarcode
API Version 2013-06-30
392

Table of Contents