Launching your stack with Heat
To launch a Heat stack we need three things: a name for the stack, the template (HOT) that describes the deployment, and finally, the environment file that fills in the blanks of the input parameters.
Getting ready
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment. Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack.
Note
If you get the openstack: 'stack' is not an openstack
command, refer to openstack --help
.
Ensure that the python-heatclient
package is installed:
sudo -H pip install python-heatclient
Also ensure that you have downloaded the example cookbook.yaml
Heat template and have created the environment file, as described in the previous recipe.
How to do it...
In this section, we will download a HOT file called cookbook.yaml
, which will describe our instance and the network to attach it to:
We will launch the stack with the following commands:
openstack...