Mastering SaltStack

Take charge of SaltStack to automate and configure enterprise-grade environments

Mastering SaltStack

Joseph Hall

1 customer reviews
Take charge of SaltStack to automate and configure enterprise-grade environments
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781785282164
Paperback306 pages

Book Description

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.

Table of Contents

Chapter 1: Reviewing a Few Essentials
Executing commands remotely
SLS file trees
Using States for configuration management
The basics of Grains, Pillars, and templates
Summary
Chapter 2: Diving into Salt Internals
Understanding the Salt configuration
The Renderer
Understanding the Loader
Plunging into the State compiler
Summary
Chapter 3: Exploring Salt SSH
Grappling with SSH
Using rosters
Understanding the salt-thin agent
Using the raw SSH mode
Summary
Chapter 4: Managing Tasks Asynchronously
Looking at the event system
Building Reactors
Using the queue system
Summary
Chapter 5: Taking Salt Cloud to the Next Level
Examining the Salt Cloud configuration
Building custom deploy scripts
Taking a look at cloud maps
Working with autoscale Reactors
Summary
Chapter 6: Using Salt with REST
Looking at Salt's HTTP library
Understanding Salt API
Working with webhooks
Summary
Chapter 7: Understanding the RAET Protocol
Comparing RAET and ZeroMQ
Flow-based programming
Driving with RAET
Summary
Chapter 8: Strategies for Scaling
All about syndication
High availability with multiple Masters
Incorporating external data sources
Using the Master API
Testing load in the infrastructure
Summary
Chapter 9: Monitoring with Salt
Monitoring basics
Monitoring with Returners
Using monitoring states
Working with beacons
Setting up alerts
Summary
Chapter 10: Exploring Best Practices
Future-proofing your infrastructure
Setting up your directories
The SLS efficiency
Naming conventions
Templates and variables
Summary
Chapter 11: Troubleshooting Problems
What the…?
Using salt-call locally
Working with YAML
Asking the community for help
Summary

What You Will Learn

  • Learn how the pros are managing their infrastructures, and what techniques they use to keep everything running smoothly with Salt
  • Understand what makes Salt tick, and how that affects the way you use it
  • Take a look at familiar features in a new light, so that you have a better handle on how to approach tasks
  • Use Salt SSH to manage servers that don't fit Salt's traditional use cases
  • Besides automating your configuration, you will be able to automate your servers, and make them behave more intelligently
  • Make better use of cloud-based services, including compute clouds such as EC2, Azure and Openstack
  • Learn about the new RAET protocol, and how it changes the way automation works

Authors

Table of Contents

Chapter 1: Reviewing a Few Essentials
Executing commands remotely
SLS file trees
Using States for configuration management
The basics of Grains, Pillars, and templates
Summary
Chapter 2: Diving into Salt Internals
Understanding the Salt configuration
The Renderer
Understanding the Loader
Plunging into the State compiler
Summary
Chapter 3: Exploring Salt SSH
Grappling with SSH
Using rosters
Understanding the salt-thin agent
Using the raw SSH mode
Summary
Chapter 4: Managing Tasks Asynchronously
Looking at the event system
Building Reactors
Using the queue system
Summary
Chapter 5: Taking Salt Cloud to the Next Level
Examining the Salt Cloud configuration
Building custom deploy scripts
Taking a look at cloud maps
Working with autoscale Reactors
Summary
Chapter 6: Using Salt with REST
Looking at Salt's HTTP library
Understanding Salt API
Working with webhooks
Summary
Chapter 7: Understanding the RAET Protocol
Comparing RAET and ZeroMQ
Flow-based programming
Driving with RAET
Summary
Chapter 8: Strategies for Scaling
All about syndication
High availability with multiple Masters
Incorporating external data sources
Using the Master API
Testing load in the infrastructure
Summary
Chapter 9: Monitoring with Salt
Monitoring basics
Monitoring with Returners
Using monitoring states
Working with beacons
Setting up alerts
Summary
Chapter 10: Exploring Best Practices
Future-proofing your infrastructure
Setting up your directories
The SLS efficiency
Naming conventions
Templates and variables
Summary
Chapter 11: Troubleshooting Problems
What the…?
Using salt-call locally
Working with YAML
Asking the community for help
Summary

Book Details

ISBN 139781785282164
Paperback306 pages
Read More
From 1 reviews

Read More Reviews