Book description
The Fourth Edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, from four recognized experts, updated to the latest OpenStack build including Cinder, Nova, and Neutron.
About This Book
- Over 100 recipes created by a team of OpenStack experts
- Updated to work with the latest OpenStack builds, with recipes covering the installation and use of OpenStack with Ansible
- It covers topics such as Keystone, Glance, Neutron, Nova, Cinder, and more, plus recipes for OpenStack storage, networking, and orchestrating workloads
- Test drive OpenStack using the accompanying Vagrant environment
Who This Book Is For
This book is written for cloud system engineers, system administrators, and technical architects who are moving from a virtualized environment to cloud environments. This book assumes that you are familiar with cloud computing platforms, and have knowledge of virtualization, networking, and managing Linux environments.
What You Will Learn
- Understand, install, configure, and manage a complete OpenStack Cloud platform using OpenStack-Ansible
- Configure networks, routers, load balancers, and more with Neutron
- Use Keystone to setup domains, roles, groups and user access
- Learn how to use Swift and setup container access control lists
- Gain hands-on experience and familiarity with Horizon, the OpenStack Dashboard user interface
- Automate complete solutions with our recipes on Heat, the OpenStack Orchestration service as well as using Ansible to orchestrate application workloads
- Follow practical advice and examples to run OpenStack in production
In Detail
This is the fourth edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, created by four recognized OpenStack experts. It has now been updated to work with the latest OpenStack builds, using tools and processes based on their collective and vast OpenStack experience.
OpenStack Open Source Cloud software is one of the most used cloud infrastructures to support a wide variety of use cases, from software development to big data analysis. It is developed by a thriving community of individual developers from around the globe and backed by most of the leading players in the cloud space today. We make it simple to implement, massively scalable, and able to store a large pool of data and networking resources. OpenStack has a strong ecosystem that helps you provision your cloud storage needs. Add OpenStack's enterprise features to reduce the cost of your business.
This book will begin by showing you the steps to build up an OpenStack private cloud environment using Ansible. You'll then discover the uses of cloud services such as the identity service, image service, and compute service. You'll dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring networks, routers, load balancers, and more.
You'll then gather more expert knowledge on OpenStack cloud computing by managing your cloud's security and migration. After that, we delve into OpenStack Object storage and you'll see how to manage servers and work with objects, cluster, and storage functionalities. Finally, you will learn about OpenStack dashboard, Ansible, Keystone, and other interesting topics.
Style and approach
Clear, step-by-step instructions coupled with practical and applicable recipes that will enable you to use and implement the latest features of OpenStack. The authors provide all the context you need around each recipe so that you can make it part of your own OpenStack solutions.
Table of contents
-
OpenStack Cloud Computing Cookbook Fourth Edition
- Table of Contents
- OpenStack Cloud Computing Cookbook Fourth Edition
- Contributors
- Preface
-
1. Installing OpenStack with Ansible
- Introduction – the OpenStack architecture
- Host network configuration
- Root SSH keys configuration
- Installing Ansible, playbooks, and dependencies
- Configuring the installation
- Running the OpenStack-Ansible playbooks
- Troubleshooting the installation
- Manually testing the installation
- Modifying the OpenStack configuration
- Virtual lab - vagrant up!
-
2. The OpenStack Client
- Introduction – using OpenStack
- Installing Python on Windows
- Installing the OpenStack clients
- Configuring your Linux or macOS environment
- Configuring your Windows environment
- Common OpenStack networking tasks
- Common OpenStack server (instances) tasks
- Common OpenStack image tasks
- Common OpenStack identity tasks
- Common OpenStack storage tasks
- Common OpenStack orchestration tasks
-
3. Keystone – OpenStack Identity Service
- Introduction – OpenStack Identity
- Creating OpenStack domains in Keystone
- Enabling domains in the OpenStack dashboard
- Creating OpenStack projects in Keystone
- Configuring roles in Keystone
- Adding users in Keystone
- Configuring groups in Keystone
- Deleting projects
- Deleting users
- Deleting roles
- Deleting groups
- Deleting domains
- OpenStack endpoint information
-
4. Neutron – OpenStack Networking
- Introduction to OpenStack networking
- Managing networks, subnets, and ports
- Creating provider networks
- Creating tenant networks
- Creating ports
- Updating network attributes
- Deleting ports
- Deleting networks
- Managing routers and floating IPs
- Attaching networks to routers
- Creating and assigning floating IPs
- Deleting routers
- Managing security groups
-
Managing load balancers
- Creating load balancers
- Getting ready
- How to do it…
- How it works...
- Creating pools
- Getting ready
- How to do it…
- How it works...
- Creating members
- Getting ready
- How to do it…
- How it works...
- Creating listeners
- Getting ready
- How to do it…
- How it works...
- Verifying connectivity
- Getting ready
- How to do it…
-
5. Nova – OpenStack Compute
- Introduction to OpenStack Compute
- Adding a compute host using OpenStack-Ansible
- Suspending a host for maintenance
- Configuring Nova Scheduler to use host aggregates
- Creating a host aggregate
- Adding a compute host to a host aggregate
- Removing a compute host from a host aggregate
- Adding metadata to a host aggregate
- Deleting a host aggregate
- Creating an Availability Zone
- Booting an instance into an Availability Zone
- Removing an Availability Zone
- Creating a flavor
- Deleting a flavor
- Setting CPU limits for a flavor
- Setting IOPS limits for a flavor
- Booting an instance
- Stopping an instance
- Deleting an instance
- Live migration
- Snapshotting an instance
- Booting an instance from a snapshot
- Rescuing an instance
- Shelving an instance
- Reviewing the console logs
- 6. Glance – OpenStack Image Service
- 7. Cinder – OpenStack Block Storage
- 8. Swift – OpenStack Object Storage
-
9. OpenStack Orchestration Using Heat and Ansible
- Introduction – orchestrating with OpenStack
- Creating your first stack
- Launching your stack with Heat
- Viewing the resources and output of a stack created with Heat
- Deleting a Heat stack
- Updating a Heat stack
- Installing and configuring Ansible for OpenStack
- Using Ansible to launch instances
- Using Ansible to orchestrate software installation
- Using Ansible to orchestrate software installations across multiple instances
- Using Ansible to fully orchestrate the creation of a web server and load balancer stack
-
10. Using OpenStack Dashboard
- Introduction – OpenStack Dashboard
- Using OpenStack Dashboard for key management
- Using OpenStack Dashboard to manage Neutron networks and routers
- Using OpenStack Dashboard for security group management
- Using OpenStack Dashboard to launch instances
- Using OpenStack Dashboard to delete instances
- Using OpenStack Dashboard to add new projects
- Using OpenStack Dashboard for user management
- Using OpenStack Dashboard with LBaaS
- Using OpenStack Dashboard with OpenStack Orchestration
- Another Book You May Enjoy
- Index
Product information
- Title: OpenStack Cloud Computing Cookbook - Fourth Edition
- Author(s):
- Release date: January 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788398763
You might also like
book
OpenStack Cloud Computing Cookbook - Third Edition
Over 110 effective recipes to help you build and operate OpenStack cloud computing, storage, networking, and …
book
OpenStack Networking Cookbook
Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes About …
book
OpenStack Essentials - Second Edition
Untangle the complexity of OpenStack clouds through this practical tutorial About This Book Navigate through the …
book
OpenStack Operations Guide
Design, deploy, and maintain your own private or public Infrastructure as a Service (IaaS), using the …