Salt Cloud - Install

Create Server

Login as root using the IP address or domain name:

sudo -i -u root
ssh the.server.ip.address

Install Salt


To install, see Malcolm’s comments here:



Be sure to click the PY3 tab (not PY2)!

Run the following command to import the SaltStack repository:

For Ubuntu 22.04:

mkdir /etc/apt/keyrings
sudo curl -fsSL -o /usr/share/keyrings/salt-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] focal main" | sudo tee /etc/apt/sources.list.d/salt.list


I think the repo for 22.04 has been removed, so we are using 20.04.

For earlier versions:

sudo curl -fsSL -o /usr/share/keyrings/salt-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] focal main" | sudo tee /etc/apt/sources.list.d/salt.list


If you get the following error: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘xxx’ doesn’t support architecture ‘i386’ then add arch=amd64 to the options e.g. deb [arch=amd64 signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] https...

Next Steps

  1. To setup a Salt Master

  2. To setup a Minion, Salt - Provision

Legacy Notes

Salt Cloud - Install (Legacy Notes)