Book Image

OpenStack Orchestration

By : Adnan Ahmed Siddiqui
Book Image

OpenStack Orchestration

By: Adnan Ahmed Siddiqui

Overview of this book

This book is focused on setting up and using one of the most important services in OpenStack orchestration, Heat. First, the book introduces you to the orchestration service for OpenStack to help you understand the uses of the templating mechanism, complex control groups of cloud resources, and huge-potential and multiple-use cases. We then move on to the topology and orchestration specification for cloud applications and standards, before introducing the most popular IaaS cloud framework, Heat. You will get to grips with the standards used in Heat, overview and roadmap, architecture and CLI, heat API, heat engine, CloudWatch API, scaling principles, JeOS and installation and configuration of Heat. We wrap up by giving you some insights into troubleshooting for OpenStack. With easy-to-follow, step-by-step instructions and supporting images, you will be able to manage OpenStack operations by implementing the orchestration services of Heat.
Table of Contents (14 chapters)
OpenStack Orchestration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
3
Stack Group of Connected Cloud Resources
Index

Create a stack


A new stack can be created using a template file or with help of cURL. We will use an example template file to create a stack. Let's suppose we have a template file named single_server.template. We will use the following command to create a stack:

ubuntu@ubuntu~$ heat stack-create Single-Server-Stack --template-file single_server.template

The output will be something similar to the one shown in the following screenshot:

The stack-create command can also be used for validating a template file without creating an actual stack. This can be a dry run to test whether there are no errors in the template file. The following is the command used to achieve this:

ubuntu@ubuntu~$ heat stack-create Single-Server-Stack --template-file single_server.template