Get in Touch

Course Outline

Salt Overview

  • The primary objectives of SaltStack
  • Architectural overview of remote execution
  • Understanding Salt states
  • Using Grains
  • Leveraging Pillar
  • Jinja2 templates and the virtual file system

Introduction to YAML

  • Literals and scalars
  • Sequences and mappings
  • Practical examples

Installation of Salt

  • Installation procedures on Ubuntu
  • Distinctions between salt-common, salt-minion, and salt-master
  • Installation on Amazon EC2

Salt Command Line Basics

  • Understanding the anatomy of a Salt command
  • Formatting output in JSON
  • Utilizing the jq tool

Targeting Minions

  • Globbing patterns
  • Regular expressions
  • List matching techniques
  • IP-based matching
  • Grains-based matching
  • Compound matching strategies
  • Examples and exercises

States

  • Package management
  • Service management
  • Executing Highstate
  • Utilizing Salt formulas
  • Exercises and examples

Templating

  • Introduction to Jinja2
  • For loops, variable assignments, and escaping characters
  • Implementing Jinja2 templating in Salt with examples

Pillar

  • Secure data storage
  • Example: Deploying VNC passwords

Extending Salt

  • Creating custom execution modules
  • Extending Salt configuration capabilities
  • Wrapping states around execution modules
  • Rendering data structures
  • Managing return data
  • Automation scripting with runners
  • Integrating external file servers
  • Connecting to cloud platforms
  • Monitoring systems using beacons
  • Scaling the master setup (multi-masters)

Other interesting SaltStack concepts

  • Managing environments
  • Orchestration workflows
  • Integration with Docker
  • Using Salt for Windows

Summary and Conclusion

Requirements

  • A foundational understanding of Unix/Linux administration is required to fully grasp the advanced topics covered in this course.
 21 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories