SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
Getting Crafty
                         in the kitchen
                           With Chef

@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Presenters
                                      Steve Rifkin
                                   Craig McEldowney
                                                  d.o.
                                     stevenator          craigmc




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Agenda
                               Overview                        Demo
                               Intro to Chef                   Q/A




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
What is Chef
                   Open source sytems integration framework by Opscode

                  With Chef, you write abstract definitions as source code to describe how you
                  want each part of your infrastructure to be built, and then apply those
                  descriptions to individual servers.

                  The result is a fully automated infrastructure: when a new server comes on
                  line, the only thing you have to do is tell Chef what role it should play in your
                  architecture.



@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
http://wiki.opscode.com/pages/viewpage.action?pageId=7274862

@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Why Chef
                                       Golden Images
                                Automated / Repeatable process
                                        Idempotent




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Where are the cooks?
                                        Workstation
                                         Chef Server

                                         Chef Client


@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Other Kitchens                                           (our word not theirs)



                                        Chef Server
                                         Chef Solo
                                        Hosted Chef



@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Hosted Chef with Opscode
                         $700/mo. -- 100 Nodes -- 50 Users
                         $300/mo. -- 50 Nodes -- 20 Users
                         $100/mo. -- 20 Nodes -- 10 Users
                            Free -- 5 Nodes -- 1 Users

@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Getting Started
                     Using Ruby, Rubygems, Chef-Client, Knife
                            current chef version 0.10.8

                         http://wiki.opscode.com/display/chef/Workstation+Setup




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Getting Started
                         Ruby Version Manager (RVM)
                         rvm install 1.9.3
                         rvm use 1.9.3

                         Gotchas
                         preceed commands with rvm; ex: rvm gem install chef




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Utensils                   (again, our word not theirs)


                         Optional But Mandatory for the Cloud

                  http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+with+Knife




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Your Chef Repository
                         http://wiki.opscode.com/display/chef/Creating+a+Chef+Repository

                         getting cookbooks from the community
                                         http://community.opscode.com/

                                                   github
                           knife cookbook site install COOKBOOK [VERSION] (options)



@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Knife Demo



@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Nomenclature
                           Cookbooks                           Nodes
                           Recipes                             Roles
                          Templates                            Run Lists
                          Attributes                           Data Bags




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Advanced Ingredients
                         Shef http://wiki.opscode.com/display/chef/Shef
                         Vagrant http://wiki.opscode.com/display/chef/Vagrant




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Sources
                         http://beginrescueend.com/ (Ruby Version Manager)
                         http://wiki.opscode.com
                         http://wiki.opscode.com/display/chef/Chef+Essentials
                         http://community.opscode.com
                         http://wiki.opscode.com/display/chef/Architecture
                         http://www.opscode.com/hosted-chef




@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
Q/A


@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012

Más contenido relacionado

Destacado

Home sales increased last year january 2012
Home sales increased last year january 2012Home sales increased last year january 2012
Home sales increased last year january 2012
Matt Collinge
 
Research and planning
Research and planningResearch and planning
Research and planning
Aharkness2512
 
What chemistry admissions tutors are looking for in a personal statement
What chemistry admissions tutors are looking for in a personal statementWhat chemistry admissions tutors are looking for in a personal statement
What chemistry admissions tutors are looking for in a personal statement
Team MyRSC
 
Hebahan awam
Hebahan awamHebahan awam
Hebahan awam
entogenex
 
Benfits of RSC membership
Benfits of RSC membershipBenfits of RSC membership
Benfits of RSC membership
Team MyRSC
 

Destacado (16)

December 2012 1ID Fort Riley Monthly News Update
December 2012 1ID Fort Riley Monthly News UpdateDecember 2012 1ID Fort Riley Monthly News Update
December 2012 1ID Fort Riley Monthly News Update
 
Dawn of the Devils March 2012 Monthly Newsletter
Dawn of the Devils March 2012 Monthly NewsletterDawn of the Devils March 2012 Monthly Newsletter
Dawn of the Devils March 2012 Monthly Newsletter
 
Don’t say cheese!
Don’t say cheese!Don’t say cheese!
Don’t say cheese!
 
The 1st Infantry Division Post Paper
The 1st Infantry Division Post PaperThe 1st Infantry Division Post Paper
The 1st Infantry Division Post Paper
 
Home sales increased last year january 2012
Home sales increased last year january 2012Home sales increased last year january 2012
Home sales increased last year january 2012
 
Research and planning
Research and planningResearch and planning
Research and planning
 
What chemistry admissions tutors are looking for in a personal statement
What chemistry admissions tutors are looking for in a personal statementWhat chemistry admissions tutors are looking for in a personal statement
What chemistry admissions tutors are looking for in a personal statement
 
Conditionals
ConditionalsConditionals
Conditionals
 
Coearch Survey 2010
Coearch Survey 2010Coearch Survey 2010
Coearch Survey 2010
 
Hebahan awam
Hebahan awamHebahan awam
Hebahan awam
 
Core workout
Core workoutCore workout
Core workout
 
CSL In Session - Colorado Public Library Trends
CSL In Session - Colorado Public Library Trends CSL In Session - Colorado Public Library Trends
CSL In Session - Colorado Public Library Trends
 
White Paper mastering the req process
White Paper mastering the req processWhite Paper mastering the req process
White Paper mastering the req process
 
Benfits of RSC membership
Benfits of RSC membershipBenfits of RSC membership
Benfits of RSC membership
 
Facebook 粉絲團必學功能與報表
Facebook 粉絲團必學功能與報表Facebook 粉絲團必學功能與報表
Facebook 粉絲團必學功能與報表
 
Tugas tik
Tugas tikTugas tik
Tugas tik
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Cooking with chef

  • 1. Getting Crafty in the kitchen With Chef @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 2. Presenters Steve Rifkin Craig McEldowney d.o. stevenator craigmc @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 3. Agenda Overview Demo Intro to Chef Q/A @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 4. What is Chef Open source sytems integration framework by Opscode With Chef, you write abstract definitions as source code to describe how you want each part of your infrastructure to be built, and then apply those descriptions to individual servers. The result is a fully automated infrastructure: when a new server comes on line, the only thing you have to do is tell Chef what role it should play in your architecture. @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 5. http://wiki.opscode.com/pages/viewpage.action?pageId=7274862 @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 6. Why Chef Golden Images Automated / Repeatable process Idempotent @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 7. Where are the cooks? Workstation Chef Server Chef Client @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 8. Other Kitchens (our word not theirs) Chef Server Chef Solo Hosted Chef @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 9. Hosted Chef with Opscode $700/mo. -- 100 Nodes -- 50 Users $300/mo. -- 50 Nodes -- 20 Users $100/mo. -- 20 Nodes -- 10 Users Free -- 5 Nodes -- 1 Users @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 10. Getting Started Using Ruby, Rubygems, Chef-Client, Knife current chef version 0.10.8 http://wiki.opscode.com/display/chef/Workstation+Setup @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 11. Getting Started Ruby Version Manager (RVM) rvm install 1.9.3 rvm use 1.9.3 Gotchas preceed commands with rvm; ex: rvm gem install chef @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 12. Utensils (again, our word not theirs) Optional But Mandatory for the Cloud http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+with+Knife @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 13. Your Chef Repository http://wiki.opscode.com/display/chef/Creating+a+Chef+Repository getting cookbooks from the community http://community.opscode.com/ github knife cookbook site install COOKBOOK [VERSION] (options) @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 14. Knife Demo @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 15. Nomenclature Cookbooks Nodes Recipes Roles Templates Run Lists Attributes Data Bags @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 16. Advanced Ingredients Shef http://wiki.opscode.com/display/chef/Shef Vagrant http://wiki.opscode.com/display/chef/Vagrant @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 17. Sources http://beginrescueend.com/ (Ruby Version Manager) http://wiki.opscode.com http://wiki.opscode.com/display/chef/Chef+Essentials http://community.opscode.com http://wiki.opscode.com/display/chef/Architecture http://www.opscode.com/hosted-chef @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012
  • 18. Q/A @larksla @FILTERdigital @steverifkin @craigmceldowney High Performance - Los Angeles, CA - FILTER Digital 3/6/2012 Tuesday, March 6, 2012