🚧 This platform open-source and is in early development. We welcome feature requests and pull requests! 🚀
Managing Linux in Real Time with SaltStack
In this episode, joined by my colleague Edward Vielmetti, we go through the installation and configuration of a SaltStack cluster for managing a heterogeneous collection of systems.SaltStack (often referred to as just Salt) is Python-based, open-source software for event-driven IT automation, remote task execution, and configuration management. Supporting the "Infrastructure as Code" approach to data center system and network deployment and management, configuration automation, SecOps orchestration, vulnerability remediation, and hybrid cloud control. 🕰 Timeline00:00 - Holding Screen02:00 - Introductions05:00 - Deploying a heterogeneous cluster (Machines and OS) with SaltStack on Packet’s bare metal with Pulumi and TypeScript17:30 - Extending SaltStack with Packet’s metadata as grains18:30 - Covering SaltStack’s Vocabulary: Grains and Pillars22:30 - Binding SaltStack to the private IPv4 address24:00 - Ed has a cool use-case for Tailscale, connecting his SaltStack nodes over disparate private networks26:30 - Connecting to our SaltStack master / Checking it works!28:00 - Approving our first minion key29:20 - Oops! Our provisioning on the CentOS machine failed. Lets fix it (Fuck you, Python 2)37:00 - Introduction to SaltStack CLI38:20 - Executing remote commands on minions39:00 - Targeting minions40:00 - Querying grains52:00 - Fixing the Ubuntu machine (Fuck you, Python 2)56:10 - SaltStack communication method. Spoiler: event driven through zero-mq58:40 - Python / wheel on Arm needs compiled, so it’s a bit slower.59:30 - Installing software to our minions through SaltStack’s package module1:07:00 - Looking at state modules1:09:00 - Writing our first state using the cron state module1:13:00 - Running a single state from the file root1:14:00 - Adding the file state module to our first state: creating a directory and writing a file1:26:45 - Provisioning all our machines with SSH keys from our custom grain data💁🏻♂️ Want some help?💬 Leave a comment🐦 Ping me on Twitter - https://twitter.com/rawkode📆 Schedule some time during my office-hours - https://rawko.de/office-hours🌎 LinksEdward Vielmetti - https://twitter.com/w8emvSaltStack - https://saltstack.comPacket - https://packet.com