SaltStack Beginner to Advanced

SaltStack Tutorial for Beginners to Advanced

Learn SaltStack from scratch with step-by-step lessons covering states, pillar, orchestration, reactor, security, interview questions, and real-world projects.

13 Chapters
38 Lessons
17+ Hours
120+ Code Examples
15K+ Learners
96%

Completion Rate

4.9★

Rating

92%

Got Placed

What You'll Learn

  • Master and minion setup with remote execution
  • States, requisites, Jinja, grains and pillar
  • Reactor, beacons and orchestration workflows
  • Secure the master, harden and patch servers
  • Test Salt code and run it through CI/CD
  • Interview questions, projects and a 90-day roadmap

Prerequisites

  • No prior programming experience needed
  • Basic computer knowledge
  • A laptop with internet access
  • Enthusiasm to learn!

Tools & Setup

Salt 3008 LTS Master & Minion
salt-ssh, salt-api & Vault
Git, Linux VMs & VS Code

📖 Tutorial Chapters & Curriculum

Follow the structured learning path from beginner to advanced

1

What Is SaltStack? Architecture, Master and Minion, Salt Versions and When to Use It

1 Lessons 18 min Beginner
Understand what Salt does, how master and minions talk, and which Salt version to learn
2

Install Salt Master and Minion, Accept Keys and Run Your First Commands

2 Lessons 26 min Beginner
Set up a working Salt lab with one master and two minions and run the first commands
3

Targeting Minions: Globs, Lists, Grains, Compound Matchers, Nodegroups and Batch

3 Lessons 24 min Beginner
Choose exactly which machines run a command using many different matchers
4

Salt Execution Modules: pkg, service, file, cmd, user, network and the sys Helpers

4 Lessons 26 min Beginner
Learn the most useful remote execution functions and how to find and read their help
5

Salt Jobs, Job Cache, Returners, Event Return and Running Commands Asynchronously

5 Lessons 22 min Intermediate
Track, find and store the results of every job, and run long jobs without waiting
6

Salt SSH: Agentless Management with Roster Files, Targeting and Thin Packages

6 Lessons 20 min Intermediate
Use Salt over SSH on servers that have no minion installed
7

Salt States and SLS Files: Your First Package, File and Service State

7 Lessons 28 min Beginner
Write your first SLS files in YAML and apply them with state.apply
8

Requisites and Ordering: require, watch, onchanges, onlyif, unless, listen and prereq

8 Lessons 26 min Intermediate
Control the order of states and make services restart only when files change
9

Common Salt State Modules: user, group, cron, archive, git, sysctl, ssh_auth, mount and More

9 Lessons 26 min Intermediate
Meet the state modules you will use every week to manage a real server
10

Highstate and the Top File: Environments, saltenv, include, extend and Running Many States

10 Lessons 24 min Intermediate
Assign states to machines with top.sls and apply everything with highstate
11

Jinja in Salt: Variables, Grains, Pillar, Conditions and Loops in SLS Files

11 Lessons 28 min Intermediate
Make one SLS file work on many systems with Jinja templating
12

Jinja Templates for Files, Macros, Imports and the map.jinja Pattern

12 Lessons 26 min Intermediate
Generate config files from templates and keep OS differences in one place
13

YAML, Renderers and Data Structures: Writing Clean SLS, Other Renderers and Python SLS

13 Lessons 22 min Intermediate
Avoid YAML mistakes and know the other renderers, including pure Python SLS files
14

Salt Grains: Core Grains, Custom Grains, Static Grains and Dynamic Python Grains

14 Lessons 24 min Intermediate
Describe each minion with facts and create your own grains to drive targeting and states
15

Salt Pillar: Secure Data per Minion, Pillar Top File, Targeting and Overrides

15 Lessons 28 min Intermediate
Give each minion only the data it should see, and keep settings out of states
16

Pillar Secrets: GPG Renderer, Vault, SDB and Safe Password Handling in Salt

16 Lessons 24 min Advanced
Store passwords and keys safely in Git and on the master, and keep them out of logs
17

Writing a Salt Formula: Structure, init.sls, map.jinja, Pillar Defaults and clean.sls

17 Lessons 30 min Intermediate
Build a reusable formula that works on many operating systems and is easy to configure
18

Custom Salt Modules in Python: Execution Modules, State Modules, Utils and Salt Extensions

18 Lessons 28 min Advanced
Extend Salt with your own Python functions and states, and package them as extensions
19

gitfs and git_pillar: Keep States and Pillar in Git, Branches as Environments

19 Lessons 26 min Intermediate
Serve Salt states and pillar straight from Git with a safe review and deployment workflow
20

The Salt Event Bus and Reactor: Automatic Actions When Something Happens

20 Lessons 28 min Advanced
Listen to Salt events and run states or commands automatically with reactor SLS files
21

Beacons, the Schedule, Engines and Self-Healing: Watch Machines and Run Jobs on Time

21 Lessons 26 min Advanced
Detect problems on minions with beacons and run recurring jobs with the minion scheduler
22

Salt Orchestration: The orchestrate Runner for Multi-Step, Multi-Server Workflows

22 Lessons 28 min Advanced
Run steps in order across different machines, such as database first and then web servers
23

Salt on Windows: Install the Minion, Manage Software, Registry and Policy

23 Lessons 26 min Intermediate
Manage Windows servers with Salt: MSI install, packages, services, registry and local policy
24

Salt in the Cloud and Containers: Bootstrapping Minions, Salt Cloud and Image Builds

24 Lessons 28 min Intermediate
Create machines in the cloud, bootstrap minions automatically, bake images and manage Docker hosts
25

Securing the Salt Master: Keys, Network, Access Control, salt-api and Patching

25 Lessons 28 min Advanced
Protect the most powerful server in your fleet: network limits, user access, API safety and updates
26

Hardening Servers With Salt: SSH, Firewall, Users, Audit and Compliance Reports

26 Lessons 27 min Advanced
Apply a security baseline to every server and check it for drift using test mode
27

Test Salt Code Locally: salt-call --local, show_sls, test=True and Linting

27 Lessons 24 min Intermediate
Check your states for errors before they reach any real server
28

Integration Testing Salt in Containers: pytest, testinfra and Multi-Distro Checks

28 Lessons 26 min Advanced
Run your states in a disposable container and check that the result is correct and stable
29

CI/CD for Salt: Pull Requests, gitfs Deployment and Safe Rollouts

29 Lessons 25 min Advanced
Build a pipeline that tests every change and rolls it out to environments in a safe order
30

Troubleshooting Salt: Minion Not Responding, Debug Logs and Common Errors

30 Lessons 27 min Intermediate
A step-by-step method to find why a minion, a state or a pillar is not working
31

Scaling and Tuning Salt: worker_threads, Multi-Master, Syndic, Job Cache and Limits

31 Lessons 27 min Advanced
Keep Salt fast and reliable when you grow from tens to thousands of machines
32

Upgrading Salt Safely: LTS vs STS, the 3008 LTS Move, Repositories and Python 3.11

32 Lessons 25 min Intermediate
Understand Salt release types and move masters and minions to a supported version without surprises
33

Project 1: Build a Web Stack With Roles, Pillar and a Reusable Formula

33 Lessons 35 min Intermediate
Configure load balancer, web servers and a database from one Git repository using roles and pillar
34

Project 2: Gitfs, Environment Pillar and a Reactor That Configures New Servers Automatically

34 Lessons 33 min Advanced
Connect Git, environments and events so that a new server configures itself
35

Project 3: Patch, Harden and Report on a Fleet With Orchestration and Compliance Checks

35 Lessons 32 min Advanced
Roll out OS updates in safe waves, apply a security baseline and create a compliance report
36

Salt Interview Questions Part 1: Fundamentals, Targeting, States and Pillar

36 Lessons 30 min Beginner
Twenty-four common beginner and intermediate SaltStack interview questions with clear answers
37

Salt Interview Questions Part 2: Events, Orchestration, Security, Scaling and Scenarios

37 Lessons 32 min Advanced
Twenty-four advanced SaltStack interview questions with answers, plus real-world scenario questions
38

SaltStack Certification Guide, Cheat Sheet and a 90-Day Learning Roadmap

38 Lessons 28 min Beginner
What certifications exist, how to prove your skills, a command cheat sheet and a study plan
📊 Your Progress
0%

Not Started Yet

0 / 38Lessons Done
0 / 13Chapters
Start Chapter 1
🚀 Learn Faster with Live Classes

Get expert mentorship, doubt solving & placement support.

Enroll Now

🎯 Interview Preparation

Top Python interview questions organized by difficulty

Easy 70 Questions

Freshers / Entry Level

  • Explain Master-Minion Communication in SaltStack with examples and enterprise production considerations. (Q1)
  • Explain ZeroMQ in Salt in SaltStack with examples and enterprise production considerations. (Q2)
  • Explain Salt Execution Modules in SaltStack with examples and enterprise production considerations. (Q3)
  • Explain Salt States in SaltStack with examples and enterprise production considerations. (Q4)
  • Explain SLS Files in SaltStack with examples and enterprise production considerations. (Q5)
View All 70 Questions →
Medium 90 Questions

Experienced / Mid-Level

  • Explain State Compilation in SaltStack with examples and enterprise production considerations. (Q71)
  • Explain Remote Execution in SaltStack with examples and enterprise production considerations. (Q72)
  • Explain Parallel Execution in SaltStack with examples and enterprise production considerations. (Q73)
  • Explain Salt Proxy Minions in SaltStack with examples and enterprise production considerations. (Q74)
  • Explain Salt API in SaltStack with examples and enterprise production considerations. (Q75)
View All 90 Questions →
Hard 60 Questions

Senior / Lead Level

  • Explain Master-Minion Communication in SaltStack with examples and enterprise production considerations. (Q161)
  • Explain ZeroMQ in Salt in SaltStack with examples and enterprise production considerations. (Q162)
  • Explain Salt Execution Modules in SaltStack with examples and enterprise production considerations. (Q163)
  • Explain Salt States in SaltStack with examples and enterprise production considerations. (Q164)
  • Explain SLS Files in SaltStack with examples and enterprise production considerations. (Q165)
View All 60 Questions →

What People Say

Testimonial

Nagmani Solanki

Digital Marketing

Edugators platform is the best place to learn live classes, and live projects by which you can understand easily and have excellent customer service.

Testimonial

Saurabh Arya

Full Stack Developer

It was a very good experience. Edugators and the instructor worked with us through the whole process to ensure we received the best training solution for our needs.

testimonial

Praveen Madhukar

Web Design

I would definitely recommend taking courses from Edugators. The instructors are very knowledgeable, receptive to questions and willing to go out of the way to help you.

Need To Train Your Corporate Team ?

Customized Corporate Training Programs and Developing Skills For Project Success.

Google AdWords Training
React Training
Angular Training
Node.js Training
AWS Training
DevOps Training
Python Training
Hadoop Training
Photoshop Training
CorelDraw Training
.NET Training

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators