Salt Air 3 – Salt Reactor and Salty Vagrant

November 30, 2012 - Thomas Hatch
This image has an empty alt attribute; its file name is Salt_Air.width-800.png

Tom discusses the Salt Reactor system as a way to automate the systems execution routines based on event inputs. Tom also highlights the Salty Vagrant project for integrating Salt deployments with the Vagrant virtual machine system. And as always, more love for the Salt community.

“Welcome to the third installment of the Salt Air series. I’m really excited about what we’re going to be talking about this week. We’re going to talk about some of the new advancements that we’ve had inside of Salt. Over the last couple of weeks, it’s been two weeks since I’ve seen everybody but, we have a lot of exciting things to report. We’re going to be talking about the new reactor system that’s coming in 10.6, talking about how it works, why it works, what it does, and what you can use it for. We’re going to talk a little bit about a few of the other features that are up and coming. We’re also going to go in and talk about the Salty Vagrant project. Alec and all of the work that he’s done with respect to Salty Vagrant. Let’s get started with Salt Air! Let’s see if I can share my desktop without going dark again, like I did last time. Salt Air 3 the reactor system. This is something that I’m really excited about. This is something that I wanted to get in the works and have running for quite some time. this is the idea that executions and events can do a full circle. This is the idea that something that occurs in your infrastructure can cause automated reactions to take place. Whether those reactions are as benign as just sending an alert to somebody or as aggressive as spinning up new virtual machines, modifying systems. For instance, let’s say that we get an alert because Salt is detected that a system has been hacked. The reactor system will be able to react and execute routines on the hack system to bring it down and isolate the problem quickly. Let’s say that we wanted the Salt system to spit up more virtual machines. If the load was getting too high, we can program these sorts of pieces of behavior into the reactor system. Let’s talk a little bit about how it works. For awhile, Salt has had the event system, which allows a minion to fire an event back up on the master. Salt has also had the ability, obviously for a very longtime, to do configuration management and remote execution. Why don’t we tie these pieces together. The reactor system allows you to configure another process to run on the master that listens to the Masters event bus, watches for certain events, and then when those events are fired you have the option to execute a lot more logic and determine whether or not and what exactly you want to do as a reaction…” – Thomas Hatch

View the video below for the full episode of Salt Air 3 – Salt Reactor and Salty Vagrant (automate system execution)

Watch Salt Air on: YouTube

Listen to Salt Air on: SoundCloud | Spotify | iTunes