Archive for the ‘EBS’ Category
V2.0 of Eucalyptus Beginner’s Guide – UEC edition is out. This covers UEC on Ubuntu 10.10 Maverick Meerkat, based on Eucalyptus 2.0. Please download the PDF and post your comments.
We have just released the PDF version of “Eucalyptus Beginner’s Guide – UEC Edition, V1.0” and you can download it from https://cssoss.files.wordpress.com/2010/06/book_eucalyptus_beginners_guide_uec_edition1.pdf. Please help us enhance the book by posting your suggestions as comments here.
The latest version of the pdf will also be availble from http://www.csscorp.com/enterprise-it-support/open-source-services.php .
Table of Contents
- Introduction to UEC and its components
- Installation & Configuration
- Web Interface
- Image Management
- Instance Management
- Storage Management
- Network Management
- Euca Commands
This is a live book and will be updated on an ongoing basis based on your feedback and comments.
Storage Controller is the component of Eucalyptus that provides persistent block storage compatible with Amazon’s Elastic Block Store. euca2ools or EC2 commands can be used to manage these volumes. Here are a few euca commands for managing the volumes
Installation & Configuration
Cloud Computing is a computing model, where resources such as computing power, storage, network and software are abstracted and provided as services on the Internet in a remotely accessible fashion. Billing models for these services are generally similar to the ones adopted for public utilities. On-demand availability, ease of provisioning, dynamic and virtually infinite scalability are some of the key attributes of Cloud Computing.
An infrastructure setup using the cloud computing model is generally referred to as ‘Cloud’. The following are the broad categories of services available on the ‘Cloud’:
- Infrastructure As A Services (IAAS)
- Platform As A Service (PAAS)
- Software As A Service (SAAS)
This ‘Cloud’ is generally available as service to anyone on the Internet. However, a variant called ‘Private Cloud’ is increasingly becoming popular for private infrastructure that has some of the attributes of the ‘Cloud’ as mentioned above.
Amazon Web Services is one of the major players providing IAAS. They have 2 popular services – Elastic Compute Cloud(EC2) and Simple Storage Service(S3). These services are available through web services interfaces. The client tools can use EC2 and S3 APIs to communicate with these services. The popularity of these APIs have encouraged other Cloud products to provide support for them as well.
The Storage Controller is a block storage in Eucalyptus which is compatible with Amazon’s Elastic Block Store. euca2ools or EC2 commands can be used to control these volumes. Below we specify on using euca2ools commands for volume creation, attaching a volume to a running instance and how-to use the attached volume in the instance.
First create a volume of the required size using euca-create-volume
$ euca-create-volume -s 10 -z mycloud VOLUME vol-333C04B8 10 creating 2010-03-26T05:20:56.383Z
Check the available volumes and their status with euca-describe-volumes
$ euca-describe-volumes VOLUME vol-333C04B8 10 mycloud available 2010-03-26T05:20:56.383Z
Now attach the volume to a running instance using euca-attach-volume
$ euca-attach-volume -i i-41620887 -d /dev/sdb vol-333C04B8
The volumes status changes from “available” to “in-use” if it is attached properly.
$ euca-describe-volumes VOLUME vol-333C04B8 10 mycloud in-use 2010-03-26T05:41:28.019Z ATTACHMENT vol-331F04B2 i-41620887 unknown,requested:/dev/sdb 2010-03-26T05:43:51.343Z