Book Image

OpenNebula 3 Cloud Computing

Book Image

OpenNebula 3 Cloud Computing

Overview of this book

OpenNebula is one of the most advanced and highly-scalable open source cloud computing toolkits. If you ever wanted to understand what Cloud Computing is and how to realize it, or if you need a handy way to manage your messy infrastructure in a simple and coherent manner, this is your way. OpenNebula 3 Cloud Computing guides you along the building and maintenance of your cloud infrastructure, providing real-world examples, step-by-step configuration and other critical information. The book keeps you a step ahead in dealing with the demanding nature of cloud computing and virtual infrastructure management using one of the most advanced cloud computing toolkitsñ OpenNebula. The book takes you from a basic knowledge of OpenNebula to expert understanding of the most advanced features.The book starts with a basic planning of hardware resources and presents the unique benefits of the supported hypervisors; you will go in deep with day-to-day management of virtual instances, infrastructure monitoring and integration with Public Clouds like Amazon EC2.With this book you will be able to get started with fast and cheap configuration recipes, but also go deeper for a correct integration with your existing infrastructure.You will deal with well-know virtualization technologies like Xen and VMware, but also with the promising KVM technology integrated in the Linux kernel. After the basic infrastructure set-up, you will learn how to create and manage virtual instance via both command-line and web interfaces, and how to monitor your existing resources.At the end, the book acquaints you with integrating your local infrastructure with external Cloud resources but also publishing your resources to others via common API interfaces.
Table of Contents (17 chapters)
OpenNebula 3 Cloud Computing
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
OpenNebula and Why it Matters?
Index

Adding storage to a running instance


The AMI sizes are just enough to accommodate the base system and the most commonly used applications (a few gigabytes in total).

If we simply want to keep our data separated from the system image, or we need more storage, we can create a new EBS volume and attach it to existing instances.

Unfortunately, this is not yet manageable with OpenNebula and thus, we need to use the AWS Management Console or the EC2 Tools.

  1. Find the instance ID and its Availability Zone:

    $ ec2-describe-instances
    INSTANCE i-4e25b229 ami-baba68d3 ec2-23-22-50-12.compute-1.amazonaws.com ip-10-243-61-174.ec2.internal runninggt 0	t1.micro 2012-04-15T13:52:38+0000	us-east-1d aki-825ea7eb 	monitoring-disabled 23.22.50.12 10.243.61.174 ebs    paravirtual	xen  sg-dc74b3b4 default 
    
  2. Create the new volume (20 GB) inside the same Availability Zone:

    $ ec2-create-volume -s 20 -z us-east-1d 
    VOLUME	vol-669e3b09	20		us-east-1d	creating	2012-04-15T13:57:37+0000 
    
  3. Wait a few seconds for completion and...