Book Image

OpenStack Administration with Ansible

By : Walter Bentley
Book Image

OpenStack Administration with Ansible

By: Walter Bentley

Overview of this book

Most organizations are seeking methods to improve business agility because they have realized just having a cloud is not enough. Being able to improve application deployments, reduce infrastructure downtime, and eliminate daily manual tasks can only be accomplished through some sort of automation. Packed with real-world OpenStack administrative tasks, this book will walk you through working examples and explain how these tasks can be automated using one of the most popular open source automation tools—Ansible. We will start with a brief overview of OpenStack and Ansible and highlight some best practices. Each chapter will provide an introduction to handling various Cloud Operator administration tasks such as creating multiple users/tenants, setting up Multi-Tenant Isolation, customizing your clouds quotas, taking instance snapshots, evacuating compute hosts for maintenance, and running cloud health checks, and a step-by-step tutorial on how to automate these tasks with Ansible.
Table of Contents (18 chapters)
OpenStack Administration with Ansible
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Define and create quotas


What are quotas? Within OpenStack, you can set quotas on a tenant/project or user level in order to restrict the resource consumption that is allowed. The compute service (Nova) manages the quota values and also enforces them. As a cloud operator, this is another important feature OpenStack offers, as quotas allow you to control the cloud's overall system capacity. You may ask, why not just set up one default quota and let every tenant use it? We will cover why this approach may or may not work, based on a particular use case. It is also worth mentioning that the Block Storage service (Cinder) can also set quotas.

Since we now know that you can set quotas, let's review the resources that can be restricted and what the default values are. The following is a table describing the type of quotas that can be set:

Quota name

Defines the number of...

Instances

Instances allowed for each project

Cores

Instance cores allowed for each project

RAM (MB)

RAM megabytes...