Monday, 8 July 2013

Eucalyptus 3.3 Tutorials- Working with Snapshots

Eucalyptus 3.3 Tutorials
Working with Snapshots

In this tutorial, we are going to take snapshots of our EBS volumes using the Eucalyptus User Console and with Euca2ools, the Eucalyptus Command Line tools.


Snapshots are the state of a system at a particular point in time, in this case, the state of a EBS Volume.

These snapshots can be used as the starting point for new Block Storage Volumes and protect data for long-term durability. The same snapshot can be used to create many volumes as per requirement.

Using User Console:
Firstly, log on to your User Console with the appropriate Credentials recorded in the earlier steps. 

Once done, select the "Storage" >> "Snapshots"

This will bring up the "Snapshots" Dashboard using which you can create new snapshots. To get started, select "Create New Snapshot"

This will open a dialog which allows you to create a Snapshot. You need to provide a suitable "name" to it as well as the "Volume ID" for the Volume you need to take the snapshot of. The "Description" is optional. Once done, simply hit "Create"

The Snapshot will be created and you can view its details as shown below:


Using Euca2ools:
You can alternatively create snapshots using Eucalyptus Command Line utilities called as Euca2ools.

To create a Volume, we use "euca-create-snapshot"


euca-create-snapshot <availability_zone>


euca-create-snapshot vol-D8453DES

You can even view the status of your snapshot as well as list snapshots using the "euca-describle-snapshots" command.

That's it for now.. in the next set of tutorials, we will be creating our ouw Eucalyptus machine Images (EMIs), so stay tuned for more, coming soon !!

>> Eucalyptus Tutorials: Getting start with EMIs