Free Sample
+ Collection
Code Files

OpenStack Cloud Computing Cookbook - Second Edition

Kevin Jackson , Cody Bunch

Using OpenStack to create your own private cloud is made that much more accessible thanks to this book. Every aspect is covered with crystal-clear instructions enabling you to optimize your implementation of this world-class operating stack.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782167587
Paperback396 pages

About This Book

  • Chapter 1 is available for free
  • Updated for OpenStack Grizzly
  • Learn how to install, configure, and manage all of the OpenStack core projects including new topics like block storage and software defined networking
  • Learn how to build your Private Cloud utilizing DevOps and Continuous Integration tools and techniques

Who This Book Is For

This book is aimed at system administrators and technical architects moving from a virtualized environment to cloud environments with familiarity of cloud computing platforms. Knowledge of virtualization and managing Linux environments is expected.

Table of Contents

Chapter 1: Keystone OpenStack Identity Service
Creating a sandbox environment using VirtualBox and Vagrant
Configuring Ubuntu Cloud archive
Installing OpenStack Identity service
Creating tenants
Configuring roles
Adding users
Defining service endpoints
Creating the service tenant and service users
Chapter 2: Starting OpenStack Image Service
Installing OpenStack Image Service
Configuring OpenStack Image Service with MySQL
Configuring OpenStack Image Service with OpenStack Identity Service
Managing images with OpenStack Image Service
Registering a remotely stored image
Sharing images among tenants
Viewing shared images
Chapter 3: Starting OpenStack Compute
Installing OpenStack Compute Controller services
Creating a sandbox Compute server with VirtualBox and Vagrant
Installing OpenStack Compute packages
Configuring database services
Configuring OpenStack Compute
Configuring OpenStack Compute with OpenStack Identity Service
Stopping and starting Nova services
Installation of command-line tools on Ubuntu
Checking OpenStack Compute services
Using OpenStack Compute
Managing security groups
Creating and managing keypairs
Launching our first Cloud instance
Terminating your instance
Chapter 4: Installing OpenStack Object Storage
Creating an OpenStack Object Storage sandbox environment
Installing OpenStack Object Storage
Configuring storage
Configuring replication
Configuring OpenStack Object Storage Service
Configuring OpenStack Object Storage proxy server
Configuring Account Server
Configuring Container Server
Configuring Object Server
Making rings
Stopping and starting OpenStack Object Storage
Configuring OpenStack Object Storage with OpenStack Identity Service
Setting up SSL access
Testing OpenStack Object Storage
Chapter 5: Using OpenStack Object Storage
Installing the swift client tool
Creating containers
Uploading objects
Uploading large objects
Listing containers and objects
Downloading objects
Deleting containers and objects
Using OpenStack Object Storage ACLs
Chapter 6: Administering OpenStack Object Storage
Preparing drives for OpenStack Object Storage
Managing OpenStack Object Storage cluster with swift-init
Checking cluster health
Benchmarking OpenStack Object Storage
Managing swift cluster capacity
Removing nodes from a cluster
Detecting and replacing failed hard drives
Collecting usage statistics
Chapter 7: Starting OpenStack Block Storage
Configuring Cinder volume services
Configuring OpenStack Compute for Cinder volume
Creating volumes
Attaching volumes to an instance
Detaching volumes from an instance
Deleting volumes
Chapter 8: OpenStack Networking
Configuring Flat networking with DHCP
Configuring VLAN Manager networking
Configuring per tenant IP ranges for VLAN Manager
Automatically assigning fixed networks to tenants
Modifying a tenant's fixed network
Manually associating floating IPs to instances
Manually disassociating floating IPs from instances
Automatically assigning floating IPs
Creating a sandbox Network server for Neutron with VirtualBox and Vagrant
Installing and configuring OVS for Neutron
Installing and configuring the Neutron API server
Configuring Compute nodes for Neutron
Creating a Neutron network
Deleting a Neutron network
Creating an external Neutron network
Chapter 9: Using OpenStack Dashboard
Installing OpenStack Dashboard
Using OpenStack Dashboard for key management
Using OpenStack Dashboard to manage Neutron networks
Using OpenStack Dashboard for security group management
Using OpenStack Dashboard to launch instances
Using OpenStack Dashboard to terminate instances
Using OpenStack Dashboard for connecting to instances using VNC
Using OpenStack Dashboard to add new tenants
Using OpenStack Dashboard for user management
Chapter 10: Automating OpenStack Installations
Installing Opscode Chef Server
Installing Chef Client
Downloading cookbooks to support DHCP, Razor, and OpenStack
Installing PuppetLabs Razor and DHCP from cookbooks
Setting up a Chef environment for OpenStack
Booting the first OpenStack node into Razor
Defining a Razor broker, model, and policy
Monitoring the node installation
Using Chef to install OpenStack
Expanding our OpenStack environment
Chapter 11: Highly Available OpenStack
Using Galera for MySQL clustering
Configuring HA Proxy for MySQL Galera load balancing
Installing and setting up Pacemaker and Corosync
Configuring Keystone and Glance with Pacemaker and Corosync
Bonding network interfaces for redundancy
Chapter 12: Troubleshooting
Understanding logging
Checking OpenStack services
Troubleshooting OpenStack Compute services
Troubleshooting OpenStack Object Storage services
Troubleshooting OpenStack Dashboard
Troubleshooting OpenStack Authentication
Troubleshooting OpenStack Networking
Submitting Bug reports
Getting help from the community
Chapter 13: Monitoring
Monitoring OpenStack services with Nagios
Monitoring Compute services with Munin
Monitoring instances using Munin and Collectd
Monitoring the storage service using StatsD/Graphite
Monitoring MySQL with Hyperic

What You Will Learn

  • Understand, install, configure, and manage Nova, the OpenStack cloud compute resource
  • Dive headfirst into managing software defined networks with the OpenStack networking project and Open vSwitch
  • Install and configure, Keystone, the OpenStack identity & authentication service
  • Install, configure and operate the OpenStack block storage project: Neutron
  • Install and manage Swift, the highly scalable OpenStack object storage service
  • Gain hands on experience with the OpenStack dashboard Horizon
  • Explore different monitoring frameworks to ensure your OpenStack cloud is always online and performing optimally
  • Automate your installations using Vagrant and Chef.
  • Create custom Windows and Linux images for use in your private cloud environment.

In Detail

OpenStack is an open source cloud operating stack that was born from Rackspace and NASA and became a global success, developed by scores of people around the globe and backed by some of the leading players in the cloud space today.

OpenStack Cloud Computing Cookbook, Second Edition will show you exactly how to install the components that are required to make up a private cloud environment. You will learn how to set up an environment that you manage just as you would a public cloud provider like Rackspace with the help of experienced OpenStack administrators and architects.

We begin by configuring the key components such as identity, image compute, and storage in a safe, virtual environment that we will then build on this throughout the book. The book will also teach you about provisioning and managing OpenStack in the datacenter using proven DevOps tools and techniques.

From installing or creating a sandbox environment using Vagrant and VirtualBox to installing OpenStack in the datacenter, from understanding logging to automating OpenStack installations, whatever level of experience or interest you have with OpenStack there is a chapter for you. Installation steps cover compute, object storage, identity, block storage volumes, image, horizon, software defined networking and DevOps tools for automating your infrastructure OpenStack Cloud Computing Cookbook, Second edition gives you clear step-by-step instructions to installing and running your own private cloud.


Read More