SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Introduction To SaltStack
About Me
- Linux/Web engineer
- Evolved as a DevOps
- Author of “SaltStack For
DevOps”
- Founder of DevOpsLinks
- My blog : eon01.com/blog
- Follow me : @eon01
Configuration Management & Data Center
Automation
● Mechanisms to manage the technical description of a system
● Source code deployments on multiple environments requires a configuration management and
provisioning tool.
● With the adoption of agile development methods, the process of development, test and
deployment of a software component has accelerated and therefore the methods of
management have become faster, more automated and more adapted to changes
● Automation is important to the success of critical IT processes that are part of the life cycle of a
product, including provision, change management, release management, patch management,
compliance and security.
DevOps
SaltStack
● SaltStack fundamentally improves the way system administrators, integrators and DevOps use
to configure and manage all aspects of a modern data center infrastructure.
● It is built on a platform running relatively fast while allowing remote control of distributed
infrastructures, code and data.
● The infrastructure to manage can be virtual machines, cloud (Amazon EC2 instances,
Rackspace ..etc) or physical machines as well hosted applications and platforms that rely on
configuration files.
● You can use Salt installed on an operating system to manage other systems (A Linux to manage
a Solaris or a BSD to manage a Windows ... etc.).
A Brief Summary
• One or more “salt-master”, “salt-minion” and “salt-syndic”
• A key management system “salt-key” that allows the authentication of a “salt-minion” on a
“salt-master”
• A system of “states” to describe the configurations
• A “top.sls” that calls the “states”
• A system of “grain” on the minion to manage the configurations data
• A system of “pillars” to store other data on the master (such as confidential data)
• A transport and data management system called “ZeroMQ”
• An event management system called “reactors” “returners”, “outputters” ..etc
Installation
● If your server has Internet access, this shell script will be convenient to automate the installation
of the stable version:
wget -O - http://bootstrap.saltstack.org | sudo sh
● You can also install the latest version on git (development version):
curl -L https://bootstrap.saltstack.com -o install_salt.sh
sudo sh install_salt.sh git develop
● Salt is made of master and slave typically masters and minions.
● In the jargon used by the editor, a master is “salt-master” and a minion is a “salt-minion”. A
syndic called “salt-syndic” is part of the package and its role consists of connecting masters.
Troubleshooting
Before launching the master and the minion(s), a list of prerequisites should be checked:
• All of your salt-master and salt-minon are installed with the with satisfied dependencies
• Python version is compatible with the version of Saltstack salt-master and salt-minion should
be running with the root user
• Communication and execution ports are well configured and opened
• The configuration of any firewall between a master and a minion should be taken into account
(Example : check your iptables).
● Troubleshooting salt-master
● Troubleshooting salt-minion
● Troubleshooting ports
● Troubleshooting using salt-call
Basic Concepts
Before using Salt some basic concepts need to be known and understood:
● Python & YAML & Jinja
● salt-master & salt-minion & salt-syndic & salt-key
● Grains & Targeting grains
● Saltutil
● Outputters
● States & Top file
● Pillars
● Remote execution
● Reactors
Basic topology
Using salt-syndic
Authentification
Communication
- Enabling commands to remote
systems to be called in parallel rather than
serially
- Communications are encrypted
- ZeroMQ is fast and secure
- Configuration files allows supporting large and custom infrastructures
- Salt uses a small and fast network payload
Thanks
You can buy “SaltStack for DevOps” on :
https://leanpub.com/saltstackfordevops
Get your free sample here :
http://bitly.com/1AKdhRG
Aymen El Amri
www.eon01.com
@eon01

More Related Content

PPTX
Tuning kafka pipelines
PPTX
Terraform
PDF
High Performance Systems in Go - GopherCon 2014
PDF
Terraform -- Infrastructure as Code
PPTX
Externalized Spring Boot App Configuration
PDF
The Patterns of Distributed Logging and Containers
PPTX
NGINX: Basics and Best Practices
PDF
Terraform introduction
Tuning kafka pipelines
Terraform
High Performance Systems in Go - GopherCon 2014
Terraform -- Infrastructure as Code
Externalized Spring Boot App Configuration
The Patterns of Distributed Logging and Containers
NGINX: Basics and Best Practices
Terraform introduction

What's hot (20)

PPTX
Hashicorp-Certified-Terraform-Associate-v3-edited.pptx
PPTX
NGINX: High Performance Load Balancing
PPTX
Deploying Azure DevOps using Terraform
PPTX
Terraform Basics
PPTX
Envoy and Kafka
PDF
Cloud Monitoring tool Grafana
PPTX
Effective terraform
PDF
Kubernetes API - deep dive into the kube-apiserver
PDF
Pulsar - Distributed pub/sub platform
PDF
Highlights of WSO2 API Manager 4.0.0
PPTX
NGINX: High Performance Load Balancing
PDF
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
PPTX
Practical learnings from running thousands of Flink jobs
PDF
Cilium - BPF & XDP for containers
PDF
NATS - A new nervous system for distributed cloud platforms
PDF
Kubernetes scheduling and QoS
PDF
PDF
NGINX ADC: Basics and Best Practices – EMEA
PDF
Multi-cloud Kubernetes BCDR with Velero
Hashicorp-Certified-Terraform-Associate-v3-edited.pptx
NGINX: High Performance Load Balancing
Deploying Azure DevOps using Terraform
Terraform Basics
Envoy and Kafka
Cloud Monitoring tool Grafana
Effective terraform
Kubernetes API - deep dive into the kube-apiserver
Pulsar - Distributed pub/sub platform
Highlights of WSO2 API Manager 4.0.0
NGINX: High Performance Load Balancing
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Practical learnings from running thousands of Flink jobs
Cilium - BPF & XDP for containers
NATS - A new nervous system for distributed cloud platforms
Kubernetes scheduling and QoS
NGINX ADC: Basics and Best Practices – EMEA
Multi-cloud Kubernetes BCDR with Velero
Ad

Similar to Introduction to SaltStack (20)

PDF
Getting started with salt stack
PDF
Getting started with salt stack
PDF
Why SaltStack ?
PDF
Event driven architecture with SaltStack
PPTX
SaltStack Configuration Management
PDF
Introduction to Systems Management with SaltStack
PDF
SaltStack
PDF
Salt Stack - Subhankar Sengupta
PDF
Automated Application Management with SaltStack
PDF
Configuration Management with Saltstack
PDF
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
PDF
Sweetening Systems Management with Salt
PDF
The SaltStack Pub Crawl - Fosscomm 2016
PDF
OpenWest 2014-05-10 Where's the Waldo, SaltStack Proxy Minions
PDF
Saltstack for Ansible users
PDF
A user's perspective on SaltStack and other configuration management tools
PDF
Understanding salt modular sub-systems and customization
ODP
Configuration Management and Salt
PDF
Salt conf 2014 - Using SaltStack in high availability environments
PDF
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
Getting started with salt stack
Getting started with salt stack
Why SaltStack ?
Event driven architecture with SaltStack
SaltStack Configuration Management
Introduction to Systems Management with SaltStack
SaltStack
Salt Stack - Subhankar Sengupta
Automated Application Management with SaltStack
Configuration Management with Saltstack
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Sweetening Systems Management with Salt
The SaltStack Pub Crawl - Fosscomm 2016
OpenWest 2014-05-10 Where's the Waldo, SaltStack Proxy Minions
Saltstack for Ansible users
A user's perspective on SaltStack and other configuration management tools
Understanding salt modular sub-systems and customization
Configuration Management and Salt
Salt conf 2014 - Using SaltStack in high availability environments
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
Ad

More from Aymen EL Amri (7)

PDF
HLayer / DevOps REX
PDF
HLayer / Cloud Native Best Practices
PDF
HLayer / Docker and its ecosystem
PDF
HLayer / Kubernetes for CI/CD
PDF
Docker & son ecosystème
PDF
The Roadmap to Becoming a DevOps Professional
PDF
SaltStack For DevOps, Free Sample
HLayer / DevOps REX
HLayer / Cloud Native Best Practices
HLayer / Docker and its ecosystem
HLayer / Kubernetes for CI/CD
Docker & son ecosystème
The Roadmap to Becoming a DevOps Professional
SaltStack For DevOps, Free Sample

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Modernizing your data center with Dell and AMD
PPT
Teaching material agriculture food technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
Modernizing your data center with Dell and AMD
Teaching material agriculture food technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The AUB Centre for AI in Media Proposal.docx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation

Introduction to SaltStack

  • 2. About Me - Linux/Web engineer - Evolved as a DevOps - Author of “SaltStack For DevOps” - Founder of DevOpsLinks - My blog : eon01.com/blog - Follow me : @eon01
  • 3. Configuration Management & Data Center Automation ● Mechanisms to manage the technical description of a system ● Source code deployments on multiple environments requires a configuration management and provisioning tool. ● With the adoption of agile development methods, the process of development, test and deployment of a software component has accelerated and therefore the methods of management have become faster, more automated and more adapted to changes ● Automation is important to the success of critical IT processes that are part of the life cycle of a product, including provision, change management, release management, patch management, compliance and security. DevOps
  • 4. SaltStack ● SaltStack fundamentally improves the way system administrators, integrators and DevOps use to configure and manage all aspects of a modern data center infrastructure. ● It is built on a platform running relatively fast while allowing remote control of distributed infrastructures, code and data. ● The infrastructure to manage can be virtual machines, cloud (Amazon EC2 instances, Rackspace ..etc) or physical machines as well hosted applications and platforms that rely on configuration files. ● You can use Salt installed on an operating system to manage other systems (A Linux to manage a Solaris or a BSD to manage a Windows ... etc.).
  • 5. A Brief Summary • One or more “salt-master”, “salt-minion” and “salt-syndic” • A key management system “salt-key” that allows the authentication of a “salt-minion” on a “salt-master” • A system of “states” to describe the configurations • A “top.sls” that calls the “states” • A system of “grain” on the minion to manage the configurations data • A system of “pillars” to store other data on the master (such as confidential data) • A transport and data management system called “ZeroMQ” • An event management system called “reactors” “returners”, “outputters” ..etc
  • 6. Installation ● If your server has Internet access, this shell script will be convenient to automate the installation of the stable version: wget -O - http://bootstrap.saltstack.org | sudo sh ● You can also install the latest version on git (development version): curl -L https://bootstrap.saltstack.com -o install_salt.sh sudo sh install_salt.sh git develop ● Salt is made of master and slave typically masters and minions. ● In the jargon used by the editor, a master is “salt-master” and a minion is a “salt-minion”. A syndic called “salt-syndic” is part of the package and its role consists of connecting masters.
  • 7. Troubleshooting Before launching the master and the minion(s), a list of prerequisites should be checked: • All of your salt-master and salt-minon are installed with the with satisfied dependencies • Python version is compatible with the version of Saltstack salt-master and salt-minion should be running with the root user • Communication and execution ports are well configured and opened • The configuration of any firewall between a master and a minion should be taken into account (Example : check your iptables). ● Troubleshooting salt-master ● Troubleshooting salt-minion ● Troubleshooting ports ● Troubleshooting using salt-call
  • 8. Basic Concepts Before using Salt some basic concepts need to be known and understood: ● Python & YAML & Jinja ● salt-master & salt-minion & salt-syndic & salt-key ● Grains & Targeting grains ● Saltutil ● Outputters ● States & Top file ● Pillars ● Remote execution ● Reactors
  • 12. Communication - Enabling commands to remote systems to be called in parallel rather than serially - Communications are encrypted - ZeroMQ is fast and secure - Configuration files allows supporting large and custom infrastructures - Salt uses a small and fast network payload
  • 13. Thanks You can buy “SaltStack for DevOps” on : https://leanpub.com/saltstackfordevops Get your free sample here : http://bitly.com/1AKdhRG Aymen El Amri www.eon01.com @eon01