Learning SaltStack

Learn how to manage your infrastructure by utilizing the power of SaltStack

Learning SaltStack

This ebook is included in a Mapt subscription
Colton Myers

1 customer reviews
Learn how to manage your infrastructure by utilizing the power of SaltStack
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781784394608
Paperback174 pages

Book Description

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.

This book will start with the installation and setup of Salt along with your first commands, and will take you through all the tools you'll need to manage your infrastructure. You'll learn how to use SaltStack's remote execution system to run commands across your whole infrastructure in seconds. Then, with SaltStack's configuration management system, you'll be able to define the state of your infrastructure in a reproducible, stable manner. You'll also learn a number of other tools that will allow you to create an adaptive, reactive, and self-healing infrastructure. 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.

Table of Contents

Chapter 1: Diving In – Our First Salt Commands
Introducing Salt
Installing Salt
Configuring Salt
A game of ping pong
Masterless Salt
Summary
Chapter 2: Controlling Your Minions with Remote Execution
The structure of a remote execution command
Summary
Chapter 3: Execution Modules – Write Your Own Solution
Exploring the source
An advanced example
Summary
Chapter 4: Defining the State of Your Infrastructure
Our first state
The pieces of a state declaration
Expanding to encompass multiple pieces of state
Dependencies using requisites
Summary
Chapter 5: Expanding Our States with Jinja2 and Pillar
Adding a new minion
Jinja2
Defining secure minion-specific data in pillar
Summary
Chapter 6: The Highstate and Environments
The highstate
Storing our states in Git with GitFS
Summary
Chapter 7: Using Salt Cloud to Manage Virtual Minions
Setting up Salt Cloud
Managing groups of VMs with map files
Summary
Chapter 8: The Reactor and the Event System
The Salt event system
Reacting to events
Summary

What You Will Learn

  • Install Salt on all of your servers
  • Run commands on all or some of your minions instantly from a central managing server
  • Write custom Salt modules to handle your infrastructure's unique needs
  • Define the state of your infrastructure and use Salt to enforce that state
  • Create platform-agnostic state definitions for greater flexibility and power
  • Manage virtual servers on public or private clouds using Salt Cloud
  • Use the event system in Salt to create a reactive and self-healing infrastructure

Authors

Table of Contents

Chapter 1: Diving In – Our First Salt Commands
Introducing Salt
Installing Salt
Configuring Salt
A game of ping pong
Masterless Salt
Summary
Chapter 2: Controlling Your Minions with Remote Execution
The structure of a remote execution command
Summary
Chapter 3: Execution Modules – Write Your Own Solution
Exploring the source
An advanced example
Summary
Chapter 4: Defining the State of Your Infrastructure
Our first state
The pieces of a state declaration
Expanding to encompass multiple pieces of state
Dependencies using requisites
Summary
Chapter 5: Expanding Our States with Jinja2 and Pillar
Adding a new minion
Jinja2
Defining secure minion-specific data in pillar
Summary
Chapter 6: The Highstate and Environments
The highstate
Storing our states in Git with GitFS
Summary
Chapter 7: Using Salt Cloud to Manage Virtual Minions
Setting up Salt Cloud
Managing groups of VMs with map files
Summary
Chapter 8: The Reactor and the Event System
The Salt event system
Reacting to events
Summary

Book Details

ISBN 139781784394608
Paperback174 pages
Read More
From 1 reviews

Read More Reviews