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.
Whether you’re enabling a map, giving users directions, creating a game, recommending purchases, letting users check in, or creating an immersive experience, you’ll learn how iBeacons provide precise location information, empowering your applications to engage and interact with users nearby.Get examples of several application types you can build with iBeaconsLearn how iBeacons provide applications with proximity informationSet up, activate, and test iBeacons on both specialized and general-purpose hardwareExplore the APIs and tools you need to develop location-aware mobile applicationsUse built-in iOS features to interact with iBeacons, including PassbookBuild networks to help shoppers, travelers, conference attendees, and others find what they’re looking for
This book is aimed at System Administrators who are looking forward to manage their infrastructure using SaltStack with no prior knowledge about it.What You Will LearnInstall Salt on your serversRun commands on all or some of your minions instantly from a central managing serverWrite custom Salt modules to handle your infrastructure's unique needsDefine the state of your infrastructure and use Salt to enforce that state.Create platform-agnostic state definitions for greater flexibility and powerManage virtual servers on public or private clouds using Salt CloudUse the event system in Salt to create a reactive and self-healing infrastructureIn Detail
SaltStack is one of the best infrastructure management platforms available. It provides powerful tools for defining and enforcing the state of your infrastructure in a clear, concise way. With this book learn how to use these tools for your own infrastructure by understanding the core pieces of Salt.
In this book we will take you from the initial installation of Salt, through running their first commands, and then talk about extending Salt for individual use cases. From there you will explore the state system inside of Salt, learning to define the desired state of our infrastructure in such a way that Salt can enforce that state with a single command. Finally, you will learn about some of the additional tools that salt provides, including salt-cloud, the reactor, and the event system. Well finish by exploring how to get involved with salt and what's new in the salt community.
Finally, by the end of the book, you'll be able to build a reliable, scalable, secure, high-performance infrastructure and fully utilize the power of cloud computing.Style and approach
This will be a comprehensive guide on SaltStack along with installation and setting up of Salt on couple of platforms. Then enlightening the readers about remote execution system and configuration management system and ending with concepts of security and best practices.