1 heat_template_version: 2014-10-16
3 description: template to deploy a instance used for bottlenecks project
8 label: Image name or ID
9 description: Image to be used for deploying instance
10 default: your_image_name
14 description: Type of instance (flavor) to be used
19 description: Name of key-pair to be used for deploying instance
23 label: Public network name or ID
24 description: Network to attach instance to.
25 default: your_public_net
28 web_server_security_group:
29 type: OS::Neutron::SecurityGroup
31 name: web_server_security_group
44 type: OS::Neutron::Net
47 type: OS::Neutron::Subnet
49 network_id: {get_resource: private_network }
50 cidr: 10.10.10.0/24 #change it according to your own requirement
55 type: OS::Neutron::Router
57 external_gateway_info:
58 network: { get_param: public_network }
61 type: OS::Neutron::RouterInterface
63 router_id: { get_resource: router }
64 subnet: { get_resource: private_subnet }
67 type: OS::Neutron::FloatingIP
69 floating_network: { get_param: public_network }
72 type: OS::Neutron::FloatingIPAssociation
74 floatingip_id: { get_resource: floating_ip }
75 port_id: { get_resource: bottlenecks_port }
78 type: OS::Neutron::Port
80 network: { get_resource: private_network }
82 - { get_resource: web_server_security_group }
85 type: OS::Nova::Server
87 image: { get_param: image }
88 flavor: { get_param: flavor }
89 key_name: { get_param: key }
91 - port: { get_resource: bottlenecks_port }
100 description: Name of the instance
101 value: { get_attr: [bottlenecks_instance, name] }
103 description: IP address of the deployed instance
104 value: { get_attr: [floating_ip, floating_ip_address] }