Salt Air 27 – SaltStack event-driven automation

January 28, 2019 - Thomas Hatch
Salt Air
Salt Air

Other System Management Tools

Event-driven automation is one reason why SaltStack is unique and different compared to other systems management tools. I get out the whiteboard to explain the design of SaltStack event-driven architecture and share a few use cases that leverage the SaltStack Reactor and Beacons system. Watch this Salt Air episode to learn why SaltStack is intelligent IT automation and event-driven automation.

“Welcome to another episode of Salt Air. My name is Tom Hatch the creator of Salt and the CTO of SaltStack. In this episode I want to talk about the reactor system in a little more depth. I’ve talked before about how Salt has beacons and reactors, but the question arises, what do we do with these reactors and what sort of concepts do they expose? Now when I’m working with a master at a minion there are a lot of different options that I have around these reactors. The first one I want to talk about is orchestration. Now when we look at orchestrated complex routines typically the way in which we think about these complex routines is linear in fashion. We want to be able to say, we do step one, then we do step two, and down the line. The reality is, is that while this works just fine to say ”set up a blog web site” more complicated infrastructure can have some real problems, if anything just scaling and waiting for a linear orchestration routine to run. This is where event-driven orchestration can come in. It’s easy to be able to use our single event reactor to set up listeners for specific events, so that when when this stage completes we can have that reactor fire a new command down to whoever’s next inside of the orchestration routine. The nice thing about this approach is that it doesn’t have to be linear, therefore, event-driven I don’t have to go down that list of commands instead it’s easy for me to say that I can have these operations run in parallel and then these follow-on operations run afterwards. We can set up a truly distributed orchestration system. Having that distributed registration system, well it means that, you’re able to scale. It means that you really get things done quicker and so that’s an orchestration paradigm…” – Thomas Hatch

Watch Salt Air on: YouTube

Listen to Salt Air on: SoundCloud | Spotify | iTunes