Nathaniel Brown
                                    nshb@   .com




CHEFInfrastructure Automation
Evolving with
co-founder at
co-founder at


“The Place to Buy, Sell, and Trade Videos Online”
co-founder at


“The Place to Buy, Sell, and Trade Videos Online”
   ( we have a limited beta invite going on, sign up at ...
co-founder at


“The Place to Buy, Sell, and Trade Videos Online”
   ( we have a limited beta invite going on, sign up at ...
co-founder at


“The Place to Buy, Sell, and Trade Videos Online”
   ( we have a limited beta invite going on, sign up at ...
Produced Canada on Rails back in April 2006
      The industry’s first Rails conference in the world
13 years tech exec / management / consultant
  •   Start-ups / Fortune 500

  •   Content / Digital / Video Management Sys...
and...

         perity.com
But Who is Chef?
But Who is Chef?
(oh no, please don’t take my picture)




                  But Who is Chef?
Chef is Your Server Samurai
More like the General of Server Samurai
Who Takes All Your Operating Systems
            (For Both Servers and Desktops)
And Normalizes Them Into One




    •   Ubuntu (8.04-9.10)    •   FreeBSD (7.1)
    •   Debian (5.0)          •   OpenBSD...
Chef to the Rescue
Three Quick Wins With Chef
(soon)




New hires get a company environment setup instantly
        by running your custom bootstrap
(soon)




New hires get a company environment setup instantly
        by running your custom bootstrap
(soon)




New hires get a company environment setup instantly
        by running your custom bootstrap
Be able to rapidly and reliably modify and clone the DNA of
    each applications server environment for everyone
        ...
Make Amazon AMI’s with Chef Pre Loaded

Automatically Scale mission critical servers up or down


 Companies to Help:



 ...
Chef is Made by




.                     .
Chef is Made by




    .                                .

$2.5 Million VC Funded by DFJ
Chef is Made by




    .                                            .

$2.5 Million VC Funded by DFJ   ~2 Week Release Cy...
Chef is Made by




    .                                                .

$2.5 Million VC Funded by DFJ      ~2 Week Rel...
Chef is Made by




    .                                                .

$2.5 Million VC Funded by DFJ      ~2 Week Rel...
Chef is Made by




    .                                                 .

$2.5 Million VC Funded by DFJ      ~2 Week Re...
Who Uses Chef?




(some are indirectly through EngineYard’s infrastructure)
Why Might a Chef Be Needed?
You have only one person in your company who
   knows what’s going on with your servers
You have servers with custom configurations that only the
person who set it up has any idea what they are and he probably
 ...
You rely on your extensive photographic memory to build
                 new servers by hand ...
You rely on your extensive photographic memory to build
                 new servers by hand ...
You rely on your extensive photographic memory to build
                 new servers by hand ...
                         ...
How Does The Chef Client / Server Work?
Server Node (Chef Client) Registers with Server Command Center
Server Node (Chef Client) Registers with Server Command Center

       Secure Public / Private Key Authentication (new)
Server Node (Chef Client) Registers with Server Command Center

       Secure Public / Private Key Authentication (new)

 ...
Server Node (Chef Client) Registers with Server Command Center

       Secure Public / Private Key Authentication (new)

 ...
Server Node (Chef Client) Registers with Server Command Center

            Secure Public / Private Key Authentication (ne...
Chef Nomenclature



Resources

Definitions

 Libraries

Providers
Chef Nomenclature



             Users & Groups

Resources    Files
             Services
             HTTP

Definitions

...
Chef Nomenclature


                                              •   Package
             Users & Groups   •   Meta
     ...
Chef Nomenclature


                                               •   Package
             Users & Groups    •   Meta
   ...
Chef Nomenclature


                                                 •   Package
               Users & Groups    •   Meta...
Chef Nomenclature


                                                  •   Package
               Users & Groups     •   Me...
Chef Nomenclature



Resources
                 Attributes
Definitions

 Libraries   }    Recipes

                 CookBoo...
Chef Nomenclature



Resources
                 Attributes
Definitions

 Libraries   }    Recipes

                 CookBoo...
Chef Nomenclature



Resources
                 Attributes
Definitions

 Libraries   }    Recipes

                 CookBoo...
Chef Tools & Infrastructure

Chef Indexer
  Stomp & Ferret indexing for all config and CookBook info
Chef Tools & Infrastructure

Chef Indexer
  Stomp & Ferret indexing for all config and CookBook info
Chef Tools & Infrastructure

Chef Indexer
   Stomp & Ferret indexing for all config and CookBook info

Chef Client (aka Ser...
Chef Tools & Infrastructure

Chef Indexer
   Stomp & Ferret indexing for all config and CookBook info

Chef Client (aka Ser...
Chef Tools & Infrastructure

Chef Indexer
   Stomp & Ferret indexing for all config and CookBook info

Chef Client (aka Ser...
Golden Path
(at least for Chef Server)
https://chef.vidli.com/cookbooks/apache2
          (Private Cookbook Demo)
Vidli, The Official Video Licensor
     ... and home of the Blue Footed Booby




nshb@nshbrown.com



                   ...
Chef - Evolving with Infrastructure Automation
Upcoming SlideShare
Loading in …5
×

Chef - Evolving with Infrastructure Automation

4,262 views
4,142 views

Published on

Presentation on Chef (Server Installation and Configuration Automation by OpsCode) in Waikiki, Hawaii on October 4-6, 2009.

Published in: Technology
1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total views
4,262
On SlideShare
0
From Embeds
0
Number of Embeds
291
Actions
Shares
0
Downloads
0
Comments
1
Likes
5
Embeds 0
No embeds

No notes for slide




























































  • Chef - Evolving with Infrastructure Automation

    1. 1. Nathaniel Brown nshb@ .com CHEFInfrastructure Automation Evolving with
    2. 2. co-founder at
    3. 3. co-founder at “The Place to Buy, Sell, and Trade Videos Online”
    4. 4. co-founder at “The Place to Buy, Sell, and Trade Videos Online” ( we have a limited beta invite going on, sign up at http://vidli.com )
    5. 5. co-founder at “The Place to Buy, Sell, and Trade Videos Online” ( we have a limited beta invite going on, sign up at http://vidli.com ) ( we’re also hiring, so check out http://jobs.vidli.com )
    6. 6. co-founder at “The Place to Buy, Sell, and Trade Videos Online” ( we have a limited beta invite going on, sign up at http://vidli.com ) ( we’re also hiring, so check out http://jobs.vidli.com ) we also have a VMS called
    7. 7. Produced Canada on Rails back in April 2006 The industry’s first Rails conference in the world
    8. 8. 13 years tech exec / management / consultant • Start-ups / Fortune 500 • Content / Digital / Video Management Systems • eCommerce & Metric / Analytic Systems (Omniture and such) • Event Producer, Speaker, Workshop Instructor
    9. 9. and... perity.com
    10. 10. But Who is Chef?
    11. 11. But Who is Chef?
    12. 12. (oh no, please don’t take my picture) But Who is Chef?
    13. 13. Chef is Your Server Samurai
    14. 14. More like the General of Server Samurai
    15. 15. Who Takes All Your Operating Systems (For Both Servers and Desktops)
    16. 16. And Normalizes Them Into One • Ubuntu (8.04-9.10) • FreeBSD (7.1) • Debian (5.0) • OpenBSD (4.4) • RHEL & CentOS (5.x) • Mac OS X (10.4, 10.5) • Gentoo (1.12.11.1) • OpenSolaris (2008.11)
    17. 17. Chef to the Rescue
    18. 18. Three Quick Wins With Chef
    19. 19. (soon) New hires get a company environment setup instantly by running your custom bootstrap
    20. 20. (soon) New hires get a company environment setup instantly by running your custom bootstrap
    21. 21. (soon) New hires get a company environment setup instantly by running your custom bootstrap
    22. 22. Be able to rapidly and reliably modify and clone the DNA of each applications server environment for everyone ... and have history doing such
    23. 23. Make Amazon AMI’s with Chef Pre Loaded Automatically Scale mission critical servers up or down Companies to Help: $0.03/hr - Small $0.24/hr - Extra Large $21.36/mo - Small $170.88/mo - Extra Large
    24. 24. Chef is Made by . .
    25. 25. Chef is Made by . . $2.5 Million VC Funded by DFJ
    26. 26. Chef is Made by . . $2.5 Million VC Funded by DFJ ~2 Week Release Cycle
    27. 27. Chef is Made by . . $2.5 Million VC Funded by DFJ ~2 Week Release Cycle 4 Founders from Full Infrastructure Automation Industry
    28. 28. Chef is Made by . . $2.5 Million VC Funded by DFJ ~2 Week Release Cycle 4 Founders from Full Infrastructure Automation Industry 10 Employees
    29. 29. Chef is Made by . . $2.5 Million VC Funded by DFJ ~2 Week Release Cycle 4 Founders from Full Infrastructure Automation Industry 10 Employees Open Source under the Apache License v2.0
    30. 30. Who Uses Chef? (some are indirectly through EngineYard’s infrastructure)
    31. 31. Why Might a Chef Be Needed?
    32. 32. You have only one person in your company who knows what’s going on with your servers
    33. 33. You have servers with custom configurations that only the person who set it up has any idea what they are and he probably forgets them now too (if asked to mimic settings of course).
    34. 34. You rely on your extensive photographic memory to build new servers by hand ...
    35. 35. You rely on your extensive photographic memory to build new servers by hand ...
    36. 36. You rely on your extensive photographic memory to build new servers by hand ... Seriously?
    37. 37. How Does The Chef Client / Server Work?
    38. 38. Server Node (Chef Client) Registers with Server Command Center
    39. 39. Server Node (Chef Client) Registers with Server Command Center Secure Public / Private Key Authentication (new)
    40. 40. Server Node (Chef Client) Registers with Server Command Center Secure Public / Private Key Authentication (new) Server Node Syncs CookBooks with Server Command Center
    41. 41. Server Node (Chef Client) Registers with Server Command Center Secure Public / Private Key Authentication (new) Server Node Syncs CookBooks with Server Command Center Server Node Compiles Cookbooks and Executes Them
    42. 42. Server Node (Chef Client) Registers with Server Command Center Secure Public / Private Key Authentication (new) Server Node Syncs CookBooks with Server Command Center Server Node Compiles Cookbooks and Executes Them Server Node Checks Server Command Center at Next Regular Timed Interval
    43. 43. Chef Nomenclature Resources Definitions Libraries Providers
    44. 44. Chef Nomenclature Users & Groups Resources Files Services HTTP Definitions Libraries Providers
    45. 45. Chef Nomenclature • Package Users & Groups • Meta • Remote Directory Resources Files • • • Directory Execute Cron • • Remote File Route Services • Ruby Block • Link HTTP • Script • Mount • Template Definitions Libraries Providers
    46. 46. Chef Nomenclature • Package Users & Groups • Meta • Remote Directory Resources Files • • • Directory Execute Cronjobs • • Remote File Route Services • Ruby Block • Link HTTP • Script • Mount • Template Definitions Large Resource Wrappers Libraries Providers
    47. 47. Chef Nomenclature • Package Users & Groups • Meta • Remote Directory Resources Files • • • Directory Execute Cron • • Remote File Route Services • Ruby Block • Link HTTP • Script • Mount • Template Definitions Large Resource Wrappers Libraries Dump Zone for Custom Code Providers
    48. 48. Chef Nomenclature • Package Users & Groups • Meta • Remote Directory Resources Files • • • Directory Execute Cron • • Remote File Route Services • Ruby Block • Link HTTP • Script • Mount • Template Definitions Large Resource Wrappers Libraries Dump Zone for Custom Code Providers Action Controller For Resources
    49. 49. Chef Nomenclature Resources Attributes Definitions Libraries } Recipes CookBooks Providers
    50. 50. Chef Nomenclature Resources Attributes Definitions Libraries } Recipes CookBooks } Roles Providers
    51. 51. Chef Nomenclature Resources Attributes Definitions Libraries } Recipes CookBooks } } Roles Nodes Providers
    52. 52. Chef Tools & Infrastructure Chef Indexer Stomp & Ferret indexing for all config and CookBook info
    53. 53. Chef Tools & Infrastructure Chef Indexer Stomp & Ferret indexing for all config and CookBook info
    54. 54. Chef Tools & Infrastructure Chef Indexer Stomp & Ferret indexing for all config and CookBook info Chef Client (aka Server Node) Sits on Each Server Waiting for Orders
    55. 55. Chef Tools & Infrastructure Chef Indexer Stomp & Ferret indexing for all config and CookBook info Chef Client (aka Server Node) Sits on Each Server Waiting for Orders Chef Server (with API) The Command Center for Server Nodes
    56. 56. Chef Tools & Infrastructure Chef Indexer Stomp & Ferret indexing for all config and CookBook info Chef Client (aka Server Node) Sits on Each Server Waiting for Orders Chef Server (with API) The Command Center for Server Nodes Chef Solo When You Want a One Off Server That Doesn’t Auto Update
    57. 57. Golden Path (at least for Chef Server)
    58. 58. https://chef.vidli.com/cookbooks/apache2 (Private Cookbook Demo)
    59. 59. Vidli, The Official Video Licensor ... and home of the Blue Footed Booby nshb@nshbrown.com @nshbrown

    ×