Mastering SaltStack - Second Edition

Take charge of SaltStack to automate and configure your enterprise-grade environments
Preview in Mapt
Code Files

Mastering SaltStack - Second Edition

Joseph Hall

Take charge of SaltStack to automate and configure your enterprise-grade environments
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
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.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering SaltStack - Second Edition Book Cover
Mastering SaltStack - Second Edition
$ 39.99
$ 28.00
OpenStack Administration with Ansible 2 - Second Edition Book Cover
OpenStack Administration with Ansible 2 - Second Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781786467393
Paperback378 pages

Book Description

SaltStack is a powerful configuration management and automation suite designed to manage servers and tens of thousands of nodes. This book showcases Salt as a very powerful automation framework. We will review the fundamental concepts to get you in the right frame of mind, and then explore Salt in much greater depth. You will explore Salt SSH as a powerful tool and take Salt Cloud to the next level. Next, you’ll master using Salt services with ease in your infrastructure. You will discover methods and strategies to scale your infrastructure properly. You will also learn how to use Salt as a powerful monitoring tool.

By the end of this book, you will have learned troubleshooting tips and best practices to make the entire process of using Salt pain-free and easy.

Table of Contents

Chapter 1: Essentials Revisited
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: Managing States
Handling multiple states
Spanning multiple environments
Understanding master_tops
Using Salt Stack Formulas on GitHub
Using the Salt Package Manager
Summary
Chapter 4: Exploring Salt SSH
Grappling with SSH
Using rosters
Understanding the salt-thin agent
Using the raw SSH mode
Summary
Chapter 5: Managing Tasks Asynchronously
Looking at the event system
Building reactors
Using Thorium
Using the queue system
Summary
Chapter 6: Taking Advantage of Salt Information Systems
Understanding pillar_roots
Using Salt's external pillars
Understanding SDB
Comparing pillars and SDB
Summary
Chapter 7: Taking Salt Cloud to the Next Level
Examining the Salt Cloud configuration
Using SDB with Salt Cloud
Building custom deploy scripts
Taking a look at cloud maps
Using reactors with Salt Cloud
Working with autoscale reactors
Summary
Chapter 8: Using Salt with REST
Looking at Salt's HTTP library
Understanding the Salt API
Working with webhooks
Summary
Chapter 9: Understanding the RAET and TCP Transports
Comparing RAET and ZeroMQ
Flow-based programming
Driving with RAET
Looking at asynchronous programming
Examining the TCP transport
Using the TCP transport
Summary
Chapter 10: Strategies for Scaling
All about syndication
High availability with multiple masters
Incorporating external data sources
Using the master API
Testing the load in the infrastructure
Summary
Chapter 11: Monitoring with Salt
Monitoring basics
Monitoring with returners
Using monitoring states
Working with beacons
Setting up alerts
Using aggregate data with Thorium
Summary
Chapter 12: Exploring Best Practices
Future-proofing your infrastructure
Setting up your directories
The SLS efficiency
Naming conventions
Templates and variables
Summary
Chapter 13: Troubleshooting Problems
What the...?
Using salt-call locally
Working with YAML
Asking the community for help
Summary

What You Will Learn

  • Automate tasks effectively, so that your infrastructure can run itself
  • Start building more complex concepts
  • Master user-level internals
  • Build scaling strategies
  • Explore monitoring strategies
  • Learn how to troubleshoot Salt and its subcomponents
  • Explore best practices for Salt

Authors

Table of Contents

Chapter 1: Essentials Revisited
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: Managing States
Handling multiple states
Spanning multiple environments
Understanding master_tops
Using Salt Stack Formulas on GitHub
Using the Salt Package Manager
Summary
Chapter 4: Exploring Salt SSH
Grappling with SSH
Using rosters
Understanding the salt-thin agent
Using the raw SSH mode
Summary
Chapter 5: Managing Tasks Asynchronously
Looking at the event system
Building reactors
Using Thorium
Using the queue system
Summary
Chapter 6: Taking Advantage of Salt Information Systems
Understanding pillar_roots
Using Salt's external pillars
Understanding SDB
Comparing pillars and SDB
Summary
Chapter 7: Taking Salt Cloud to the Next Level
Examining the Salt Cloud configuration
Using SDB with Salt Cloud
Building custom deploy scripts
Taking a look at cloud maps
Using reactors with Salt Cloud
Working with autoscale reactors
Summary
Chapter 8: Using Salt with REST
Looking at Salt's HTTP library
Understanding the Salt API
Working with webhooks
Summary
Chapter 9: Understanding the RAET and TCP Transports
Comparing RAET and ZeroMQ
Flow-based programming
Driving with RAET
Looking at asynchronous programming
Examining the TCP transport
Using the TCP transport
Summary
Chapter 10: Strategies for Scaling
All about syndication
High availability with multiple masters
Incorporating external data sources
Using the master API
Testing the load in the infrastructure
Summary
Chapter 11: Monitoring with Salt
Monitoring basics
Monitoring with returners
Using monitoring states
Working with beacons
Setting up alerts
Using aggregate data with Thorium
Summary
Chapter 12: Exploring Best Practices
Future-proofing your infrastructure
Setting up your directories
The SLS efficiency
Naming conventions
Templates and variables
Summary
Chapter 13: Troubleshooting Problems
What the...?
Using salt-call locally
Working with YAML
Asking the community for help
Summary

Book Details

ISBN 139781786467393
Paperback378 pages
Read More

Read More Reviews

Recommended for You

OpenStack Administration with Ansible 2 - Second Edition Book Cover
OpenStack Administration with Ansible 2 - Second Edition
$ 31.99
$ 22.40
Python: Journey from Novice to Expert Book Cover
Python: Journey from Novice to Expert
$ 69.99
$ 49.00
SELinux System Administration - Second Edition Book Cover
SELinux System Administration - Second Edition
$ 39.99
$ 28.00
Python: Master the Art of Design Patterns Book Cover
Python: Master the Art of Design Patterns
$ 67.99
$ 47.60
Native Docker Clustering with Swarm Book Cover
Native Docker Clustering with Swarm
$ 35.99
$ 25.20
Developing with Docker Book Cover
Developing with Docker
$ 35.99
$ 25.20