OpenStack: Building a Cloud Environment

Learn how you can put the features of OpenStack to work in the real world in this comprehensive path
Preview in Mapt
Code Files

OpenStack: Building a Cloud Environment

Alok Shrivastwa et al.

Learn how you can put the features of OpenStack to work in the real world in this comprehensive path

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$50.40
RRP $71.99
Save 29%
Print + eBook
$89.99
RRP $89.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$50.40
$89.99
$29.99 p/m after trial
RRP $71.99
RRP $89.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


OpenStack: Building a Cloud Environment Book Cover
OpenStack: Building a Cloud Environment
$ 71.99
$ 50.40
Preparing for the Certified OpenStack Administrator Exam Book Cover
Preparing for the Certified OpenStack Administrator Exam
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $72.98
Add to Cart

Book Details

ISBN 139781787123182
Paperback807 pages

Book Description

OpenStack is a collection of software projects that work together to provide a cloud fabric.

Learning OpenStack Cloud Computing course is an exquisite guide that you will need to build cloud environments proficiently. This course will help you gain a clearer understanding of OpenStack’s components and their interaction with each other to build a cloud environment.

The first module, Learning OpenStack, starts with a brief look into the need for authentication and authorization, the different aspects of dashboards, cloud computing fabric controllers, along with 'Networking as a Service' and 'Software defined Networking'. Then, you will focus on installing, configuring, and troubleshooting different architectures such as Keystone, Horizon, Nova, Neutron, Cinder, Swift, and Glance. After getting familiar with the fundamentals and application of OpenStack, let's move deeper into the realm of OpenStack.

In the second module, OpenStack Cloud Computing Cookbook, preview how to build and operate OpenStack cloud computing, storage, networking, and automation. Dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring ML2, networks, routers, and distributed virtual routers. Further, you'll learn practical examples of Block Storage, LBaaS, and FBaaS.

The final module, Troubleshooting OpenStack, will help you quickly diagnose, troubleshoot, and correct problems in your OpenStack. We will diagnose and remediate issues in Keystone, Glance, Neutron networking, Nova, Cinder block storage, Swift object storage, and issues caused by Heat orchestration.

This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

Table of Contents

Chapter 1: An Introduction to OpenStack
Choosing an orchestrator
Building a private cloud
When to choose OpenStack?
Preparing for the OpenStack setup
Summary
Chapter 2: Authentication and Authorization Using Keystone
Identity concepts in Keystone
Architecture and subsystems
Installing common components
Installing Keystone
Verifying the installation
Troubleshooting the installation and configuration
Summary
Chapter 3: Storing and Retrieving Data and Images using Glance, Cinder, and Swift
Introducing storage services
Working with Glance
Working with Cinder
Working with Swift
Troubleshooting steps
Summary
Chapter 4: Building Your Cloud Fabric Controller Using Nova
Working with Nova
Installing Nova components
Verifying the installation
Console access
Designing your Nova environment
Troubleshooting installation
Summary
Chapter 5: Technology-Agnostic Network Abstraction Using Neutron
The software-defined network paradigm
Neutron
Installing Neutron
Troubleshooting Neutron
Summary
Chapter 6: Building Your Portal in the Cloud
Working with Horizon
Troubleshooting Horizon
Summary
Chapter 7: Your OpenStack Cloud in Action
Gathering service requirements
Tenant and user management
Network management
Requesting services
Behind the scenes - how it all works
Creating VM templates
Summary
Chapter 8: Taking Your Cloud to the Next Level
Working with Heat
Ceilometer
Testing the installation
Billing and usage reporting
Summary
Chapter 9: Looking Ahead
OpenStack distributions
OpenStack in action
The roadmap
What is in it for you?
Summary
Chapter 10: Keystone – OpenStack Identity Service
Introduction
Installing the OpenStack Identity Service
Configuring OpenStack Identity for SSL communication
Creating tenants in Keystone
Configuring roles in Keystone
Adding users to Keystone
Defining service endpoints
Creating the service tenant and service users
Configuring OpenStack Identity for LDAP Integration
Chapter 11: Glance – OpenStack Image Service
Introduction
Installing OpenStack Image Service
Configuring OpenStack Image Service with OpenStack Identity Service
Configuring OpenStack Image Service with OpenStack Object Storage
Managing images with OpenStack Image Service
Registering a remotely stored image
Sharing images among tenants
Viewing shared images
Using image metadata
Migrating a VMware image
Creating an OpenStack image
Chapter 12: Neutron – OpenStack Networking
Introduction
Installing Neutron and Open vSwitch on a dedicated network node
Configuring Neutron and Open vSwitch
Installing and configuring the Neutron API service
Creating a tenant Neutron network
Deleting a Neutron network
Creating an external floating IP Neutron network
Using Neutron networks for different purposes
Configuring Distributed Virtual Routers
Using Distributed Virtual Routers
Chapter 13: Nova – OpenStack Compute
Introduction
Installing OpenStack Compute controller services
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
Using the command-line tools with HTTPS
Checking OpenStack Compute services
Using OpenStack Compute
Managing security groups
Creating and managing key pairs
Launching our first cloud instance
Fixing a broken instance deployment
Terminating your instances
Using live migration
Working with nova-schedulers
Creating flavors
Defining host aggregates
Launching instances in specific Availability Zones
Launching instances on specific Compute hosts
Removing Nova nodes from a cluster
Chapter 14: Swift – OpenStack Object Storage
Introduction
Configuring Swift services and users in Keystone
Installing OpenStack Object Storage services – proxy server
Configuring OpenStack Object Storage – proxy server
Installing OpenStack Object Storage services – storage nodes
Configuring physical storage for use with Swift
Configuring Object Storage replication
Configuring OpenStack Object Storage – storage services
Making the Object Storage rings
Stopping and starting OpenStack Object Storage
Setting up SSL access
Chapter 15: Using OpenStack Object 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 Object Storage ACLs
Using Container Synchronization between two Swift Clusters
Chapter 16: Administering OpenStack Object Storage
Introduction
Managing the OpenStack Object Storage cluster with swift-init
Checking cluster health
Managing the Swift cluster capacity
Removing nodes from a cluster
Detecting and replacing failed hard drives
Collecting usage statistics
Chapter 17: Cinder – OpenStack Block Storage
Introduction
Configuring Cinder-volume services
Configuring OpenStack Compute for Cinder-volume
Creating volumes
Attaching volumes to an instance
Detaching volumes from an instance
Deleting volumes
Configuring third-party volume services
Working with Cinder snapshots
Booting from volumes
Chapter 18: More OpenStack
Introduction
Using cloud-init to run post-installation commands
Using cloud-config to run the post-installation configuration
Installing OpenStack Telemetry
Using OpenStack Telemetry to interrogate usage statistics
Installing Neutron LBaaS
Using Neutron LBaaS
Configuring Neutron FWaaS
Using Neutron FWaaS
Installing the Heat OpenStack Orchestration service
Using Heat to spin up instances
Chapter 19: Using the OpenStack Dashboard
Introduction
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 to connect to instances using a VNC
Using OpenStack Dashboard to add new tenants – projects
Using OpenStack Dashboard for user management
Using OpenStack Dashboard with LBaaS
Using OpenStack Dashboard with OpenStack Orchestration
Chapter 20: Production OpenStack
Introduction
Installing the MariaDB Galera cluster
Configuring HA Proxy for the MariaDB Galera cluster
Configuring HA Proxy for high availability
Installing and configuring Pacemaker with Corosync
Configuring OpenStack services with Pacemaker and Corosync
Bonding network interfaces for redundancy
Automating OpenStack installations using Ansible – host configuration
Automating OpenStack installations using Ansible – Playbook configuration
Automating OpenStack installations using Ansible – running Playbooks
Chapter 21: The Troubleshooting Toolkit
The project overview of OpenStack
The supporting technologies
Basic troubleshooting methodology and tools
Installed packages
Summary
Chapter 22: Troubleshooting OpenStack Identity
Know your version
Running Keystone under Eventlet
Summary
Chapter 23: Troubleshooting the OpenStack Image Service
Glance services
Glance logging and configuration
Common errors
Summary
Chapter 24: Troubleshooting OpenStack Networking
Identifying Neutron issues
Neutron services and agents
Common problems
Troubleshooting tools
The Neutron client
Summary
Chapter 25: Troubleshooting OpenStack Compute
Checking the services
Supporting services
Summary
Chapter 26: Troubleshooting OpenStack Block Storage
Cinder processes
Cinder dependencies
Cinder errors
Summary
Chapter 27: Troubleshooting OpenStack Object Storage
Swift processes
Swift authentication
Summary
Chapter 28: Troubleshooting the OpenStack the Orchestration Service
Heat services
Heat authentication
Heat template errors
Summary
Chapter 29: Troubleshooting the OpenStack Telemetry Service
Ceilometer processes
Ceilometer authentication
Ceilometer dependencies
The command-line client
Summary
Chapter 30: OpenStack Performance, Availability, and Reliability
Databases
RabbitMQ
Services
Community resources
Summary

What You Will Learn

  • Get an introduction to OpenStack and its components
  • Store and retrieve data and images using storage components, such as Cinder, Swift, and Glance
  • Install and configure Swift, the OpenStack Object Storage service, including configuring Container Replication between datacenters
  • Gain hands on experience and familiarity with Horizon, the OpenStack Dashboard user interface
  • Learn how to automate OpenStack installations using Ansible and Foreman
  • Follow practical advice and examples for running OpenStack in production
  • Fix common issues with images served through Glance and master the art of troubleshooting Neutron networking

Authors

Table of Contents

Chapter 1: An Introduction to OpenStack
Choosing an orchestrator
Building a private cloud
When to choose OpenStack?
Preparing for the OpenStack setup
Summary
Chapter 2: Authentication and Authorization Using Keystone
Identity concepts in Keystone
Architecture and subsystems
Installing common components
Installing Keystone
Verifying the installation
Troubleshooting the installation and configuration
Summary
Chapter 3: Storing and Retrieving Data and Images using Glance, Cinder, and Swift
Introducing storage services
Working with Glance
Working with Cinder
Working with Swift
Troubleshooting steps
Summary
Chapter 4: Building Your Cloud Fabric Controller Using Nova
Working with Nova
Installing Nova components
Verifying the installation
Console access
Designing your Nova environment
Troubleshooting installation
Summary
Chapter 5: Technology-Agnostic Network Abstraction Using Neutron
The software-defined network paradigm
Neutron
Installing Neutron
Troubleshooting Neutron
Summary
Chapter 6: Building Your Portal in the Cloud
Working with Horizon
Troubleshooting Horizon
Summary
Chapter 7: Your OpenStack Cloud in Action
Gathering service requirements
Tenant and user management
Network management
Requesting services
Behind the scenes - how it all works
Creating VM templates
Summary
Chapter 8: Taking Your Cloud to the Next Level
Working with Heat
Ceilometer
Testing the installation
Billing and usage reporting
Summary
Chapter 9: Looking Ahead
OpenStack distributions
OpenStack in action
The roadmap
What is in it for you?
Summary
Chapter 10: Keystone – OpenStack Identity Service
Introduction
Installing the OpenStack Identity Service
Configuring OpenStack Identity for SSL communication
Creating tenants in Keystone
Configuring roles in Keystone
Adding users to Keystone
Defining service endpoints
Creating the service tenant and service users
Configuring OpenStack Identity for LDAP Integration
Chapter 11: Glance – OpenStack Image Service
Introduction
Installing OpenStack Image Service
Configuring OpenStack Image Service with OpenStack Identity Service
Configuring OpenStack Image Service with OpenStack Object Storage
Managing images with OpenStack Image Service
Registering a remotely stored image
Sharing images among tenants
Viewing shared images
Using image metadata
Migrating a VMware image
Creating an OpenStack image
Chapter 12: Neutron – OpenStack Networking
Introduction
Installing Neutron and Open vSwitch on a dedicated network node
Configuring Neutron and Open vSwitch
Installing and configuring the Neutron API service
Creating a tenant Neutron network
Deleting a Neutron network
Creating an external floating IP Neutron network
Using Neutron networks for different purposes
Configuring Distributed Virtual Routers
Using Distributed Virtual Routers
Chapter 13: Nova – OpenStack Compute
Introduction
Installing OpenStack Compute controller services
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
Using the command-line tools with HTTPS
Checking OpenStack Compute services
Using OpenStack Compute
Managing security groups
Creating and managing key pairs
Launching our first cloud instance
Fixing a broken instance deployment
Terminating your instances
Using live migration
Working with nova-schedulers
Creating flavors
Defining host aggregates
Launching instances in specific Availability Zones
Launching instances on specific Compute hosts
Removing Nova nodes from a cluster
Chapter 14: Swift – OpenStack Object Storage
Introduction
Configuring Swift services and users in Keystone
Installing OpenStack Object Storage services – proxy server
Configuring OpenStack Object Storage – proxy server
Installing OpenStack Object Storage services – storage nodes
Configuring physical storage for use with Swift
Configuring Object Storage replication
Configuring OpenStack Object Storage – storage services
Making the Object Storage rings
Stopping and starting OpenStack Object Storage
Setting up SSL access
Chapter 15: Using OpenStack Object 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 Object Storage ACLs
Using Container Synchronization between two Swift Clusters
Chapter 16: Administering OpenStack Object Storage
Introduction
Managing the OpenStack Object Storage cluster with swift-init
Checking cluster health
Managing the Swift cluster capacity
Removing nodes from a cluster
Detecting and replacing failed hard drives
Collecting usage statistics
Chapter 17: Cinder – OpenStack Block Storage
Introduction
Configuring Cinder-volume services
Configuring OpenStack Compute for Cinder-volume
Creating volumes
Attaching volumes to an instance
Detaching volumes from an instance
Deleting volumes
Configuring third-party volume services
Working with Cinder snapshots
Booting from volumes
Chapter 18: More OpenStack
Introduction
Using cloud-init to run post-installation commands
Using cloud-config to run the post-installation configuration
Installing OpenStack Telemetry
Using OpenStack Telemetry to interrogate usage statistics
Installing Neutron LBaaS
Using Neutron LBaaS
Configuring Neutron FWaaS
Using Neutron FWaaS
Installing the Heat OpenStack Orchestration service
Using Heat to spin up instances
Chapter 19: Using the OpenStack Dashboard
Introduction
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 to connect to instances using a VNC
Using OpenStack Dashboard to add new tenants – projects
Using OpenStack Dashboard for user management
Using OpenStack Dashboard with LBaaS
Using OpenStack Dashboard with OpenStack Orchestration
Chapter 20: Production OpenStack
Introduction
Installing the MariaDB Galera cluster
Configuring HA Proxy for the MariaDB Galera cluster
Configuring HA Proxy for high availability
Installing and configuring Pacemaker with Corosync
Configuring OpenStack services with Pacemaker and Corosync
Bonding network interfaces for redundancy
Automating OpenStack installations using Ansible – host configuration
Automating OpenStack installations using Ansible – Playbook configuration
Automating OpenStack installations using Ansible – running Playbooks
Chapter 21: The Troubleshooting Toolkit
The project overview of OpenStack
The supporting technologies
Basic troubleshooting methodology and tools
Installed packages
Summary
Chapter 22: Troubleshooting OpenStack Identity
Know your version
Running Keystone under Eventlet
Summary
Chapter 23: Troubleshooting the OpenStack Image Service
Glance services
Glance logging and configuration
Common errors
Summary
Chapter 24: Troubleshooting OpenStack Networking
Identifying Neutron issues
Neutron services and agents
Common problems
Troubleshooting tools
The Neutron client
Summary
Chapter 25: Troubleshooting OpenStack Compute
Checking the services
Supporting services
Summary
Chapter 26: Troubleshooting OpenStack Block Storage
Cinder processes
Cinder dependencies
Cinder errors
Summary
Chapter 27: Troubleshooting OpenStack Object Storage
Swift processes
Swift authentication
Summary
Chapter 28: Troubleshooting the OpenStack the Orchestration Service
Heat services
Heat authentication
Heat template errors
Summary
Chapter 29: Troubleshooting the OpenStack Telemetry Service
Ceilometer processes
Ceilometer authentication
Ceilometer dependencies
The command-line client
Summary
Chapter 30: OpenStack Performance, Availability, and Reliability
Databases
RabbitMQ
Services
Community resources
Summary

Book Details

ISBN 139781787123182
Paperback807 pages
Read More

Read More Reviews

Recommended for You

Preparing for the Certified OpenStack Administrator Exam Book Cover
Preparing for the Certified OpenStack Administrator Exam
$ 35.99
$ 25.20
Learning DevOps: Continuously Deliver Better Software Book Cover
Learning DevOps: Continuously Deliver Better Software
$ 67.99
$ 47.60
Git: Mastering Version Control Book Cover
Git: Mastering Version Control
$ 69.99
$ 49.00
Python: Penetration Testing for Developers Book Cover
Python: Penetration Testing for Developers
$ 67.99
$ 47.60
TypeScript: Modern JavaScript Development Book Cover
TypeScript: Modern JavaScript Development
$ 69.99
$ 49.00
HTML Web Development Crash Course [Video] Book Cover
HTML Web Development Crash Course [Video]
$ 19.99