An introduction to SaltStack (1/4)

An introduction to SaltStack (1/4)

Introduction to SaltStack

SaltStack is an Infrastructure Management-, Configuration Management- and Automated Provisioning system. It contains a number of different components. Some of those components will be explained below. Someone can define states and formulas within salt and have them automatically provisioned.

What are states?

States (and by extension state files) are a way to express certain states that a machine needs to be in. An example would be if you want to make sure that Nginx is installed:


This state, when run, will check if Nginx has been installed, and if it is not installed will install it for you.

What are formulas?

Formulas are collections of states in one or multiple files. Most often they are designed to work together. A lot of formulas can be found on Github:

What are modules?

Modules are components of salt. These can be responsible for varying things including package- and file management.

What is salt-cloud?

Within SaltStack, salt-cloud is a separate binary provided to manage Cloud servers and providers. Most often, it is used to create and manage new cloud instances. In the next tutorial we will install salt on our master server.

Was this article helpful?

Next article:

How to configure SaltStack to provision instances (2/4)

How to deploy a web cluster using SaltStack In this part of this tutorial series we’ll walk you through the process of installing salt-stack (salt-cloud) on a Fuga instance. This will be done using the Clouds.yaml file. Getting started: installing SaltStack on the saltmaster First, you will need a single instance (we typically call it the saltmaster) on the Fuga Openstack Platform. To create this instance please refer to the dedicated tutorials: Create a cloud instance and use Ubuntu 18.

Improved performance and more features


Start NOW! More information