OpenStack is an open source software for building public and private clouds, born from Rackspace and NASA. It is now a global success and is developed and supported by scores of people around the globe and backed by some of the leading players in the cloud space today. This book is specifically designed to quickly help you get up to speed with OpenStack and give you the confidence and understanding to roll it out into your own datacenters. From test installations of OpenStack running under VirtualBox to recipes that help you move out to production environments, this book covers a wide range of topics that help you install and configure a private cloud. This book will show you:
How to install and configure all the core components of OpenStack to run an environment that can be managed and operated just like AWS, HP Cloud Services, and Rackspace
How to master the complete private cloud stack, from scaling out Compute resources to managing object storage services for highly redundant, highly available storage
Practical, real-world examples of each service built upon in each chapter, allowing you to progress with the confidence that they will work in your own environments
OpenStack Cloud Computing Cookbook gives you clear, step-by-step instructions to install and run your own private cloud successfully. It is full of practical and applicable recipes that enable you to use the latest capabilities of OpenStack and implement them.
Chapter 1, Starting OpenStack Compute, teaches you how to set up and use OpenStack Compute running within a VirtualBox environment.
Chapter 2, Administering OpenStack Compute, teaches you how to manage user accounts and security groups as well as how to deal with cloud images to run in an OpenStack environment.
Chapter 3, Keystone OpenStack Identity Service, takes you through installation and configuration of Keystone, which underpins all of the other OpenStack services.
Chapter 4, Installing OpenStack Storage, teaches you how to configure and use OpenStack Storage running within a VirtualBox environment.
Chapter 5, Using OpenStack Storage, teaches you how to use the storage service for storing and retrieving files and objects.
Chapter 6, Administering OpenStack Storage, takes you through how to use tools and techniques that can be used for running OpenStack Storage within datacenters.
Chapter 7, Glance OpenStack Image Service, teaches you how to upload and modify images (templates) for use within an OpenStack environment.
Chapter 8, Nova Volumes, teaches you how to install and configure the persistent storage service for use by instances running in an OpenStack Compute environment.
Chapter 9, Horizon OpenStack Dashboard, teaches you how to install and use the web user interface to perform tasks such as creating users, modifying security groups, and launching instances.
Chapter 10, OpenStack Networking, helps you understand the networking options currently available as well as teaching you how to configure an OpenStack environment so that instances are accessible on the network.
Chapter 11, In the Datacenter, takes you through understanding how to do bare-metal provisioning, scale up OpenStack, and introduces you to adding resilience to our OpenStack installations for high availability.
Chapter 12, Monitoring, shows you how to install and configure various open source tools for monitoring an OpenStack installation.
Chapter 13, Troubleshooting, takes you through an understanding of the logs and where to get help when encountering issues while running an OpenStack environment.
To use this book, you will need access to computers or servers that have hardware virtualization capabilities. To set up the lab environments you will need Oracle's VirtualBox installed. You will also need access to an Ubuntu 12.04 ISO image, as the methods presented detail steps for Ubuntu environments.
This book is aimed at system administrators and technical architects moving from a virtualized environment to cloud environments who are familiar with cloud computing platforms. Knowledge of virtualization and managing Linux environments is expected. Prior knowledge or experience of OpenStack is not required, although beneficial.
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Similar information is presented by the nova
list
and nova
show
commands".
A block of code is set as follows:
bind_port = 443 cert_file = /etc/swift/cert.crt key_file = /etc/swift/cert.key
Any command-line input or output is written as follows:
sudo apt-get update sudo apt-get -y install qemu-kvm cloud-utils
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "In the INSTANCE section, we get details of our running instance".
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <[email protected]>
, and mention the book title through the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website, or added to any list of existing errata, under the Errata section of that title.
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
You can contact us at <[email protected]>
if you are having a problem with any aspect of the book, and we will do our best to address it.