Book Image

Production Ready OpenStack - Recipes for Successful Environments

By : Arthur Berezin
Book Image

Production Ready OpenStack - Recipes for Successful Environments

By: Arthur Berezin

Overview of this book

OpenStack is the most popular open source cloud platform used by organizations building internal private clouds and by public cloud providers. OpenStack is designed in a fully distributed architecture to provide Infrastructure as a Service, allowing us to maintain a massively scalable cloud infrastructure. OpenStack is developed by a vibrant community of open source developers who come from the largest software companies in the world. The book provides a comprehensive and practical guide to the multiple uses cases and configurations that OpenStack supports. This book simplifies the learning process by guiding you through how to install OpenStack in a single controller configuration. The book goes deeper into deploying OpenStack in a highly available configuration. You'll then configure Keystone Identity Services using LDAP, Active Directory, or the MySQL identity provider and configure a caching layer and SSL. After that, you will configure storage back-end providers for Glance and Cinder, which will include Ceph, NFS, Swift, and local storage. Then you will configure the Neutron networking service with provider network VLANs, and tenant network VXLAN and GRE. Also, you will configure Nova's Hypervisor with KVM, and QEMU emulation, and you will configure Nova's scheduler filters and weights. Finally, you will configure Horizon to use Apache HTTPD and SSL, and you will customize the dashboard's appearance.
Table of Contents (16 chapters)
Production Ready OpenStack - Recipes for Successful Environments
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

OpenStack is an operating system that allows administrators and developers to consolidate and control pools of computer (memory and so on), networking and storage resources with a centralized dashboard and administration panel to enable the large scale development of cloud services.

The purpose of this book is to provide a comprehensive guide to set up and configure OpenStack. The book will show the reader how to manage and optimize their deployment so that it provides the solution that fits their situation and requirements the best. This book will focus on topics such as the correct storage configuration, image cache configuration, security, and access permissions. It will also cover essential and important areas for any OpenStack configuration and will therefore cover: compute, networking, image services, identity services, object storage, and block storage.

What this book covers

Chapter 1, Introduction to OpenStack and its Deployment Using Packages, describes the prerequisites and how to set up the environment for OpenStack deployment. It also shows how to check whether OpenStack was installed successfully or not.

Chapter 2, Deploying OpenStack Using Staypuft OpenStack Installer, describes how to install Staypuft packages, verify them, and also gives an overview on how to troubleshoot during the deployment process.

Chapter 3, Deploying Highly Available OpenStack, expands OpenStack services configuration and discusses how to configure each of the OpenStack services, database, and message broker in a highly available configuration.

Chapter 4, Keystone Identity Service, introduces the Keystone service and its role in OpenStack. It includes how to secure Keystone using SSL.

Chapter 5, Glance Image Service, introduces Glance's role with OpenStack. Here, you will learn how to configure the Swift Object storage as a backend for Glance.

Chapter 6, Cinder Block Storage Service, describes how to set up and configure Ceph as a volume backend for Cinder.

Chapter 7, Neutron Networking Service, describes the various networking models that can be used with Neutron.

Chapter 8, Nova-Compute Service, introduces Nova services, its role, and possible uses. It also explains how to secure Nova with authentication and authorization.

Chapter 9, Horizon Dashboard Service, describes how to configure Horizon to use Apache HTTPD, how to secure horizon with SSL/TLS, and also how to customize Horizon's user interface.

What you need for this book

The recipes and examples covered in this book use Red Hat's community based OpenStack distribution RDO, which can be downloaded freely from http://rdoproject.org, running on latest version of CentOS7, can be downloaded from http://www.centos.org. It is recommended to obtain 4 physical machines with visualization capabilities (Intel VT-d or AMD svm), or use virtual machine with nested virtualization enabled.

Who this book is for

If you have a basic understanding of Linux and Cloud computing and want to learn about configurations that OpenStack supports, this is the book for you. A prior knowledge of virtualization and managing Linux environments is assumed. A prior knowledge or experience of OpenStack is not required, although it is beneficial.

Conventions

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: "The search method has a similar format to the knife command."

A block of code is set as follows:

all_users = search(:users, 'id:*')
users_s = search(:users, 'id:s*')
all_nodes = search(:node, '*')

Any command-line input or output is written as follows:

$ knife data bag show credentials aws

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: "Once there, a tab labeled Chef Server will be present at the top of the page".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

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 , 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.

Customer support

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.

Errata

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

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 with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.