Saltstack

These SaltStack tutorials will learn you how to provision instances and platforms on OpenStack by using SaltStack.

Get our tips, special offers and updates straight into your inbox

Improved performance and more features

BRAND NEW PLATFORM

Start NOW! More information
An introduction to SaltStack (1/4)
saltstack

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:
How to configure SaltStack to provision instances (2/4)
saltstack

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.
How to use SaltStack to install packages (3/4)
saltstack

How to use SaltStack to install packages (3/4)

Installing packages In this part of this tutorial series we’ll walk you through the process of installing packages using salt. The syntax of packages is as follows: nginx: pkg.latest Now, that is already a very simple syntax but what if you wanted to install a list of packages, all part of the same group of packages? Well, Salt has got you covered there as well. Let’s say you want a complete PHP Stack (Nginx, PHP5) - You can use the following syntax:
How to use SaltStack to manage Nginx and MySQL (4/4)
saltstack

How to use SaltStack to manage Nginx and MySQL (4/4)

In this tutorial we’ll show you how to make a very simple config for Nginx and MySQL. Creating a simple state file, and its needs for Nginx SaltStack makes managing vhosts and other configuration options very simple - Let’s start with a very basic example of managing a file with the following state file: Open the file: /srv/salt/vhosts/example.com.sls /etc/nginx/sites-available/www.example.com.conf: file: - managed - source: salt://files/templates/nginx.conf - template: jinja - context: - domain: example.

Improved performance and more features

BRAND NEW PLATFORM

Start NOW! More information