OpenStack Cloud Computing Cookbook


There is a newer version of this book available - OpenStack Cloud Computing Cookbook - Second Edition
OpenStack Cloud Computing Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn how to install and configure all the core components of OpenStack to run an environment that can be managed and operated just like AWS or Rackspace
  • Master the complete private cloud stack from scaling out compute resources to managing swift services for highly redundant, highly available storage
  • Practical, real world examples of each service are built upon in each chapter allowing you to progress with the confidence that they will work in your own environments

Book Details

Language : English
Paperback : 318 pages [ 235mm x 191mm ]
Release Date : September 2012
ISBN : 1849517320
ISBN 13 : 9781849517324
Author(s) : Kevin Jackson
Topics and Technologies : All Books, Virtualization and Cloud, Cloud, Cookbooks, Open Source

Table of Contents

Preface
Chapter 1: Starting OpenStack Compute
Chapter 2: Administering OpenStack Compute
Chapter 3: Keystone OpenStack Identity Service
Chapter 4: Installing OpenStack Storage
Chapter 5: Using OpenStack Storage
Chapter 6: Administering OpenStack Storage
Chapter 7: Glance OpenStack Image Service
Chapter 8: Nova Volumes
Chapter 9: Horizon OpenStack Dashboard
Chapter 10: OpenStack Networking
Chapter 11: In the Datacenter
Chapter 12: Monitoring
Chapter 13: Troubleshooting
Index
  • Chapter 1: Starting OpenStack Compute
    • Introduction
    • Creating a sandbox environment with VirtualBox
    • Installing OpenStack Compute packages
    • Configuring database services
    • Configuring OpenStack Compute
    • Stopping and starting Nova services
    • Creating a cloudadmin account and project
    • Installation of command line-tools
    • Uploading a sample machine image
    • Launching your first cloud instance
    • Terminating your instance
    • Chapter 2: Administering OpenStack Compute
      • Introduction
      • Creating and modifying user accounts
      • Managing security groups
      • Creating and managing keypairs
      • Using public cloud images
      • Alternative upload method using euca2ools
      • Creating custom Windows images
      • Creating custom CentOS images
      • Chapter 3: Keystone OpenStack Identity Service
        • Introduction
        • Installing OpenStack Identity Service
        • Configuring roles
        • Creating tenants
        • Adding users
        • Defining service endpoints
        • Configuring the service tenant and service users
        • Configuring OpenStack Image Service to use OpenStack Identity Service
        • Configuring OpenStack Compute to use OpenStack Identity Service
        • Using OpenStack Compute with OpenStack Identity Service
        • Chapter 4: Installing OpenStack Storage
          • Introduction
          • Creating an OpenStack Storage sandbox environment
          • Installing the OpenStack Storage services
          • Configuring storage
          • Configuring replication
          • Configuring OpenStack Storage Service
          • Configuring the OpenStack Storage proxy server
          • Configuring Account Server
          • Configuring Container Server
          • Configuring Object Server
          • Making the Object, Account, and Container rings
          • Stopping and starting OpenStack Storage
          • Testing OpenStack Storage
          • Setting up SSL access
          • Configuring OpenStack Storage with OpenStack Identity Service
          • Chapter 5: Using OpenStack Storage
            • Introduction
            • Installing the swift client tool
            • Creating containers
            • Uploading objects
            • Uploading large objects
            • Listing containers and objects
            • Downloading objects
            • Deleting containers and objects
            • Using OpenStack Storage ACLs
            • Chapter 6: Administering OpenStack Storage
              • Introduction
              • Preparing drives for OpenStack Storage
              • Managing the OpenStack Storage cluster with swift-init
              • Checking cluster health
              • OpenStack Storage benchmarking
              • Managing capacity
              • Removing nodes from a cluster
              • Detecting and replacing failed hard drives
              • Collecting usage statistics
              • Chapter 7: Glance OpenStack Image Service
                • Introduction
                • Installing OpenStack Image Service
                • Configuring OpenStack Image Service with MySQL
                • Configuring OpenStack Compute with OpenStack Image Service
                • Configuring OpenStack Image Service with OpenStack Storage
                • Managing images with OpenStack Image Service
                • Registering a remotely stored image
                • Chapter 8: Nova Volumes
                  • Introduction
                  • Configuring nova-volume services
                  • Configuring OpenStack Compute for nova-volume
                  • Creating volumes
                  • Attaching volumes to instances
                  • Detaching volumes from an instance
                  • Deleting volumes
                  • Chapter 9: Horizon OpenStack Dashboard
                    • Introduction
                    • Installing OpenStack Dashboard
                    • Keypair management in OpenStack Dashboard
                    • Security group management by using OpenStack Dashboard
                    • Launching instances by using OpenStack Dashboard
                    • Terminating instances by using OpenStack Dashboard
                    • Connecting to instances by using OpenStack Dashboard and VNC
                    • Adding new tenants by using OpenStack Dashboard
                    • User management by using OpenStack Dashboard
                    • Chapter 10: OpenStack Networking
                      • Introduction
                      • Configuring Flat networking
                      • Configuring Flat networking with DHCP
                      • Configuring VLAN Manager networking
                      • Configuring per-project (tenant) IP ranges
                      • 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
                      • Chapter 11: In the Datacenter
                        • Introduction
                        • Installing MAAS for bare-metal provisioning
                        • Using MAAS for bare-metal provisioning of hosts
                        • Installing and configuring Juju
                        • Installing OpenStack services using Juju
                        • Increasing OpenStack Compute capacity
                        • MySQL clustering using Galera
                        • Configuring HA Proxy for MySQL Galera load balancing
                        • Increasing resilience of OpenStack services
                        • Bonding network interfaces for redundancy
                        • Chapter 12: Monitoring
                          • Introduction
                          • Monitoring Compute services with Munin
                          • Monitoring instances using Munin and Collectd
                          • Monitoring the storage service using StatsD/Graphite
                          • Monitoring MySQL with Hyperic
                          • Chapter 13: Troubleshooting
                            • Introduction
                            • Checking OpenStack Compute Services
                            • Understanding logging
                            • Troubleshooting OpenStack Compute Services
                            • Troubleshooting OpenStack Storage Service
                            • Troubleshooting OpenStack Authentication
                            • Submitting bug reports
                            • Getting help from the community

                            Kevin Jackson

                            Kevin Jackson is married with three children. He is an experienced IT professional working with small businesses to online enterprises. He has extensive experience of various flavors of Linux and Unix. He works from home in Southport, UK, specializing in OpenStack for Rackspace covering the International market for the Big Cloud Solutions team. He can be found on twitter @itarchitectkev. He also authored the first edition of OpenStack Cloud Computing Cookbook, Packt Publishing.
                            Sorry, we don't have any reviews for this title yet.

                            Submit Errata

                            Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                            Errata

                            - 5 submitted: last submission 17 Jan 2014

                            Errata type: Code | Page number: 21

                            Last line on page: chmod 0600.pem
                            should be: chmod 0600 *.pem

                             

                            Errata type: Others | Page numbers: 7 and 79 (after a similar VBoxManage command)

                            Tip: Under Windows, the virtual interfaces are named as follows:

                            Linux/MacOSX

                            Windows

                            vboxnet0

                            VirtualBox Host-Only Ethernet Adapter

                            vboxnet1 and so on

                            VirtualBox Host-Only Ethernet Adapter #1

                            Replace occurrences of vboxnet0, vboxnet1 and so on with the longer named version if using Windows.

                             

                            Errata type: Technical | Page number: 25

                            This references a bucket in our objects tore
                            should be: This references a bucket in our object store

                             

                            Errata type: Code | Page number: 7

                            VboxManage createvm --name openstack1 --ostype Ubuntu_64 --register
                            Should be: VboxManage createvm --name openstack1 --ostype Ubuntu_64 --register

                             

                            Errata type: Others | Page number: 35

                            Please ignore the following sentence:
                            We have also added in a new group to allow us to access our Windows environment.

                             

                            Sample chapters

                            You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                            Frequently bought together

                            OpenStack Cloud Computing Cookbook +    OpenNebula 3 Cloud Computing =
                            50% Off
                            the second eBook
                            Price for both: €36.65

                            Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                            What you will learn from this book

                            • Understand, install and configure Nova, OpenStack's Cloud Compute resource
                            • Learn how to install Swift, how it operates—with practical recipes to troubleshooting and maintaining OpenStack's Object Storage service
                            • Configure Keystone, OpenStack's Identity Service which underpins the authentication of all OpenStack services
                            • Manage cloud computing images using the OpenStack Image Service, Glance
                            • Learn how to create custom Windows and Linux images for use in your private cloud environment
                            • Configure and install Horizon, the OpenStack Dashboard service for managing your cloud environment
                            • Learn how to secure your private cloud and the instances running on them
                            • Learn how to troubleshoot, monitor and deploy OpenStack environments beyond test environments and into real-world datacenters

                            In Detail

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

                            OpenStack Cloud Computing Cookbook 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 do with AWS or Rackspace.

                            The Cookbook starts by configuring Nova (Compute) and Swift (Storage) in a safe, virtual environment that builds on through the book, to provisioning and managing OpenStack in the Datacenter.

                            From Installing Nova in a Virtual Environment to installing OpenStack in the Datacenter, from understanding logging to securing your OpenStack environment, whatever level of experience or interest you have with OpenStack there are recipes that guide you through the journey. Installation steps cover Compute, Swift, Keystone, Nova Volumes, Glance and Horizon.

                            OpenStack Cloud Computing Cookbook gives you clear step-by-step instructions to installing and running 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.

                            Approach

                            A Cookbook full of practical and applicable recipes that will enable you to use the full capabilities of OpenStack like never before.

                            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.

                            Code Download and Errata
                            Packt Anytime, Anywhere
                            Register Books
                            Print Upgrades
                            eBook Downloads
                            Video Support
                            Contact Us
                            Awards Voting Nominations Previous Winners
                            Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                            Resources
                            Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software