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

Creating a Volume

Previously, you allocated local disks that you added to the VM cache storage and upload buffer. Now you 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. For stored volumes, you allocated local disks that you added to the VM upload buffer and your application's data.

To create a volume

  1. Open the AWS Storage Gateway console at https://console.aws.amazon.com/storagegateway/home.

  2. On the AWS Storage Gateway console, choose Create volume.

  3. In the Create volume dialog box, choose a gateway for Gateway.

  4. For the cached volumes, type the capacity in Capacity.

    For stored volumes, select a Disk ID value from the list.

  5. For Volume content, your choices depend on the type of gateway you are creating the volume for.

    For cached volumes, you have the following options:

    • Create a new empty volume.

    • Create a volume based on an Amazon EBS snapshot. Provide a value for EBS snapshot ID.

    • Clone from last volume recovery point. Select a volume ID for Source volume. If there are no volumes in the region, this option is not displayed.

    For stored volumes, you have the following options:

    • Create a new empty volume.

    • Create a volume based on a snapshot. Provide a value for EBS snapshot ID.

    • Preserve existing data on the disk.

  6. Type a name for iSCSI target 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 target1 appears as iqn.1007-05.com.amazon:target1. Ensure that the target name is globally unique within your storage area network (SAN).

  7. Note that the Create volume dialog box displays a drop-down list for Network interface, with one IP address per adapter configured for the gateway VM. Your iSCSI target will be available on the network interface you choose. Once you choose a network adapter, it cannot be changed. If the gateway VM is configured for only one network adapter, a drop-down list does not appear because there is only one IP address. For information about configuring multiple network adapters, see Configuring Your Gateway for Multiple NICs.

    Verify that the Network interface setting has IP address selected, or choose an IP address for Network interface. Your iSCSI target will be available on the network adapter.

    If you have defined your gateway to use multiple network adapters, choose the IP address your storage applications will use to access the volume. Each network adapter defined for a gateway represents one IP address that you can choose.

  8. Choose Create volume. If you have previously created volumes in this region, they are listed on the Storage Gateway console.. The Configure CHAP Authentication dialog box appears. You can skip the CHAP setup and set it up later.

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

  1. Select the volume for which you want to configure CHAP.

  2. On the Actions menu, choose Configure CHAP authentication.

  3. For Initiator Name, type the name of your initiator.

  4. For Initiator secret, type the secret phrase you used to authenticate your iSCSI initiator.

  5. For Target secret, type the secret phrase used to authenticate your target for mutual CHAP.

  6. Choose Save to save your entries.

    For more information about setting up CHAP authentication, see Configuring CHAP Authentication for Your iSCSI Targets.