SlideShare uma empresa Scribd logo
1 de 34
DevOps Demystified
Anirudh Bhatnagar
Senior Consultant, Xebia India.
abhatnagar@xebia.com
9650573087
Amazon’s web infrastructure guru James Hamilton uses Facebook’s recently
released energy data to make an educated guess for how many servers
Facebook now has: potentially 180,000. That’s up from an estimated 30,000
in the winter of 2009, and 60,000 by the Summer of 2010.
google has more than one million servers
10 releases per day!
● 3 engineers
● over 14 million users
● no hardware
● +100 instances on Amazon EC2
Agile : Responding to change..
- Less time to Market.
- Low release cycle time.
- Huge amount of servers on cloud.
- Zero downtime.
- Increasing traffic and user base.
From Idea to Product
The initial step: From Waterfall to
Agile!
- Continuous Integration
- Test Automation
But what about Release?
The Last Mile !
The next step : From CI to
Continuous Delivery
Impediments
The Division Wall!
The Dev world
Write Code
Write Unit Test Cases
The Ops World
IT buying
Installation of server hardware and OS
Configuration of servers, networks, storage, etc…
Monitoring of servers
Respond to outages
IT security
Managing phone systems, network
Change control
Backup and disaster recovery planning
Manage active directory
Asset tracking
Software deployments
Application support
Developer vs IT Operations
Bridging the gap!
Introducing Mr. DevOps
Mr. Sacha Noam Baron Cohen
Designation : Senior DevOps Engineer
its a culture... its a movement..
Started as devOps days in Belgium in 2009.
Developers interested in cloud, clusters, servers,
deployments, databases learn to write code to maintain
them.
Ops people evolve and start developing the code to
maintain infrastructure.
And they are all in one same dev team trying to achieve
one goal!
Collaboration -> Best practices
Ops learn from developers - > Coding
principles,
managed code, versioning.
Dev learn from Ops -> Insights of environment
and deployments, their problems.
Continuous delivery cont...
Deployment Pipelines
example: Build pipelines using
Jenkins
Automated Acceptance Gates
Next Hurdle : Configuration
Management
Lets Automate : We had Perl... We had shell scripts..
● How soon can you write this script?
● How maintainable is it?
● Can you write test cases for it?
● Can you have versioning?
● Can you have reusability?
● Risk????
● Idempotency
Phoenix Test
Infrastructure as code
Evolving from Scripts to code
"a flexible model for reuse by enabling users to model
infrastructure as code to easily and consistently configure
and deploy infrastructure across any platform.
Create a blueprint of your infrastructure that enables you to
build or rebuild, automatically in minutes or hours – not
weeks or months."
Tools of the game
Chef
Puppet!
vFabric
....
...
What is Chef?
Chef is a configuration management tool.
Using its cookbooks and recipes we can
provisions VMs, environments.
Community maintained code, almost everything
is prebuilt (cookbooks and recipes), need not
reinvent the wheel, just modify as per the need.
Chef Server, Chef node ,Knife,
Cookbook and Recipes
Chef Server : Central hub which keeps the nodes in sync.
A cookbook is the fundamental unit of configuration and policy distribution in Chef.
Recipes reside inside a Cookbook.
Written in Ruby.
Configurations , Policies and Attributes.
Example CookBook of MySQL will contain 2 recipes
1. For MySql Server
2. For MySql Client
Sample :
http://community.opscode.com/cookbooks/mysql
https://github.com/opscode-cookbooks/mysql
Using your workstation you write/modify cookbooks and using knife (a tool) you sync it with chef
repo and chef server.
Chef Overview
The complete picture..
Small Demo:
Using Vagrant
Provision a VM and put Redis (a key-value
based noSql Database) on an Ubuntu machine.
.1) Provision VM
2.)Install Ubuntu
3.)Get the machine Up
4.)Download installer for Redis
5.)Install redis
6.)Start the service
Cloud Support : EC2
$ knife ec2 server create "role[Demo] -N "demo.example.
net" -i ami -3e02f257
Thanks!

Mais conteúdo relacionado

Destaque

The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/DevRobert Starmer
 
Home Depot - From Platform Ops to Dev Enablement
Home Depot - From Platform Ops to Dev EnablementHome Depot - From Platform Ops to Dev Enablement
Home Depot - From Platform Ops to Dev EnablementAnthony McCulley
 
Topicค ณธรรม (2)
Topicค ณธรรม (2)Topicค ณธรรม (2)
Topicค ณธรรม (2)Min Chatchadaporn
 
Dev ops with smell v1.2
Dev ops with smell v1.2Dev ops with smell v1.2
Dev ops with smell v1.2Antons Kranga
 
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศ
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศHigh performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศ
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศmaruay songtanin
 
Considerations for Alert Design
Considerations for Alert DesignConsiderations for Alert Design
Considerations for Alert DesignJohn Allspaw
 
Velocity EU 2012 Escalating Scenarios: Outage Handling Pitfalls
Velocity EU 2012 Escalating Scenarios: Outage Handling PitfallsVelocity EU 2012 Escalating Scenarios: Outage Handling Pitfalls
Velocity EU 2012 Escalating Scenarios: Outage Handling PitfallsJohn Allspaw
 
Real Time Data Infrastructure team overview
Real Time Data Infrastructure team overviewReal Time Data Infrastructure team overview
Real Time Data Infrastructure team overviewMonal Daxini
 
Machine Learning at Netflix
Machine Learning at NetflixMachine Learning at Netflix
Machine Learning at NetflixDomino Data Lab
 
Unbounded bounded-data-strangeloop-2016-monal-daxini
Unbounded bounded-data-strangeloop-2016-monal-daxiniUnbounded bounded-data-strangeloop-2016-monal-daxini
Unbounded bounded-data-strangeloop-2016-monal-daxiniMonal Daxini
 
Keystone - Leverage Big Data 2016
Keystone - Leverage Big Data 2016Keystone - Leverage Big Data 2016
Keystone - Leverage Big Data 2016Peter Bakas
 
ความลับของการสร้างทีมให้มีประสิทธิภาพ
ความลับของการสร้างทีมให้มีประสิทธิภาพความลับของการสร้างทีมให้มีประสิทธิภาพ
ความลับของการสร้างทีมให้มีประสิทธิภาพLean In Consulting
 
Disruption of Enterprise IT and DevOps
Disruption of Enterprise IT and DevOpsDisruption of Enterprise IT and DevOps
Disruption of Enterprise IT and DevOpsmike d. kail
 
Ops Meta-Metrics: The Currency You Pay For Change
Ops Meta-Metrics: The Currency You Pay For ChangeOps Meta-Metrics: The Currency You Pay For Change
Ops Meta-Metrics: The Currency You Pay For ChangeJohn Allspaw
 
Quality assurance in dev ops and secops world
Quality assurance in dev ops and secops worldQuality assurance in dev ops and secops world
Quality assurance in dev ops and secops worldDr. Anish Cheriyan (PhD)
 
Consumer Science and Product Development at Netflix - OSCON 2012
Consumer Science and Product Development at Netflix - OSCON 2012Consumer Science and Product Development at Netflix - OSCON 2012
Consumer Science and Product Development at Netflix - OSCON 2012Matt Marenghi
 

Destaque (20)

Dev ops
Dev opsDev ops
Dev ops
 
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
 
Home Depot - From Platform Ops to Dev Enablement
Home Depot - From Platform Ops to Dev EnablementHome Depot - From Platform Ops to Dev Enablement
Home Depot - From Platform Ops to Dev Enablement
 
Dev ops
Dev opsDev ops
Dev ops
 
Topicค ณธรรม (2)
Topicค ณธรรม (2)Topicค ณธรรม (2)
Topicค ณธรรม (2)
 
Dev ops with smell v1.2
Dev ops with smell v1.2Dev ops with smell v1.2
Dev ops with smell v1.2
 
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศ
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศHigh performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศ
High performance culture การสร้างวัฒนธรรมสู่ความเป็นเลิศ
 
Considerations for Alert Design
Considerations for Alert DesignConsiderations for Alert Design
Considerations for Alert Design
 
Velocity EU 2012 Escalating Scenarios: Outage Handling Pitfalls
Velocity EU 2012 Escalating Scenarios: Outage Handling PitfallsVelocity EU 2012 Escalating Scenarios: Outage Handling Pitfalls
Velocity EU 2012 Escalating Scenarios: Outage Handling Pitfalls
 
Real Time Data Infrastructure team overview
Real Time Data Infrastructure team overviewReal Time Data Infrastructure team overview
Real Time Data Infrastructure team overview
 
Machine Learning at Netflix
Machine Learning at NetflixMachine Learning at Netflix
Machine Learning at Netflix
 
Lean present opd_2551
Lean present opd_2551Lean present opd_2551
Lean present opd_2551
 
Unbounded bounded-data-strangeloop-2016-monal-daxini
Unbounded bounded-data-strangeloop-2016-monal-daxiniUnbounded bounded-data-strangeloop-2016-monal-daxini
Unbounded bounded-data-strangeloop-2016-monal-daxini
 
Linux diskless
Linux disklessLinux diskless
Linux diskless
 
Keystone - Leverage Big Data 2016
Keystone - Leverage Big Data 2016Keystone - Leverage Big Data 2016
Keystone - Leverage Big Data 2016
 
ความลับของการสร้างทีมให้มีประสิทธิภาพ
ความลับของการสร้างทีมให้มีประสิทธิภาพความลับของการสร้างทีมให้มีประสิทธิภาพ
ความลับของการสร้างทีมให้มีประสิทธิภาพ
 
Disruption of Enterprise IT and DevOps
Disruption of Enterprise IT and DevOpsDisruption of Enterprise IT and DevOps
Disruption of Enterprise IT and DevOps
 
Ops Meta-Metrics: The Currency You Pay For Change
Ops Meta-Metrics: The Currency You Pay For ChangeOps Meta-Metrics: The Currency You Pay For Change
Ops Meta-Metrics: The Currency You Pay For Change
 
Quality assurance in dev ops and secops world
Quality assurance in dev ops and secops worldQuality assurance in dev ops and secops world
Quality assurance in dev ops and secops world
 
Consumer Science and Product Development at Netflix - OSCON 2012
Consumer Science and Product Development at Netflix - OSCON 2012Consumer Science and Product Development at Netflix - OSCON 2012
Consumer Science and Product Development at Netflix - OSCON 2012
 

Último

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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 DevelopmentsTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Dev ops presentation @ beingagile2013

  • 1. DevOps Demystified Anirudh Bhatnagar Senior Consultant, Xebia India. abhatnagar@xebia.com 9650573087
  • 2. Amazon’s web infrastructure guru James Hamilton uses Facebook’s recently released energy data to make an educated guess for how many servers Facebook now has: potentially 180,000. That’s up from an estimated 30,000 in the winter of 2009, and 60,000 by the Summer of 2010. google has more than one million servers 10 releases per day! ● 3 engineers ● over 14 million users ● no hardware ● +100 instances on Amazon EC2
  • 3. Agile : Responding to change.. - Less time to Market. - Low release cycle time. - Huge amount of servers on cloud. - Zero downtime. - Increasing traffic and user base.
  • 4. From Idea to Product
  • 5. The initial step: From Waterfall to Agile! - Continuous Integration - Test Automation
  • 6. But what about Release? The Last Mile !
  • 7. The next step : From CI to Continuous Delivery
  • 10. The Dev world Write Code Write Unit Test Cases
  • 11. The Ops World IT buying Installation of server hardware and OS Configuration of servers, networks, storage, etc… Monitoring of servers Respond to outages IT security Managing phone systems, network Change control Backup and disaster recovery planning Manage active directory Asset tracking Software deployments Application support
  • 12. Developer vs IT Operations
  • 14. Introducing Mr. DevOps Mr. Sacha Noam Baron Cohen Designation : Senior DevOps Engineer
  • 15. its a culture... its a movement.. Started as devOps days in Belgium in 2009. Developers interested in cloud, clusters, servers, deployments, databases learn to write code to maintain them. Ops people evolve and start developing the code to maintain infrastructure. And they are all in one same dev team trying to achieve one goal!
  • 16. Collaboration -> Best practices Ops learn from developers - > Coding principles, managed code, versioning. Dev learn from Ops -> Insights of environment and deployments, their problems.
  • 17.
  • 19. example: Build pipelines using Jenkins
  • 21. Next Hurdle : Configuration Management Lets Automate : We had Perl... We had shell scripts.. ● How soon can you write this script? ● How maintainable is it? ● Can you write test cases for it? ● Can you have versioning? ● Can you have reusability? ● Risk???? ● Idempotency
  • 23.
  • 24. Infrastructure as code Evolving from Scripts to code "a flexible model for reuse by enabling users to model infrastructure as code to easily and consistently configure and deploy infrastructure across any platform. Create a blueprint of your infrastructure that enables you to build or rebuild, automatically in minutes or hours – not weeks or months."
  • 25. Tools of the game Chef Puppet! vFabric .... ...
  • 26. What is Chef? Chef is a configuration management tool. Using its cookbooks and recipes we can provisions VMs, environments. Community maintained code, almost everything is prebuilt (cookbooks and recipes), need not reinvent the wheel, just modify as per the need.
  • 27. Chef Server, Chef node ,Knife, Cookbook and Recipes Chef Server : Central hub which keeps the nodes in sync. A cookbook is the fundamental unit of configuration and policy distribution in Chef. Recipes reside inside a Cookbook. Written in Ruby. Configurations , Policies and Attributes. Example CookBook of MySQL will contain 2 recipes 1. For MySql Server 2. For MySql Client Sample : http://community.opscode.com/cookbooks/mysql https://github.com/opscode-cookbooks/mysql Using your workstation you write/modify cookbooks and using knife (a tool) you sync it with chef repo and chef server.
  • 29.
  • 31. Small Demo: Using Vagrant Provision a VM and put Redis (a key-value based noSql Database) on an Ubuntu machine. .1) Provision VM 2.)Install Ubuntu 3.)Get the machine Up 4.)Download installer for Redis 5.)Install redis 6.)Start the service
  • 32. Cloud Support : EC2 $ knife ec2 server create "role[Demo] -N "demo.example. net" -i ami -3e02f257
  • 33.