SlideShare a Scribd company logo
Salt Stack
Subhankar Sengupta
My Intro
● SysOps guy since 2002, started in a typical startup, a web-hosting company and daily firefight
● Landed up in JP Morgan, Sabre Inc etc.
● Started JBUG –Bangalore (Jboss User Group) in 2010
● Why CM? Don’t want to be harassed admin
What does Salt stack do?
Simple things
1) Configuration Mgmt
● user
● package
● file
● service etc
2) Remote execution
When you install Saltstack you get both
About the project
● Open Source
● Written in Python
● Uses YAML for cm syntax, called salt states
● Very fast communication system so rapidly scales
● Most Important
○ Viable things are fundamentally SIMPLE
○ Salt is simple
Some vocabulary
● The master is the Salt server
● The minions are the target machines that will be provisioned
● Each minion has an unique ID
● Asynchronous communication
● SALT’s configuration files are called states, easy to read and understand
● Multiple states can be applied to each minion
● Modules are collection of function that could be run from Salt CLI
● Information collected by minion about the system is Grain
● Grain- Information collected by minion about the system
● You could write custom grain
Shows which grains
are defined on a host
Show the
value of all
grains on a
given host
Installation is a cake walk
kkk
Packages
● Alternatively installation could be done using RPM or Apt
● Three Packages
○ Salt - (In all nodes)
○ Salt-minion - (In all nodes)
○ Salt-master- (Only in master server)
Check it
How it works?
Pub-Sub
Pub
Salt Master
Minion-FQDN- 1 Minion-FQDN- 2
How it works?
● When master process started it creates a socket
● When minion process starts it connects to that master socket and looks for
event
● Master publishes event and minion subscribes to listen to that, hence Pub-
Sub
● This communication is done by a high speed channel
● ZeroMQ
● This communication channel is secure
● Minion and master exchange keys using AES encryption
Remote Execution
● usr/bin/salt- salt <minion-id> <module>
● Salt comes with a rich set of modules
● You could write your own in python
● Module has access to salt data structure
● salt * sys.doc test.ping (Help Files)
Changing password
Some more examples
Run an arbitrary shell command
Or a module
Salt Cloud
● Started as a separate project to use salt to manage cloud VMs
● Starting with the 2014.1.0 release of Salt, Salt Cloud is built into Salt
● Uses python-libcloud
●
AWS
XYZ
Provider Profiles
Again Vocabulary
Cloud provider is used to specify basic authentication
information to access a cloud provider.
Again Vocabulary-2
Cloud profiles is used to specify specific virtual machine
requirements, such as size, image, and location.
Q and A
Drop an email:
subhankar.aws@gmail.com

More Related Content

ODP
Salt Stack pt. 2 : Configuration Management
Umberto Nicoletti
 
PPTX
SaltStack Configuration Management
Nathan Sickler
 
PDF
A user's perspective on SaltStack and other configuration management tools
SaltStack
 
PDF
OpenNebula and SaltStack - OpenNebulaConf 2013
databus.pro
 
PDF
The SaltStack Pub Crawl - Fosscomm 2016
effie mouzeli
 
PDF
Configuration management and orchestration with Salt
Anirban Saha
 
PPT
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
PPTX
SaltConf 2014: Safety with powertools
Thomas Jackson
 
Salt Stack pt. 2 : Configuration Management
Umberto Nicoletti
 
SaltStack Configuration Management
Nathan Sickler
 
A user's perspective on SaltStack and other configuration management tools
SaltStack
 
OpenNebula and SaltStack - OpenNebulaConf 2013
databus.pro
 
The SaltStack Pub Crawl - Fosscomm 2016
effie mouzeli
 
Configuration management and orchestration with Salt
Anirban Saha
 
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
SaltConf 2014: Safety with powertools
Thomas Jackson
 

What's hot (20)

PDF
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
SaltStack
 
PPT
On MongoDB backup
William Yeh
 
PDF
OpenNebulaConf2015 1.09.02 Installgems Add-on - Alvaro Simon Garcia
OpenNebula Project
 
ODP
Linux host orchestration with Foreman, Puppet and Gitlab
Ben Tullis
 
PDF
OpenNebula, the foreman and CentOS play nice, too
inovex GmbH
 
PPTX
Backup, Restore, and Disaster Recovery
MongoDB
 
PPTX
Deploying Foreman in Enterprise Environments
inovex GmbH
 
PDF
High performance json- postgre sql vs. mongodb
Wei Shan Ang
 
PDF
pgDay Asia 2016 - Swapping Pacemaker-Corosync for repmgr (1)
Wei Shan Ang
 
PDF
Salt conf 2014-installing-openstack-using-saltstack-v02
Yazz Atlas
 
PDF
Foreman presentation
Glen Ogilvie
 
PDF
Continuous Deployment with Jenkins and Salt
Anirban Saha
 
PPTX
High availability for puppet - 2016
Zack Smith
 
ODP
PXEless Discovery with Foreman
Stephen Benjamin
 
ODP
Linuxday.at - Lightning Talk
Jan Gehring
 
PDF
Foreman - Advanced use cases - Timo Goebel
NETWAYS
 
PDF
Setup Kubernetes with flannel on ubuntu platform
Ajeet Singh
 
ODP
Chef, Vagrant, and VirtualBox
Jason Vanderhoof
 
PDF
Refactoring Katello Installer modules - Ewoud Kohl van Wijngaarden
NETWAYS
 
PDF
Salt stack
Jose Galarza
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
SaltStack
 
On MongoDB backup
William Yeh
 
OpenNebulaConf2015 1.09.02 Installgems Add-on - Alvaro Simon Garcia
OpenNebula Project
 
Linux host orchestration with Foreman, Puppet and Gitlab
Ben Tullis
 
OpenNebula, the foreman and CentOS play nice, too
inovex GmbH
 
Backup, Restore, and Disaster Recovery
MongoDB
 
Deploying Foreman in Enterprise Environments
inovex GmbH
 
High performance json- postgre sql vs. mongodb
Wei Shan Ang
 
pgDay Asia 2016 - Swapping Pacemaker-Corosync for repmgr (1)
Wei Shan Ang
 
Salt conf 2014-installing-openstack-using-saltstack-v02
Yazz Atlas
 
Foreman presentation
Glen Ogilvie
 
Continuous Deployment with Jenkins and Salt
Anirban Saha
 
High availability for puppet - 2016
Zack Smith
 
PXEless Discovery with Foreman
Stephen Benjamin
 
Linuxday.at - Lightning Talk
Jan Gehring
 
Foreman - Advanced use cases - Timo Goebel
NETWAYS
 
Setup Kubernetes with flannel on ubuntu platform
Ajeet Singh
 
Chef, Vagrant, and VirtualBox
Jason Vanderhoof
 
Refactoring Katello Installer modules - Ewoud Kohl van Wijngaarden
NETWAYS
 
Salt stack
Jose Galarza
 
Ad

Viewers also liked (20)

PDF
Lets talk dns
Abhinav Mehta
 
PDF
Getting started with salt stack
Suresh Paulraj
 
PDF
Security China 2016 Impression
Ann He
 
PDF
Medienethik - Präsentation von Philippe Wampfler
Philippe Wampfler
 
PDF
ATOSS Software AG Geschäftsbericht 2015
ATOSS Software AG
 
PDF
Nigel frank dynamics salary survey 2016 CRM Dinamics
Daniel Sastre del Río ★ [LION]
 
PPT
Presentacion conclusiones grupo 1
SaresAragon
 
PDF
Projects 2012 - Sans souci
Sans Souci Prague - Luxury glass solutions
 
PPTX
Wf. fitness
Rollef
 
PDF
Protectia attorneys at law ::: Corporate presentation
Protectia Patentes y Marcas
 
PPT
La mujer. grupo 1
presentaciones96
 
PPT
Mobile today-tomorrow-201006-aberla
Netcetera
 
PDF
SPRING_PROSPECT_MAGAZINE
Graeme Robertson
 
PDF
Presentación de la Factoría de Innovación Murcia
EOI Escuela de Organización Industrial
 
PPTX
Casa gaspar
rodrigomolinalaserna
 
DOC
Cv[1].Veronica F. Benitez
gasparbenitezbenitez
 
PDF
Manual para usuarios urkund 2015
javierelpapi
 
PDF
Präsentation Dichtheitsprüfung - Maximilian Ortner
srb-offsetdruck
 
DOCX
CALEFON O TERMOTANQUE
guillermo durigon
 
PPTX
Building a Scalable and Modern Infrastructure at CARFAX
MongoDB
 
Lets talk dns
Abhinav Mehta
 
Getting started with salt stack
Suresh Paulraj
 
Security China 2016 Impression
Ann He
 
Medienethik - Präsentation von Philippe Wampfler
Philippe Wampfler
 
ATOSS Software AG Geschäftsbericht 2015
ATOSS Software AG
 
Nigel frank dynamics salary survey 2016 CRM Dinamics
Daniel Sastre del Río ★ [LION]
 
Presentacion conclusiones grupo 1
SaresAragon
 
Projects 2012 - Sans souci
Sans Souci Prague - Luxury glass solutions
 
Wf. fitness
Rollef
 
Protectia attorneys at law ::: Corporate presentation
Protectia Patentes y Marcas
 
La mujer. grupo 1
presentaciones96
 
Mobile today-tomorrow-201006-aberla
Netcetera
 
SPRING_PROSPECT_MAGAZINE
Graeme Robertson
 
Presentación de la Factoría de Innovación Murcia
EOI Escuela de Organización Industrial
 
Cv[1].Veronica F. Benitez
gasparbenitezbenitez
 
Manual para usuarios urkund 2015
javierelpapi
 
Präsentation Dichtheitsprüfung - Maximilian Ortner
srb-offsetdruck
 
CALEFON O TERMOTANQUE
guillermo durigon
 
Building a Scalable and Modern Infrastructure at CARFAX
MongoDB
 
Ad

Similar to Salt Stack - Subhankar Sengupta (20)

PDF
Introduction to Systems Management with SaltStack
Craig Sebenik
 
PDF
Sweetening Systems Management with Salt
mchesnut
 
PDF
Introduction to SaltStack
Aymen EL Amri
 
PDF
Understanding salt modular sub-systems and customization
jasondenning
 
ODP
Configuration Management and Salt
55020
 
PDF
Event driven architecture with SaltStack
BharatNailwal2
 
PDF
OpenWest 2014-05-10 Where's the Waldo, SaltStack Proxy Minions
croldham
 
PDF
Why SaltStack ?
SUSE
 
PPTX
Salty OPS – Saltstack Introduction
Walter Liu
 
PPT
SaltConf14 - Saurabh Surana, HP Cloud - Automating operations and support wit...
SaltStack
 
PDF
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
Blazeclan Technologies Private Limited
 
PPTX
SaltStack Advanced Concepts
Vishal Biyani
 
PPTX
Configuration management
Luca De Vitis
 
PDF
A3Sec Advanced Deployment System
a3sec
 
PDF
How To Install and Configure Salt Master on Ubuntu
VCP Muthukrishna
 
PDF
Real-time Cloud Management with SaltStack
SaltStack
 
PPTX
Salt conf15 presentation-william-cannon
William Cannon
 
PDF
Getting started with salt stack
Suresh Paulraj
 
PDF
Salt at school
Flavio Castelli
 
PDF
Saltstack for Ansible users
Paul Traylor
 
Introduction to Systems Management with SaltStack
Craig Sebenik
 
Sweetening Systems Management with Salt
mchesnut
 
Introduction to SaltStack
Aymen EL Amri
 
Understanding salt modular sub-systems and customization
jasondenning
 
Configuration Management and Salt
55020
 
Event driven architecture with SaltStack
BharatNailwal2
 
OpenWest 2014-05-10 Where's the Waldo, SaltStack Proxy Minions
croldham
 
Why SaltStack ?
SUSE
 
Salty OPS – Saltstack Introduction
Walter Liu
 
SaltConf14 - Saurabh Surana, HP Cloud - Automating operations and support wit...
SaltStack
 
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
Blazeclan Technologies Private Limited
 
SaltStack Advanced Concepts
Vishal Biyani
 
Configuration management
Luca De Vitis
 
A3Sec Advanced Deployment System
a3sec
 
How To Install and Configure Salt Master on Ubuntu
VCP Muthukrishna
 
Real-time Cloud Management with SaltStack
SaltStack
 
Salt conf15 presentation-william-cannon
William Cannon
 
Getting started with salt stack
Suresh Paulraj
 
Salt at school
Flavio Castelli
 
Saltstack for Ansible users
Paul Traylor
 

Salt Stack - Subhankar Sengupta

  • 2. My Intro ● SysOps guy since 2002, started in a typical startup, a web-hosting company and daily firefight ● Landed up in JP Morgan, Sabre Inc etc. ● Started JBUG –Bangalore (Jboss User Group) in 2010 ● Why CM? Don’t want to be harassed admin
  • 3. What does Salt stack do? Simple things 1) Configuration Mgmt ● user ● package ● file ● service etc 2) Remote execution When you install Saltstack you get both
  • 4. About the project ● Open Source ● Written in Python ● Uses YAML for cm syntax, called salt states ● Very fast communication system so rapidly scales ● Most Important ○ Viable things are fundamentally SIMPLE ○ Salt is simple
  • 5. Some vocabulary ● The master is the Salt server ● The minions are the target machines that will be provisioned ● Each minion has an unique ID ● Asynchronous communication ● SALT’s configuration files are called states, easy to read and understand ● Multiple states can be applied to each minion ● Modules are collection of function that could be run from Salt CLI ● Information collected by minion about the system is Grain
  • 6. ● Grain- Information collected by minion about the system ● You could write custom grain Shows which grains are defined on a host
  • 7. Show the value of all grains on a given host
  • 8. Installation is a cake walk kkk
  • 9. Packages ● Alternatively installation could be done using RPM or Apt ● Three Packages ○ Salt - (In all nodes) ○ Salt-minion - (In all nodes) ○ Salt-master- (Only in master server)
  • 11. How it works? Pub-Sub Pub Salt Master Minion-FQDN- 1 Minion-FQDN- 2
  • 12. How it works? ● When master process started it creates a socket ● When minion process starts it connects to that master socket and looks for event ● Master publishes event and minion subscribes to listen to that, hence Pub- Sub ● This communication is done by a high speed channel ● ZeroMQ ● This communication channel is secure ● Minion and master exchange keys using AES encryption
  • 13. Remote Execution ● usr/bin/salt- salt <minion-id> <module> ● Salt comes with a rich set of modules ● You could write your own in python ● Module has access to salt data structure ● salt * sys.doc test.ping (Help Files)
  • 16. Run an arbitrary shell command Or a module
  • 17. Salt Cloud ● Started as a separate project to use salt to manage cloud VMs ● Starting with the 2014.1.0 release of Salt, Salt Cloud is built into Salt ● Uses python-libcloud ● AWS XYZ Provider Profiles
  • 18. Again Vocabulary Cloud provider is used to specify basic authentication information to access a cloud provider.
  • 19. Again Vocabulary-2 Cloud profiles is used to specify specific virtual machine requirements, such as size, image, and location.