Learning SaltStack - Second Edition

Build, manage, and secure your infrastructure by utilizing the power of SaltStack

Learning SaltStack - Second Edition

Learning
Colton Myers

1 customer reviews
Build, manage, and secure your infrastructure by utilizing the power of SaltStack
$27.99
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Code Files
Preview in Mapt

Book Details

ISBN 139781785881909
Paperback202 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. 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.

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
Chapter 9: Security Best Practices in Salt
Securing Salt configuration
Key management
Firewall and network configuration
Summary
Chapter 10: How Can I Get Involved?
Contributing code using GitHub
Other ways to get involved
Summary

What You Will Learn

  • Install Salt on 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
Chapter 9: Security Best Practices in Salt
Securing Salt configuration
Key management
Firewall and network configuration
Summary
Chapter 10: How Can I Get Involved?
Contributing code using GitHub
Other ways to get involved
Summary

Book Details

ISBN 139781785881909
Paperback202 pages
Read More
From 1 reviews

Read More Reviews