Skip to Content
Hybrid Cloud for Developers
book

Hybrid Cloud for Developers

by Manoj Hirway
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
8h 37m
English
Packt Publishing
Content preview from Hybrid Cloud for Developers

Developing HEAT orchestration templates

We discussed the OpenStack orchestration engine in Chapter 2, Exploring AWS Cloud. To recap, OpenStack provides an orchestration engine that can process a template and deploy the specified resources. The template is written in the YAML format.

A basic template that deploys a single VM using the key-pair named test-key and the image cirros is as follows:

heat_template_version: 2015-04-30

description: Simple template that deploys a VM
resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      key_name: test-key
      image: cirros

A typical HOT template has three sections: template version, description, and resources. The description is optional, however, it is a good practice to specify the details about a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hybrid Cloud for Architects

Hybrid Cloud for Architects

Alok Shrivastwa
OpenStack: Building a Cloud Environment

OpenStack: Building a Cloud Environment

Alok Shrivastwa, Sunil Sarat, Kevin Jackson, Cody Bunch, Egle Sigler, Tony Campbell

Publisher Resources

ISBN: 9781788830874Supplemental Content