Create Cached Volumes
Previously, you allocated local disks that you had added to the VM cache storage and upload buffer. You will now create a storage volume to which your applications read and write data. The gateway maintains the volume's recently accessed data locally in cache storage, and asynchronously transferred data to Amazon S3.
The following architectural overview diagram shows the part of the gateway-cached setup that you are creating.
Create a Cached Volume
To create a cached volume
On AWS Storage Gateway console, choose Create Volume.
In the Create Volume dialog box, choose a gateway from the Gateway drop-down list box. The volume is created for the gateway you select.
For Capacity, specify the appropriate capacity of the cached volume. The maximum size you can specify is 32 TB.
If you plan to use these volumes as a snapshots in Amazon Elastic Block Store (Amazon EBS) then the size of the volumes must not be larger than 16 TB.
If you want to restore an existing Amazon EBS snapshot or a gateway snapshot on the storage volume that you are creating, then specify the snapshot ID in the Based on snapshot ID text box. Otherwise, leave it blank. For more information, see Restoring a Snapshot to a Storage Volume.
Type a name in the iSCSI Target Name box.
The target name can contain lowercase letters, numbers, periods (.), and hyphens (-). This target name appears as the iSCSI Target Node name in the Targets tab of the iSCSI Microsoft Initiator UI after discovery. For example, the name
iqn.1007-05.com.amazon:target1. Ensure that the target name is globally unique within your storage area network (SAN).
Verify that the Network Interface setting is the IP address of your gateway, and then choose Create Volume. The Configure CHAP Authentication dialog box appears.
Configure CHAP Authentication for Your Volumes
You can configure Challenge-Handshake Authentication Protocol (CHAP) for your volume at this point, or you can choose Cancel and configure CHAP later.
CHAP provides protection against playback attacks by requiring authentication to access your storage volume targets. In the Configure CHAP Authentication dialog box, you provide information to configure CHAP for your volumes.
To configure CHAP
Select the volume for which you want to configure CHAP.
On the Action menu, choose Configure CHAP Authentication.
For Initiator Name, type the name of your initiator.
For Secret Used to Authenticate Initiator, type the secret phrase you used to authenticate your iSCSI initiator.
For Secret Used to Authenticate Target (Mutual CHAP), type the secret phrase used to authenticate your target for mutual CHAP.
Choose Save to save your entries.
For more information about setting up CHAP authentication, see Configuring CHAP Authentication for Your iSCSI Targets.