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 management and file management.

What is salt-cloud

salt-cloud is a separate binary provided with SaltStack to manage Cloud servers and providers. it is used most often to create and manage new cloud instances. Next we will install salt on our master server. Follow us to the next tutorial!

Was this article helpful?

Next article:

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

How to deploy a web cluster using SaltStack Getting started: installing SaltStack on the salt master First, you will need a single instance (we typically call it the saltmaster) on the Cyso Openstack Platform. The saltmaster needs to be able to reach the internal (private) IP addresses of the new instances. To install this VM, please follow the tutorials at Create a cloud instance and use Ubuntu when you select an image.

Improved performance and more features



Test it for FREE! More information