Salt Cloud - Install

28/11/2017, from install the minion as follows:

curl -L -o
sudo sh -P

04/04/2017, I followed the instructions in Salt-Cloud to Spin Up DigitalOcean Resources which uses salt-cloud on the master. This worked very nicely.

See Digital Ocean for instructions.


The following notes are the old instructions.


These instructions should install version 2015.8.3 (Beryllium)

Install dependencies:

sudo apt-get install build-essential python-m2crypto sshpass python-software-properties

If the instructions above do not install version 2015.8.3, then try this:

sudo -i
# 14.04
wget -O - | sudo apt-key add -
# 16.04
wget -O - | sudo apt-key add -

Add the following line to /etc/apt/sources.list:

vim /etc/apt/sources.list
# 14.04
deb trusty main
# 16.04
deb xenial main

sudo apt update
sudo apt install salt-cloud

Configuration files


The configuration files are kept securely and should never be copied to a public repository e.g. DropBox, GitHub or BitBucket


Replace patrick with your User Name (Checklist)


Replace yb with your Company Abbreviation (Checklist)

sudo -i
cd /etc/salt/cloud.profiles.d/
sudo ln -s /home/patrick/repo/dev/module/deploy/salt-cloud/yb.profiles.conf .
cd /etc/salt/cloud.providers.d/
sudo ln -s /home/patrick/repo/dev/module/deploy/salt-cloud/yb.providers.conf .

Create a Server

You can now follow the appropriate instructions for creating your own cloud server: