Learning OpenStack
eBook - ePub

Learning OpenStack

  1. 272 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning OpenStack

About this book

Set up and maintain your own cloud-based Infrastructure as a Service (IaaS) using OpenStack

About This Book

  • Build and manage a cloud environment using just four virtual machines
  • Get to grips with mandatory as well as optional OpenStack components and know how they work together
  • Leverage your cloud environment to provide Infrastructure as a Service (IaaS) with this practical, step-by-step guide

Who This Book Is For

This book is targeted at all aspiring administrators, architects, or students who want to build cloud environments using Openstack. Knowledge of IaaS or cloud computing is recommended.

What You Will Learn

  • Get an introduction to OpenStack and its components
  • Authenticate and authorize the cloud environment using Keystone
  • Store and retrieve data and images using storage components such as Cinder, Swift, and Glance
  • Use Nova to build a Cloud Computing fabric controller
  • Abstract technology-agnostic networks using the Neutron network component
  • Gain an understanding of optional components such as Ceilometer, Trove, Ironic, Sahara, Barbican, Zaqar, Designate, Manila, and many more
  • See how all of the OpenStack components collaborate to provide IaaS to users
  • Create a production-grade OpenStack and automate your OpenStack Cloud

In Detail

OpenStack is a free and open source cloud computing platform that is rapidly gaining popularity in Enterprise data centres. It is a scalable operating system and is used to build private and public clouds. It is imperative for all the aspiring cloud administrators to possess OpenStack skills if they want to succeed in the cloud-led IT infrastructure space.

This book will help you gain a clearer understanding of OpenStack's components and their interaction with each other to build a cloud environment. You will learn to deploy a self-service based cloud using just four virtual machines and standard networking.

You begin with an introduction on the basics of cloud computing. This is followed by 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. Furthermore, you will see how all of the OpenStack components come together in providing IaaS to users. Finally, you will take your OpenStack cloud to the next level by integrating it with other IT ecosystem elements before automation.

By the end of this book, you will be proficient with the fundamentals and application of OpenStack.

Style and approach

This is a practical step-by-step guide comprising of installation prerequisites and basic troubleshooting instructions to help you build an error-free OpenStack cloud easily.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Learning OpenStack


Table of Contents

Learning OpenStack
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. An Introduction to OpenStack
Choosing an orchestrator
Building a private cloud
Commercial orchestrators
OpenStack
When to choose OpenStack?
OpenStack architecture
Service relationships
Services and releases history
Service functions
Keystone
Horizon
Nova
Glance
Swift
Cinder
Neutron
Heat
Ceilometer
Trove
Sahara
Designate
Ironic
Zaqar
Barbican
Manila
Murano
Magnum
Kolla
Congress
Service dependency maps
Preparing for the OpenStack setup
Selecting the services
Service layout
Controller node
Network node
Compute node
Storage node
Operating system
Network layout
Summary
2. Authentication and Authorization Using Keystone
Identity concepts in Keystone
User
Project (or tenant)
Role
Architecture and subsystems
Identity
Resource
Assignment
Policy
Token
Catalog
Installing common components
Setting up the database
Installing MariaDB
Step 1: Setting MariaDB repository
Step 2: Installing the MariaDB package
Configuring the database
Securing the database
Testing the installation
Setting up the messaging broker
Installing RabbitMQ
Step 1: Setting up the RabbitMQ repository
Step 2: Installing the RabbitMQ package
Configuring the RabbitMQ server
Testing the installation
Installing Keystone
Setting up the OpenStack repository
Creating the database
Installing the package
The initial configuration
Generating the admin token
Modifying the Keystone configuration file
Populating the Keystone DB
Setting up your first tenant
Setting up environment variables
Creating the tenant
Creating the user
Creating and mapping the role
Creating service endpoints
Creating the service
Creating the endpoint
Verifying the installation
Using Keystone CLI
Using the API
Troubleshooting the installation and configuration
DB sync errors
System language settings
Configuration errors
Failing Keystone commands
Service non-responsive
DNS issues
Network issues
Summary
3. Storing and Retrieving Data and Images using Glance, Cinder, and Swift
Introducing storage services
Working with Glance
Creating the database
Installing the packages
Initial configuration of Glance
Creating a user in Keystone
Creating a Glance service in Keystone
Creating a Glance endpoint
Modifying Glance configuration
Populating the Glance database
Finalizing the installation
Validating the installation
Working with Cinder
Controller node
Creating the database
Installing packages
Initial configuration
Creating a user in Keystone
Creating Cinder service in Keystone
Creating Cinder endpoints
Modifying the configuration files
Populating the Cinder database
Finalizing the installation
Storage node
Understanding the prerequisites
Installing the packages
Modifying the configuration files
Finalizing the installation
Validating the installation
Working with Swift
Controller node
Installing packages
Initial configuration
Creating a user in Keystone
Creating a Swift service in Keystone
Creating a Swift endpoint
Modifying the configuration files
The storage node
Understanding the prerequisites
Installing the packages
Modifying the configuration files
Account server configuration
Container server configuration
Object server configuration
Creating the rings
Account ring
Container ring
Object ring
Distributing the ring
Finalizing and validating the install
Troubleshooting steps
Swift authentication error
Ring files don't get created
Summary
4. Building Your Cloud Fabric Controller Using Nova
Working with Nova
Installing Nova componen...

Table of contents

  1. Learning OpenStack

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learning OpenStack by Alok Shrivastwa, Sunil Sarat in PDF and/or ePUB format, as well as other popular books in Computer Science & Virtualisation. We have over one million books available in our catalogue for you to explore.