O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Salt

Video Description

Build reliable, scalable, and secure infrastructures with Salt

About This Video

  • Leverage the power of Salt to build, manage and secure your infrastructure effectively

  • Gain proficiency with key skills to use commands and control the state of your infrastructure

  • Manage virtual servers on public or private clouds using Salt Cloud

  • In Detail

    SaltStack automates the management and configuration of any infrastructure or application at scale. It provides an arsenal of tools to execute commands across thousands of systems with ease.

    Learning Saltstack will start from scratch and build towards a high-level goal of installing, configuring, deploying, and managing a web application to Docker containers across multiple systems behind a HAProxy load balancer. The course will start by explaining how Salt approaches System management and help the viewer get up and running with a working Salt infrastructure. You will learn how to use Salt to target, query, and change systems.

    You will learn to define the desired state of your infrastrucrture and how you can use Salt to enforce the state with a single command. The course will dive deeper into YAML and Jinja and show you the best practices for writing reusable and maintainable states. Finally, you will learn about some of the additional tools that salt provides, including salt-cloud, the reactor, and the event system.

    By the end of the course, you would be able to build and manage your infrastructure and fully utilize its potential.

    Table of Contents

    1. Chapter 1 : Installation and Setup
      1. The Course Overview 00:02:02
      2. The Philosophy of Salt 00:03:00
      3. How Salt Communicates? 00:07:15
      4. Installing Salt 00:05:19
      5. Configuring Salt 00:09:56
      6. Key Acceptance and Encryption 00:09:10
    2. Chapter 2 : Execution Modules
      1. Targeting Minions 00:10:20
      2. Execution Module Basics 00:14:06
      3. Common Execution Modules 00:16:26
      4. Call from Master or Minions 00:10:18
    3. Chapter 3 : The State of an Infrastructure
      1. The Philosophy of Salt's State System 00:06:06
      2. Our First State 00:14:22
      3. Dissect State Functions 00:11:35
      4. Execution Flow of a State Run 00:07:13
      5. Debugging States 00:05:17
    4. Chapter 4 : Expanding States with Jinja and Pillar
      1. Introduction to YAML, Jinja, and Other Renderers 00:05:26
      2. How to Write Reusable States? 00:12:36
      3. How to Write Maintainable States? 00:17:39
      4. YAML and Jinja Best Practices and Gotchas 00:05:36
      5. Configuring States Using Pillar 00:20:11
      6. Learning Salt Formulas 00:09:10
      7. Debugging Jinja 00:05:36
    5. Chapter 5 : Complex State Trees
      1. Glue SLS Files Together 00:09:48
      2. Defining, Enforcing, and Debugging Execution Orders 00:16:14
      3. Conditional and Branching Logic During a State Run 00:13:17
      4. Debugging a State Run 00:09:54
      5. Sharing Data between Systems with Salt Mine 00:06:43
      6. Using Salt Orchestrate to Manage Complex State Runs 00:09:00
    6. Chapter 6 : Events and the Reactor
      1. An Overview of Salt's Event Bus 00:05:19
      2. Sending Custom Events 00:06:22
      3. Listening to Events and Trigger Actions with Salt's Reactor 00:12:04
      4. Integrating Salt with External Tools Using Events 00:05:33
      5. Sending Events Using Beacon Modules 00:09:46
      6. How to Debug the Reactor and Best Practices? 00:04:54
    7. Chapter 7 : The Salt REST API
      1. Installing and Configuring Salt-API 00:13:34
      2. Exploring rest_cherrypy 00:14:47
      3. More rest_cherrypy Features 00:15:05
      4. Using Salt-API to Integrate with External Systems 00:10:23
      5. Wrapping Up and Further Scope 00:03:15