Step 3: Add a Volume

The steps below will guide you through creating and attaching a volume to your instance. Similar to Amazon EBS volume's, Eucalyptus volumes are network-attached storage for your instance.

Create a Eucalyptus Volume

  1. Log into the Eucalyptus Management Console
  2. From the navigation bar, select Storage
  3. Select Volumes
  4. (Optional) In the Name field, enter a name for your volume (e.g demo-volume)
  5. Click Create New Volume
    Screenshot of creating a volume
  6. In the Volume size (GB) field, enter 2
  7. Select ecc-cluster-1 in the Availability zone
  8. Click Create volume
  9. You will be redirected to the Volumes Details page. Wait until the volume status changes to Available.

Screenshot of managing a volume

Attach a Eucalyptus Volume to an Instance

  1. From the Volumes for the volume you created above, click the gear icon under Actions
  2. Select Attach to Instance
  3. In the Instance field, select the instance ID you assigned to the instance launched earlier
    Screenshot of attaching a volume
  4. The Device field will automatically select an appropriate device location
  5. Click Attach Volume.
  6. It may take a few moments for the volume to attach. You will see the instance name appear in the Attached to Instance column once the volume has attached.
    Screenshot of attached volume

Volumes are analogous to a hard drive. It can only connect it to one Instance and when new it must be formatted with an acceptable file system. To learn more about this, try the optional task: Mount and Format the Volume.

Next Step

You have now successfully provisioned both compute and storage.

Finish the exercise by releasing the resources in the next step: Clean up.