Create Stored Volumes
Previously, you allocated local disks that you had added to the VM upload buffer and your application's data. You will now create a storage volume to which your applications read and write data.
The following architectural overview diagram shows the part of the gateway-stored setup that you are creating.
Create a Stored Volumes
To create a stored volume
On AWS Storage Gateway console, choose Create Volume.
In the Create Volume dialog box, choose a gateway for Gateway. The volume is created for the gateway you select.
For Disk ID, select a virtual disk on your VM.
In Deciding the Amount of Local Disk Storage, you added the a virtual disk that will be used as upload buffer. The Disk ID list shows the virtual disks that you added to the gateway VM. Select the disk on which you plan to store data.
For information about how to allocate local storage, see Provision Local Disk Storage for the Gateway VM.
Keep the Preserve existing data check box unchecked.
Make sure that you don't have any existing data on the virtual disk. Any existing data on the disk is lost.
Leave the Based on Snapshot ID box empty.
If you want to restore an existing Amazon Elastic Block Store (Amazon EBS) snapshot or to the stored volume that you are creating, you must specify the snapshot ID. For more information, see Restoring a Snapshot to a Storage Volume.
For iSCSI Target Name, type a name.
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.
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.