This template can be used to deploy a single server with every CLI-Clients you need to start working with the SysEleven Stack. It is meant as an alternative to install OpenStack Clients by hand on your local machine, which is documented here.
Prerequisites:
- You need a valid SSH public key that you can import as described here
- Navigate to Orchestration --> Stacks --> Launch Stack to start a template.
- Select "URL" in the Template Source select box.
- Paste the URL of the template into Template URL:
https://raw.githubusercontent.com/syseleven/heat-examples/master/kickstart/kickstart.yaml
- Don't change the field "Environment Source" and click "Next".
- Write "kickstart" into the field "Stackname".
- Write the name of the public SSH-Key as parameter "key_name"
- Now click "Launch".
After a couple of seconds you should see a new machine spawning under --> "Compute" --> "Instances".
Copy the IP address from "Floating IPs" and you should be ready to login via SSH.
ssh syseleven@< Floating IP > -A
The home directory has a prepared "openrc" file, which allows you to work with openstack endpoints. The required values can be found under Project --> API Access --> View Credentials.
Open it with a text editor of your choice.
syseleven@kickstart:~$ vim openrc
You just need to adjust OS_PROJECT_ID
, OS_USERNAME
and OS_PASSWORD
to the actual values.
To be able to use the command line tools just source the environment variables:
source openrc
Now you are ready to deploy any template from this repository or any other heat template. As a quick test we can list our currently running machines:
syselevenstack@kickstart:~$ openstack server list
+--------------------------------------+-----------+--------+--------------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+-----------+--------+--------------------------------------------+
| a54d0883-988b-4730-a533-2c91fc66c518 | kickstart | ACTIVE | kickstart-net=10.0.0.10, < Floating IP > |
+--------------------------------------+-----------+--------+--------------------------------------------+