How to Deploy OpenStack Heat Templates¶

Use the instructions provided here to deploy any of the templates in F5’s heat orchestration template library.

OpenStack CLI¶

The OpenStack Heat documentation extensively covers creation and management of Heat stacks. This document describes F5’s OpenStack development team’s preferred means of stack creation:

This example uses the F5-supported Deploy basic load balancer template.

  1. Download the template you want to deploy from the F5-Supported Heat templates library.
  2. Save the definition for each of the template’s required configuration parameters in an environment file.
Example: Environment file for the deploy-lb Heat template ¶
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
parameters: client_server_image: client_server_flavor: key_name: client_server_sec_group: open client_network: server_network: bigip_un: $BIGIP_USER bigip_pw: $BIGIP_PASS vs_name: virtual_server1 pool_name: pool1 bigip_fip: vs_vip: vs_port: 443 pool_member_port: 8080

Protect your BIG-IP login information.

Store your username and password as environment variables and reference them in your environment file.

openstack stack create -f deploy-lb.yaml -e deploy-lb.params.yaml 

OpenStack Horizon¶

Follow the directions below to deploy a Heat stack using the OpenStack Horizon dashboard.

  1. Go to Orchestration ‣ Stacks .
  2. Click Launch Stack .
  3. Choose the Template File from its location on your machine, then click Next .
  4. Provide the information required for the Heat engine to build your stack.
  5. Click Launch .

In the Stacks table, the status changes to Create complete when the deployment finishes.