You are previewing OpenStack Essentials - Second Edition.
O'Reilly logo
OpenStack Essentials - Second Edition

Book Description

Untangle the complexity of OpenStack clouds through this practical tutorial

About This Book

  • Navigate through the complex jungle of components in OpenStack using practical instructions

  • This book helps administrators, cloud engineers, and even developers to consolidate and control pools of compute, networking, and storage resources

  • Learn to use the centralized dashboard and administration panel to monitor large-scale deployments

  • Who This Book Is For

    This book is perfect for administrators, cloud engineers, and operators who want to get started with OpenStack, solve basic problems encountered during deployment, and get up to speed with the latest release of OpenStack. Familiarity with the Linux command line and experience with Linux system administration is expected.

    What You Will Learn

  • Brush up on the latest release, and how it affects the various components

  • Install OpenStack using the Packstack and RDO Manager installation tool

  • Learn to convert a computer node that supports Docker containers

  • Implement Ceph Block Device images with OpenStack

  • Create and allocate virtual networks, routers and IP addresses to OpenStack Tenants.

  • Configuring and Launching a Docker container.

  • In Detail

    OpenStack is a widely popular platform for cloud computing. Applications that are built for this platform are resilient to failure and convenient to scale. This book, an update to our extremely popular OpenStack Essentials (published in May 2015) will help you master not only the essential bits, but will also examine the new features of the latest OpenStack release - Mitaka; showcasing how to put them to work straight away.

    This book begins with the installation and demonstration of the architecture. This book will tech you the core 8 topics of OpenStack. They are Keystone for Identity Management, Glance for Image management, Neutron for network management, Nova for instance management, Cinder for Block storage, Swift for Object storage, Ceilometer for Telemetry and Heat for Orchestration. Further more you will learn about launching and configuring Docker containers and also about scaling them horizontally. You will also learn about monitoring and Troubleshooting OpenStack.

    Style and approach

    This book offers step-by-step practical instructions to help you quickly navigate through the complexities of OpenStack

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at If you purchased this book elsewhere, you can visit and register to have the code file.

    Table of Contents

    1. OpenStack Essentials Second Edition
      1. Table of Contents
      2. OpenStack Essentials Second Edition
      3. Credits
      4. About the Author
      5. About the Reviewer
        1. eBooks, discount offers, and more
          1. Why subscribe?
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. RDO Installation
        1. OpenStack architecture
        2. Dashboard
        3. Keystone
        4. Glance
        5. Neutron
        6. Nova
        7. Cinder
        8. Swift
        9. Ceilometer
        10. Heat
        11. OpenStack installation
        12. Installing RDO using Packstack
        13. Installing RDO using Triple-O
        14. Connecting to your Overcloud
        15. Summary
      9. 2. Identity Management
        1. Services and endpoints
          1. Hierarchy of users, projects, and roles
          2. Creating a user
          3. Creating a project
          4. Granting a role
          5. Logging in with the new user
        2. Interacting with Keystone in the dashboard
        3. Endpoints in the dashboard
        4. Summary
      10. 3. Image Management
        1. Glance as a registry of images
          1. Downloading and registering an image
        2. Using the web interface
        3. Building an image
        4. Summary
      11. 4. Network Management
        1. Networking and Neutron
          1. Network fabric
        2. Open vSwitch configuration
          1. VLAN
          2. GRE tunnels
          3. VXLAN tunnels
        3. Creating a network
        4. Web interface management
        5. External network access
          1. Preparing a network
          2. Creating an external network
        6. Web interface external network setup
        7. Summary
      12. 5. Instance Management
        1. Managing flavors
        2. Managing key pairs
        3. Launching an instance
        4. Managing floating IP addresses
        5. Managing security groups
        6. Communicating with the instance
        7. Launching an instance using the web interface
        8. Summary
      13. 6. Block Storage
        1. Use case
        2. Creating and using block storage
        3. Attaching the block storage to an instance
        4. Managing Cinder volumes in the web interface
        5. Backing storage
          1. Cinder types
        6. Ceph setup
          1. GlusterFS setup
        7. Summary
      14. 7. Object Storage
        1. Use case
        2. Architecture of a Swift cluster
        3. Creating and using object storage
        4. Object file management in the web interface
        5. Using object storage on an instance
        6. Ring files
          1. Creating ring files
        7. Summary
      15. 8. Telemetry
        1. Understanding the data store
        2. Definitions of Ceilometer's configuration terms
          1. Pipelines
          2. Meters
          3. Samples
          4. Statistics
          5. Alarms
        3. Graphing the data
        4. Summary
      16. 9. Orchestration
        1. About orchestration
        2. Writing templates
          1. The AWS CloudFormation format
        3. The Heat Orchestration Template format
        4. Launching a stack
        5. Autoscaling instances with Heat
        6. LBaaS setup
        7. Web interface
        8. Summary
      17. 10. Docker
        1. Containers
        2. OpenStack integration
        3. Nova compute configuration
        4. Glance configuration
          1. Importing a Docker image to Glance
        5. Launching a Docker instance
        6. Summary
      18. 11. Scaling Horizontally
        1. Scaling compute nodes
        2. Installing more control nodes
        3. Load-balancing control services
        4. High availability
        5. Highly available database and message bus
        6. Summary
      19. 12. Monitoring
        1. Monitoring defined
        2. Installing Nagios
          1. Adding Nagios host checks
          2. Nagios commands
        3. Monitoring methods
        4. Non-OpenStack service checks
        5. Monitoring control services
        6. Monitoring network services
        7. Monitoring compute services
        8. Summary
      20. 13. Troubleshooting
        1. The OpenStack debug command-line option
        2. Tailing the server logs
        3. Troubleshooting Keystone and authentication
        4. Troubleshooting Glance image management
        5. Troubleshooting Neutron networking
        6. Troubleshooting Nova launching instances
        7. Troubleshooting post-boot metadata
        8. Troubleshooting console access
        9. Troubleshooting Cinder block storage
        10. Troubleshooting Swift object storage
        11. Troubleshooting Ceilometer Telemetry
        12. Troubleshooting Heat orchestration
        13. Getting more help
        14. Summary
      21. Index