SaltStack is known as a popular configuration management system, but that barely scratches the surface. It is, in fact, a powerful automation suite, which is designed not only to help you manage your servers, but to help them manage themselves. SaltStack is used worldwide by organizations ranging from just a few servers, to tens of thousands of nodes across data centers in multiple continents. This award-winning software is fast becoming the standard for systems management in the cloud world.
This book will take you through the advanced features of SaltStack, bringing forward capabilities that will help you excel in the management of your servers.
You will be taken through the the mind of the modern systems engineer, and discover how they use Salt to manage their infrastructures, and why those design decisions are so important. The inner workings of Salt will be explored, so that as you advance your knowledge of Salt, you will be able to swim with the current, rather than against it.
Various subsystems of Salt are explained in detail, including Salt SSH, Salt Cloud, and external pillars, filesystems, and job caches.
You will be taken through an in-depth discussion of how to effectively scale Salt to manage thousands of machines, and how to troubleshoot issues when things don't go exactly the way you expect them to.
You will also be taken through an overview of RAET, Salt's new transport protocol, and given an insight into how this technology improves Salt, and the possibilities that it brings with it.What You Will LearnLearn how the pros are managing their infrastructures, and what techniques they use to keep everything running smoothly with SaltUnderstand what makes Salt tick, and how that affects the way you use itTake a look at familiar features in a new light, so that you have a better handle on how to approach tasksUse Salt SSH to manage servers that don't fit Salt's traditional use casesBesides automating your configuration, you will be able to automate your servers, and make them behave more intelligentlyMake better use of cloud-based services, including compute clouds such as EC2, Azure and OpenstackLearn about the new RAET protocol, and how it changes the way automation worksWho This Book Is For
This book is ideal for professionals who have been managing groups of servers, and want to learn how to add functionality and expand their tool set. This book will also explain some of the more advanced features of Salt, and explore how to use them to bring additional power to the fundamentals that the professionals have already been using.Style and approach
This book speaks informally, sometimes almost conversationally, to the user. Topics are covered in detail, using examples that should be comfortable to most users.
This book is for both new and existing Salt developers who are looking to build and write new Salt modules. Some prior Python development experience is expected.What You Will LearnUnderstand the working of Salt's Loader systemWrite several of the most common types of Salt modulesInteract between different kinds of modules and build new onesSubmit open source modules upstream to the Salt projectMake Salt interact with third-party services and applicationsIn Detail
Salt already ships with a very powerful set of tools, but that doesn't mean that they all suit your needs perfectly. By adding your own modules and enhancing existing ones, you can bring the functionality that you need to increase your productivity. Extending SaltStack follows a tutorial-based approach to explain different types of modules, from fundamentals to complete and full-functioning modules.
Starting with the Loader system that drives Salt, this book will guide you through the most common types of modules. First you will learn how to write execution modules. Then you will extend the configuration using the grain, pillar, and SDB modules. Next up will be state modules and then the renderers that can be used with them. This will be followed with returner and output modules, which increase your options to manage return data. After that, there will be modules for external file servers, clouds, beacons, and finally external authentication and wheel modules to manage the master.
With this guide in hand, you will be prepared to create, troubleshoot, and manage the most common types of Salt modules and take your infrastructure to new heights!Style and approach
This book follows a step-by-step tutorial-based approach explaining the different types of modules, from fundamentals to complete and full-functioning modules.