OpenStack is open source software for building public and private clouds. It is now a global success and, is developed and supported by thousands of people around the globe and backed by 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 automated installation recipes with Razor and Chef that help you scale out 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 Rackspace, HP Cloud Services, and other cloud environments
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
The OpenStack Cloud Computing Cookbook, Second Edition 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, Keystone OpenStack Identity Service, takes you through installation and configuration of Keystone, which underpins all of the other OpenStack services.
Chapter 2, Starting OpenStack Image Service, teaches you how to install, configure, and use the image service for use within an OpenStack environment.
Chapter 3, Starting OpenStack Compute, teaches you how to set up and use OpenStack Compute with examples to get you started by running within a VirtualBox environment.
Chapter 4, Installing OpenStack Storage, teaches you how to configure and use OpenStack Object Storage with examples showing this service running within a VirtualBox environment.
Chapter 5, Using OpenStack Object Storage, teaches you how to use the storage service for storing and retrieving files and objects.
Chapter 6, Administering OpenStack Object Storage, takes you through how to use tools and techniques that can be used for running OpenStack Storage within datacenters.
Chapter 7, Starting OpenStack Block Storage, teaches you how to install and configure the persistent block storage service for use by instances running in an OpenStack Compute environment.
Chapter 8, OpenStack Networking, helps you install and configure OpenStack Networking including Nova Network and Neutron.
Chapter 9, Using 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, Automating OpenStack Installations, takes you through setting up Razor and Chef for installing OpenStack.
Chapter 11, Highly Available OpenStack, introduces you to tools and techniques for making OpenStack services resilient and highly available.
Chapter 12, Troubleshooting, takes you through an understanding of the logs and where to get help, when encountering issues while running an OpenStack environment.
Chapter 13, Monitoring, shows you how to install and configure various open source tools for monitoring an OpenStack installation.
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 install and use Oracle's VirtualBox and Vagrant. 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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
nodes = { 'controller' => [1, 200], } Vagrant.configure("2") do |config|
Any command-line input or output is written as follows:
vagrant up controller
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: "clicking the Next button moves you to the next screen".
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 via 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/submit-errata, 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 on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
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.