Heat Template to deploy Ambari on a Cloud Server
- A Heat provider that supports the following:
- OS::Nova::KeyPair
- OS::Nova::Server
- An OpenStack username, password, and tenant id.
- python-heatclient
>= v0.2.8
:
pip install python-heatclient
We recommend installing the client within a Python virtual environment.
Parameters can be replaced with your own values when standing up a stack. Use
the -P
flag to specify a custom parameter.
flavor
: (Default: 1 GB Performance)image
: (Default: Ubuntu 14.04 LTS (Trusty Tahr))server_name
: (Default: linux-server)
Once a stack comes online, use heat output-list
to see all available outputs.
Use heat output-show <OUTPUT NAME>
to get the value of a specific output.
private_key
: SSH Private Keyserver_ip
: Server IP
For multi-line values, the response will come in an escaped form. To get rid of
the escapes, use echo -e '<STRING>' > file.txt
. For vim users, a substitution
can be done within a file using %s/\\n/\r/g
.