SlideShare a Scribd company logo
1 of 29
www.edureka.co/devops
www.edureka.co/devops
Do You Know?
Which are the tools used
in DevOps Lifecycle?
What is DevOps
Lifecycle?
Chef | Puppet | Ansible | SaltStack
– On What factors to compare?
Which tools are used for
Configuration Management (CM) and
Deployment? And Why?
1
2
4
3
www.edureka.co/devops
DevOps LifeCycle
www.edureka.co/devops
DevOps LifeCycle : Tools
Jenkins
www.edureka.co/devops
Jenkins
DevOps LifeCycle : CM & Deployment Tools
www.edureka.co/devops
But, Why do we need these tools?
www.edureka.co/devops
Scenario 1: Mass Deployment
Deploy the application on
5 VMs
Deploy the application on
500 VMs
It is not possible for a human to deploy application on 500 VMs quickly,
We need a tool that can do this job.
www.edureka.co/devops
Scenario 2: Migrating from Test to Production
Everything was fine in TEST!
What happened now???
Due to test/production environment difference, few applications work on test but not
on production. There should be a tool to handle the environment differences.
www.edureka.co/devops
Scenario 3: Application Failure
Why the hell app has
stopped working,
what did you do???
No Idea, Sir!
I haven’t done
anything wrong.
There is no way to review change logs, complex way to roll back. There should be a tool
which should roll back the application automatically to stable version in case of failures.
www.edureka.co/devops
Case Study on Scenario 3
Top travel booking website in UK, 1.2 Billion pounds annual revenue, 9+ million visits per month
1 2 3
Huge money loss due to downtime!
Reference: www.SoftwareOperability.com
www.edureka.co/devops
We need Configuration
Management and Deployment Tools
for IT Automation
www.edureka.co/devops
Let us understand, a very important
concept
Infrastructure as Code (IaC)
www.edureka.co/devops
Infrastructure as Code (IaC)
DEV
TEST
PROD
IaC is automation of IT operations
(build, deploy, manage) by provisioning
of code , rather than manual process
Provisioning of Dev, Test and Prod environment
by writing code in one centralized location
Code for the
infrastructure
www.edureka.co/devops
Infrastructure as Code (IaC)
echo
“spock:*:1010:1010:Spock:
/home/spock:/bin/sh”  >>
/etc/passwd
(the user spock is added
to passwd file)
Shell Script
user { “spock”:
ensure => present,
gid => “science”,
home => “/home/spock”,
shell => “/bin/sh”
}
CM Tool Script
✓ In shell script, you need to write automation script from
scratch but in CM (configuration management) tool 80%
things are already available
✓ In shell script, you need to define the workflows whereas in
CM tool the workflows are already available
✓ You have UI (user interface) in CM tools to ease your job for
automating the tasks but you don’t have UI in shell scripting
CM Tools
www.edureka.co/devops
Puppet vs Chef vs SaltStack vs Ansible
Scalability
Ease of Setup
Availability
Management
Interoperability
We will evaluate the above tools on below parameters:
www.edureka.co/devops
Scalability
Highly Scalable Highly Scalable
Highly ScalableHighly Scalable
Scalability
Ease of Setup
Availability
Management
Interoperability
www.edureka.co/devops
Ease of Setup
Master-Agent
Puppet server runs on master machine and
Puppet clients runs as agent on each client
machine
Master-Agent
Chef server runs on master machine and
Chef clients runs as agent on each client
machine
Master-Agent
Here Server is called as master and clients
are called as minions which run as agents
in client machine
Master-Node
It has only master running on server
machine, but no agents running on client
machine, uses ssh to login to client systems
Client machine VM requires no special setup,
hence it is faster to setup
Scalability
Ease of Setup
Availability
Management
Interoperability
www.edureka.co/devops
Availability
Highly Available
Runs with a single active node, called the
Primary instance, if primary goes down,
there is Secondary instance to take its place
Highly Available
When there is failure in the primary server
i.e. chef sever, it has a backup server to
take the place of primary server
Highly Available
It has multi-master architecture, if the active
master goes down, the other master takes
the active master place
Highly Available
It can have multiple masters configured, if
one master is down, agents connect with
the other master in the list
Scalability
Ease of Setup
Availability
Management
Interoperability
www.edureka.co/devops
Management
Not very easy to learn to manage the
configurations as it uses its own language
called Puppet DSL. Client pulls the
configurations from the Server
Non-Immediate remote execution
You need to be a programmer to manage the
configurations as it offers configurations in
Ruby DSL. Client pulls the configurations from
the Server
Easy to learn to manage the configurations
Server pushes configurations to all the clients
Immediate remote execution
Easy to learn to manage the configurations
Server pushes configurations to all the nodes
Good for real-time application
Immediate remote execution
Scalability
Ease of Setup
Availability
Management
Interoperability
www.edureka.co/devops
Interoperability
Scalability
Ease of Setup
Availability
Management
Interoperability Ansible supports windows machines
as well but the Ansible server has to
be in Linux/Unix machine
Chef Server works only in Linux/Unix
but Chef Client and Workstation can
be on windows as well
Salt Master works only on Linux/Unix
but Salt minions can work on windows
as well
Puppet Master works only on
Linux/Unix but Puppet Agent also
works on windows
www.edureka.co/devops
Final Scorecard
Scorecard
Scalability
(20%)
Setup
(20%)
Availability
(20%)
Management
(20%)
Interoperability
(20%)
Overall
Score
(100%)
Puppet 9.0 8.0 9.0 8.0 9.0 8.6
SaltStack 9.0 8.0 9.0 9.0 9.0 8.8
Chef 9.0 8.0 9.0 8.0 9.0 8.6
Ansible 9.0 9.0 9.0 9.0 9.0 9.0
✓ We have given equal weightage for all the parameters to calculate overall score
✓ You may calculate the overall score by changing the weightage of parameters depending on your
requirement
www.edureka.co/devops
Some more factors to consider:
Configuration Language
Github Activity
Enterprise Cost
Popularity
Success Story
www.edureka.co/devops
Configuration Language
Configuration : DSL (Puppet DSL)
Not easy to learn, administrator oriented
Configuration : DSL (Ruby)
Steep Learning Curve, developer oriented
Configuration : YAML (Python)
Easy to learn, administrator oriented
Python is inbuilt into most Unix and Linux
deployments nowadays, so setting the tool
up and running is quicker
Configuration : YAML (Python)
Easy to learn, administrator oriented
Python is inbuilt into most Unix and Linux
deployments nowadays, so setting the tool
up and running is quicker
• DSL : Domain Specific Language
• YAML : Yet Another Markup Language
Conf. Lang.
GitHub Activity
Enterprise Cost
Success Story
Popularity
www.edureka.co/devops
GitHub Activity
Contributors: 355
Commits: 19,595
Branches: 9
Releases: 291
Contributors: 369
Commits: 12,089
Branches: 177
Releases: 231
Contributors: 1,041
Commits: 49,193
Branches: 11
Releases: 82
Contributors: 1,003
Commits: 13,527
Branches: 33
Releases: 57
Reference: www.slideshare.net/DanielKrook/caps-whats-best-for-deploying-and-managing-openstack-chef-vs-ansible-vs-puppet-vs-salt
GitHub Activity
Enterprise Cost
Success Story
Conf. Lang.
Popularity
www.edureka.co/devops
Enterprise Cost for 100 Nodes Per Year
Puppet Enterprise : $12,000
Chef Enterprise : $7,200
SaltStack Enterprise : $15,000
Ansible Enterprise Tower : $10,000
Reference: www.ansible.com/pricing
GitHub Activity
Enterprise Cost
Success Story
Reference: www.puppet.com/support-services/customer-support/support-plans
Reference: www.chef.io/pricing/
Reference: www.saltstack.com/enterprise/
Conf. Lang.
Popularity
www.edureka.co/devops
Popularity : Google Trend (Past 5 Years)
✓ Puppet and Chef are old players, puppet has wider adoption
✓ SaltStack and Ansible are new players, and Ansible looks very
promising with the growing trend
GitHub Activity
Enterprise Cost
Popularity
Success Story
Conf. Lang.
www.edureka.co/devops
Success Story
“75% of ICE’s(Intercontinental Exchange)
20,000 servers are managed by Puppet
Enterprise. They increased from 300 servers
per admin to 700 servers per admin.
Provisioning dev environments reduced
from 1 or 2 days to just 21 minutes.”
“Chef has increased the effectiveness and
the speed of our development cycle.
30% of Gannett's technology organization
used Chef but Gannett has aggressive
plans for 100% adoption this year 2016.”
“Using Ansible, we’ve been able to cut
down certain processes from 17 hours to
3 minutes. Ansible is unquantifiable in
its benefit.”
“LinkedIn had about 5,000 Salt Minions
under management 4 years ago. That
number has ballooned to more than 70,000
today to manage their infrastructure.”
Reference: www.ansible.com/success-stories/fatmap
GitHub Activity
Enterprise Cost
Success Story
Reference: www.saltstack.com/saltstack-at-web-scale-better-stronger-faster/
Reference: www.chef.io/customers/gannett/
Reference: www.puppet.com/resources/customer-stories/nyse
Conf. Lang.
Popularity
www.edureka.co/devops
Conclusion
✓ By now, you would have selected your tool,
remember, there is nothing called best tool
for configuration management in DevOps
✓ You should choose the tool as per your
organization’s need and environment
www.edureka.co/devops
Thank You …
Questions/Queries/Feedback

More Related Content

What's hot

What's hot (20)

Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
Getting Started With Docker | Docker Tutorial | Docker Training | EdurekaGetting Started With Docker | Docker Tutorial | Docker Training | Edureka
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
 
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
 
Best Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with TerraformBest Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with Terraform
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
 
Getting Started with Infrastructure as Code
Getting Started with Infrastructure as CodeGetting Started with Infrastructure as Code
Getting Started with Infrastructure as Code
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Introduction to helm
Introduction to helmIntroduction to helm
Introduction to helm
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
 
Git interview questions | Edureka
Git interview questions | EdurekaGit interview questions | Edureka
Git interview questions | Edureka
 
Hands On Introduction To Ansible Configuration Management With Ansible Comple...
Hands On Introduction To Ansible Configuration Management With Ansible Comple...Hands On Introduction To Ansible Configuration Management With Ansible Comple...
Hands On Introduction To Ansible Configuration Management With Ansible Comple...
 
Ansible - Hands on Training
Ansible - Hands on TrainingAnsible - Hands on Training
Ansible - Hands on Training
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Cloud Native Application
Cloud Native ApplicationCloud Native Application
Cloud Native Application
 
The Complete Guide to Service Mesh
The Complete Guide to Service MeshThe Complete Guide to Service Mesh
The Complete Guide to Service Mesh
 
Who Is A DevOps Engineer? | DevOps Skills You Must Master | DevOps Engineer M...
Who Is A DevOps Engineer? | DevOps Skills You Must Master | DevOps Engineer M...Who Is A DevOps Engineer? | DevOps Skills You Must Master | DevOps Engineer M...
Who Is A DevOps Engineer? | DevOps Skills You Must Master | DevOps Engineer M...
 
Platform Engineering
Platform EngineeringPlatform Engineering
Platform Engineering
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
Terraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeTerraform -- Infrastructure as Code
Terraform -- Infrastructure as Code
 

Viewers also liked

Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppet
Habeeb Rahman
 

Viewers also liked (17)

Puppets
PuppetsPuppets
Puppets
 
Introduction to chef
Introduction to chefIntroduction to chef
Introduction to chef
 
Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
 
Chef Delivery
Chef DeliveryChef Delivery
Chef Delivery
 
STIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with AnsibleSTIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with Ansible
 
Compliance Automation Workshop
Compliance Automation WorkshopCompliance Automation Workshop
Compliance Automation Workshop
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
 
Infrastructure Automation with Chef
Infrastructure Automation with Chef Infrastructure Automation with Chef
Infrastructure Automation with Chef
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
 
Ansible
AnsibleAnsible
Ansible
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
 
Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppet
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
 
3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 

Similar to Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Comparison | Edureka

How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
Simplilearn
 
Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profitVirtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
Andreas Heim
 
Muraliupdatedpersonal091215
Muraliupdatedpersonal091215Muraliupdatedpersonal091215
Muraliupdatedpersonal091215
Murali Krishna R
 
Muraliupdatedpersona150716
Muraliupdatedpersona150716Muraliupdatedpersona150716
Muraliupdatedpersona150716
Murali Krishna R
 

Similar to Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Comparison | Edureka (20)

DevOps demystified
DevOps demystifiedDevOps demystified
DevOps demystified
 
DevOps-Redefining your IT Strategy-28thJan15
DevOps-Redefining your IT Strategy-28thJan15DevOps-Redefining your IT Strategy-28thJan15
DevOps-Redefining your IT Strategy-28thJan15
 
Webinar: DevOps - Redefining your IT Strategy
Webinar: DevOps - Redefining your IT StrategyWebinar: DevOps - Redefining your IT Strategy
Webinar: DevOps - Redefining your IT Strategy
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
 
DevOps and Chef improve your life
DevOps and Chef improve your life DevOps and Chef improve your life
DevOps and Chef improve your life
 
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
 
Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profitVirtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
 
Docker Enables DevOps - Boston
Docker Enables DevOps - BostonDocker Enables DevOps - Boston
Docker Enables DevOps - Boston
 
Devops : Automate Your Infrastructure with Puppet
Devops : Automate Your Infrastructure with PuppetDevops : Automate Your Infrastructure with Puppet
Devops : Automate Your Infrastructure with Puppet
 
Building a PaaS using Chef
Building a PaaS using ChefBuilding a PaaS using Chef
Building a PaaS using Chef
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
Developing Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesDeveloping Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/Kubernetes
 
Muraliupdatedpersonal091215
Muraliupdatedpersonal091215Muraliupdatedpersonal091215
Muraliupdatedpersonal091215
 
The unintended benefits of Chef
The unintended benefits of ChefThe unintended benefits of Chef
The unintended benefits of Chef
 
Containers, Serverless, Polyglot Development World, And Others…10 trends resh...
Containers, Serverless, Polyglot Development World, And Others…10 trends resh...Containers, Serverless, Polyglot Development World, And Others…10 trends resh...
Containers, Serverless, Polyglot Development World, And Others…10 trends resh...
 
Immutable Infrastructure: Rise of the Machine Images
Immutable Infrastructure: Rise of the Machine ImagesImmutable Infrastructure: Rise of the Machine Images
Immutable Infrastructure: Rise of the Machine Images
 
Muraliupdatedpersona150716
Muraliupdatedpersona150716Muraliupdatedpersona150716
Muraliupdatedpersona150716
 
Orchestrate Your End-to-end Mainframe Application Release Pipeline
Orchestrate Your End-to-end Mainframe Application Release PipelineOrchestrate Your End-to-end Mainframe Application Release Pipeline
Orchestrate Your End-to-end Mainframe Application Release Pipeline
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
 

More from Edureka!

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 

Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Comparison | Edureka

  • 2. www.edureka.co/devops Do You Know? Which are the tools used in DevOps Lifecycle? What is DevOps Lifecycle? Chef | Puppet | Ansible | SaltStack – On What factors to compare? Which tools are used for Configuration Management (CM) and Deployment? And Why? 1 2 4 3
  • 6. www.edureka.co/devops But, Why do we need these tools?
  • 7. www.edureka.co/devops Scenario 1: Mass Deployment Deploy the application on 5 VMs Deploy the application on 500 VMs It is not possible for a human to deploy application on 500 VMs quickly, We need a tool that can do this job.
  • 8. www.edureka.co/devops Scenario 2: Migrating from Test to Production Everything was fine in TEST! What happened now??? Due to test/production environment difference, few applications work on test but not on production. There should be a tool to handle the environment differences.
  • 9. www.edureka.co/devops Scenario 3: Application Failure Why the hell app has stopped working, what did you do??? No Idea, Sir! I haven’t done anything wrong. There is no way to review change logs, complex way to roll back. There should be a tool which should roll back the application automatically to stable version in case of failures.
  • 10. www.edureka.co/devops Case Study on Scenario 3 Top travel booking website in UK, 1.2 Billion pounds annual revenue, 9+ million visits per month 1 2 3 Huge money loss due to downtime! Reference: www.SoftwareOperability.com
  • 11. www.edureka.co/devops We need Configuration Management and Deployment Tools for IT Automation
  • 12. www.edureka.co/devops Let us understand, a very important concept Infrastructure as Code (IaC)
  • 13. www.edureka.co/devops Infrastructure as Code (IaC) DEV TEST PROD IaC is automation of IT operations (build, deploy, manage) by provisioning of code , rather than manual process Provisioning of Dev, Test and Prod environment by writing code in one centralized location Code for the infrastructure
  • 14. www.edureka.co/devops Infrastructure as Code (IaC) echo “spock:*:1010:1010:Spock: /home/spock:/bin/sh” >> /etc/passwd (the user spock is added to passwd file) Shell Script user { “spock”: ensure => present, gid => “science”, home => “/home/spock”, shell => “/bin/sh” } CM Tool Script ✓ In shell script, you need to write automation script from scratch but in CM (configuration management) tool 80% things are already available ✓ In shell script, you need to define the workflows whereas in CM tool the workflows are already available ✓ You have UI (user interface) in CM tools to ease your job for automating the tasks but you don’t have UI in shell scripting CM Tools
  • 15. www.edureka.co/devops Puppet vs Chef vs SaltStack vs Ansible Scalability Ease of Setup Availability Management Interoperability We will evaluate the above tools on below parameters:
  • 16. www.edureka.co/devops Scalability Highly Scalable Highly Scalable Highly ScalableHighly Scalable Scalability Ease of Setup Availability Management Interoperability
  • 17. www.edureka.co/devops Ease of Setup Master-Agent Puppet server runs on master machine and Puppet clients runs as agent on each client machine Master-Agent Chef server runs on master machine and Chef clients runs as agent on each client machine Master-Agent Here Server is called as master and clients are called as minions which run as agents in client machine Master-Node It has only master running on server machine, but no agents running on client machine, uses ssh to login to client systems Client machine VM requires no special setup, hence it is faster to setup Scalability Ease of Setup Availability Management Interoperability
  • 18. www.edureka.co/devops Availability Highly Available Runs with a single active node, called the Primary instance, if primary goes down, there is Secondary instance to take its place Highly Available When there is failure in the primary server i.e. chef sever, it has a backup server to take the place of primary server Highly Available It has multi-master architecture, if the active master goes down, the other master takes the active master place Highly Available It can have multiple masters configured, if one master is down, agents connect with the other master in the list Scalability Ease of Setup Availability Management Interoperability
  • 19. www.edureka.co/devops Management Not very easy to learn to manage the configurations as it uses its own language called Puppet DSL. Client pulls the configurations from the Server Non-Immediate remote execution You need to be a programmer to manage the configurations as it offers configurations in Ruby DSL. Client pulls the configurations from the Server Easy to learn to manage the configurations Server pushes configurations to all the clients Immediate remote execution Easy to learn to manage the configurations Server pushes configurations to all the nodes Good for real-time application Immediate remote execution Scalability Ease of Setup Availability Management Interoperability
  • 20. www.edureka.co/devops Interoperability Scalability Ease of Setup Availability Management Interoperability Ansible supports windows machines as well but the Ansible server has to be in Linux/Unix machine Chef Server works only in Linux/Unix but Chef Client and Workstation can be on windows as well Salt Master works only on Linux/Unix but Salt minions can work on windows as well Puppet Master works only on Linux/Unix but Puppet Agent also works on windows
  • 21. www.edureka.co/devops Final Scorecard Scorecard Scalability (20%) Setup (20%) Availability (20%) Management (20%) Interoperability (20%) Overall Score (100%) Puppet 9.0 8.0 9.0 8.0 9.0 8.6 SaltStack 9.0 8.0 9.0 9.0 9.0 8.8 Chef 9.0 8.0 9.0 8.0 9.0 8.6 Ansible 9.0 9.0 9.0 9.0 9.0 9.0 ✓ We have given equal weightage for all the parameters to calculate overall score ✓ You may calculate the overall score by changing the weightage of parameters depending on your requirement
  • 22. www.edureka.co/devops Some more factors to consider: Configuration Language Github Activity Enterprise Cost Popularity Success Story
  • 23. www.edureka.co/devops Configuration Language Configuration : DSL (Puppet DSL) Not easy to learn, administrator oriented Configuration : DSL (Ruby) Steep Learning Curve, developer oriented Configuration : YAML (Python) Easy to learn, administrator oriented Python is inbuilt into most Unix and Linux deployments nowadays, so setting the tool up and running is quicker Configuration : YAML (Python) Easy to learn, administrator oriented Python is inbuilt into most Unix and Linux deployments nowadays, so setting the tool up and running is quicker • DSL : Domain Specific Language • YAML : Yet Another Markup Language Conf. Lang. GitHub Activity Enterprise Cost Success Story Popularity
  • 24. www.edureka.co/devops GitHub Activity Contributors: 355 Commits: 19,595 Branches: 9 Releases: 291 Contributors: 369 Commits: 12,089 Branches: 177 Releases: 231 Contributors: 1,041 Commits: 49,193 Branches: 11 Releases: 82 Contributors: 1,003 Commits: 13,527 Branches: 33 Releases: 57 Reference: www.slideshare.net/DanielKrook/caps-whats-best-for-deploying-and-managing-openstack-chef-vs-ansible-vs-puppet-vs-salt GitHub Activity Enterprise Cost Success Story Conf. Lang. Popularity
  • 25. www.edureka.co/devops Enterprise Cost for 100 Nodes Per Year Puppet Enterprise : $12,000 Chef Enterprise : $7,200 SaltStack Enterprise : $15,000 Ansible Enterprise Tower : $10,000 Reference: www.ansible.com/pricing GitHub Activity Enterprise Cost Success Story Reference: www.puppet.com/support-services/customer-support/support-plans Reference: www.chef.io/pricing/ Reference: www.saltstack.com/enterprise/ Conf. Lang. Popularity
  • 26. www.edureka.co/devops Popularity : Google Trend (Past 5 Years) ✓ Puppet and Chef are old players, puppet has wider adoption ✓ SaltStack and Ansible are new players, and Ansible looks very promising with the growing trend GitHub Activity Enterprise Cost Popularity Success Story Conf. Lang.
  • 27. www.edureka.co/devops Success Story “75% of ICE’s(Intercontinental Exchange) 20,000 servers are managed by Puppet Enterprise. They increased from 300 servers per admin to 700 servers per admin. Provisioning dev environments reduced from 1 or 2 days to just 21 minutes.” “Chef has increased the effectiveness and the speed of our development cycle. 30% of Gannett's technology organization used Chef but Gannett has aggressive plans for 100% adoption this year 2016.” “Using Ansible, we’ve been able to cut down certain processes from 17 hours to 3 minutes. Ansible is unquantifiable in its benefit.” “LinkedIn had about 5,000 Salt Minions under management 4 years ago. That number has ballooned to more than 70,000 today to manage their infrastructure.” Reference: www.ansible.com/success-stories/fatmap GitHub Activity Enterprise Cost Success Story Reference: www.saltstack.com/saltstack-at-web-scale-better-stronger-faster/ Reference: www.chef.io/customers/gannett/ Reference: www.puppet.com/resources/customer-stories/nyse Conf. Lang. Popularity
  • 28. www.edureka.co/devops Conclusion ✓ By now, you would have selected your tool, remember, there is nothing called best tool for configuration management in DevOps ✓ You should choose the tool as per your organization’s need and environment