SlideShare a Scribd company logo
1 of 21
Choose Chef!
Choose high availability,
consistency and speed!
Contents
✘ EHLO
✘ Choose High Availability
✘ Choose Consistency
✘ Choose Speed
✘ Choose Chef
✘ High-Level Chef Architecture
✘ Cooking with Chef in Amazon AWS
✘ Resources
✘ Thanks!
EHLO
I am Silvian Crețu
sysadmin, devops engineer, technical lead
sometimes developer
some other times DJ, MC
all the time geek
more than 10 years of experience in the IT field
1.
Choose High Availability
“I'm a 32 year old IT-man who
works in a basement
Moss, The IT Crowd
So... in the past
✘ … sysadmins used to work in basements
✘ … sysadmins used to care about uptime
✘ … sysadmins used to care about servers
✘ … sysadmins used to fix stuff at night
✘ … developers used to be at the mercy of a sysadmin
✘ … and sysadmins are... lazy
Availability
✘ usually the first thing a product owner wants to fix
✘ starts with getting the sysadmin out of the basement and have him
work with the developers
✘ buzz-word alert: DevOps!
✘ automation kicks in: BASH scripts, "caveman's Chef"
✘ being highly available doesn't mean caring and nurturing servers
✘ being highly available doesn't mean panicking when disks fail
2.
Choose Consistency
“The estimated cost of fixing a bug in
production is 150 times that of fixing the
same bug in development
the agile cost curve
Consistency
✘ sysadmin and developer (devops?) meet QA: "works on my
machine"
✘ BASH script doesn't work on QA's machine
✘ in real world there are more servers. QA has a machine
✘ where and how do we load test?
✘ size up the QA environment to match production
✘ size up the load test environment to match the traffic peak
3.
Choose Speed
“When do we want it?
all the things meme
Speed
✘ well... yesterday... but now should be just fine
✘ buzz-word alert: The Cloud!
✘ let's scale down to keep the costs low, but scale up when needed
✘ and do it fast!
✘ BASH script is not fast enough
4.
Choose Chef
“IT automation for speed and awesomeness
chef.io
Chef
✘ automation in a platform independent way
✘ idempotent automation => speedy automation
✘ Ruby based DSL => infrastructure as code
✘ sysadmin starts coding
✘ developer and QA start understanding the infrastructure
✘ did I mention devops?
✘ add Vagrant => your entire production environment is on QA's
machine
✘ can run BASH, Python (etc) scripts (beware to keep idempotence)
✘ can run Ruby blocks (beware to keep idempotence)
High-Level Chef Architecture
5.
Cooking with Chef in
Amazon AWS
Workshop
✘ Amazon OpsWorks
✘ Chef cookbooks from Git and/or S3
✘ Berkshelf
✘ automation: provisioning, server life-cycle, deployments
✘ high availability for both your application and your provisioning
infrastructure
✘ speed: idempotence, faster boot times, etc
Tomorrow morning at 10:00, Cloud Workshops room
Resources
✘ http://opensource.com/business/15/9/ato-interview-seth-vargo
✘ http://pixelcog.com/blog/2014/virtualizing-aws-opsworks-with-vagrant/
✘ https://www.chef.io/
✘ https://github.com/scretu/mm15ro
✘ http://docs.aws.amazon.com/opsworks/latest/userguide/best-practices-
packaging-cookbooks-locally.html
✘ http://devopsreactions.tumblr.com/post/118432149429/explaining-puppet-
to-management
✘ http://www.slidescarnival.com/ursula-free-presentation-template/804
thanks!
Any questions?
You can find me at
silvian.cretu@gmail.com
https://ro.linkedin.com/in/silviancretu

More Related Content

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Choose Chef! Choose high availability, consistency and speed!

  • 1. Choose Chef! Choose high availability, consistency and speed!
  • 2. Contents ✘ EHLO ✘ Choose High Availability ✘ Choose Consistency ✘ Choose Speed ✘ Choose Chef ✘ High-Level Chef Architecture ✘ Cooking with Chef in Amazon AWS ✘ Resources ✘ Thanks!
  • 3. EHLO I am Silvian Crețu sysadmin, devops engineer, technical lead sometimes developer some other times DJ, MC all the time geek more than 10 years of experience in the IT field
  • 5. “I'm a 32 year old IT-man who works in a basement Moss, The IT Crowd
  • 6. So... in the past ✘ … sysadmins used to work in basements ✘ … sysadmins used to care about uptime ✘ … sysadmins used to care about servers ✘ … sysadmins used to fix stuff at night ✘ … developers used to be at the mercy of a sysadmin ✘ … and sysadmins are... lazy
  • 7. Availability ✘ usually the first thing a product owner wants to fix ✘ starts with getting the sysadmin out of the basement and have him work with the developers ✘ buzz-word alert: DevOps! ✘ automation kicks in: BASH scripts, "caveman's Chef" ✘ being highly available doesn't mean caring and nurturing servers ✘ being highly available doesn't mean panicking when disks fail
  • 9. “The estimated cost of fixing a bug in production is 150 times that of fixing the same bug in development the agile cost curve
  • 10. Consistency ✘ sysadmin and developer (devops?) meet QA: "works on my machine" ✘ BASH script doesn't work on QA's machine ✘ in real world there are more servers. QA has a machine ✘ where and how do we load test? ✘ size up the QA environment to match production ✘ size up the load test environment to match the traffic peak
  • 12. “When do we want it? all the things meme
  • 13. Speed ✘ well... yesterday... but now should be just fine ✘ buzz-word alert: The Cloud! ✘ let's scale down to keep the costs low, but scale up when needed ✘ and do it fast! ✘ BASH script is not fast enough
  • 15. “IT automation for speed and awesomeness chef.io
  • 16. Chef ✘ automation in a platform independent way ✘ idempotent automation => speedy automation ✘ Ruby based DSL => infrastructure as code ✘ sysadmin starts coding ✘ developer and QA start understanding the infrastructure ✘ did I mention devops? ✘ add Vagrant => your entire production environment is on QA's machine ✘ can run BASH, Python (etc) scripts (beware to keep idempotence) ✘ can run Ruby blocks (beware to keep idempotence)
  • 18. 5. Cooking with Chef in Amazon AWS
  • 19. Workshop ✘ Amazon OpsWorks ✘ Chef cookbooks from Git and/or S3 ✘ Berkshelf ✘ automation: provisioning, server life-cycle, deployments ✘ high availability for both your application and your provisioning infrastructure ✘ speed: idempotence, faster boot times, etc Tomorrow morning at 10:00, Cloud Workshops room
  • 20. Resources ✘ http://opensource.com/business/15/9/ato-interview-seth-vargo ✘ http://pixelcog.com/blog/2014/virtualizing-aws-opsworks-with-vagrant/ ✘ https://www.chef.io/ ✘ https://github.com/scretu/mm15ro ✘ http://docs.aws.amazon.com/opsworks/latest/userguide/best-practices- packaging-cookbooks-locally.html ✘ http://devopsreactions.tumblr.com/post/118432149429/explaining-puppet- to-management ✘ http://www.slidescarnival.com/ursula-free-presentation-template/804
  • 21. thanks! Any questions? You can find me at silvian.cretu@gmail.com https://ro.linkedin.com/in/silviancretu