SlideShare una empresa de Scribd logo
1 de 74
Descargar para leer sin conexión
Cloud Configuration
                              with Chef


                                        Joshua Timberman
                              Senior Solutions Engineer @ Opscode



Thursday, February 11, 2010
Who Am I?


                              System Administrator.

                              Web Operations.

                              Training and Support.




Thursday, February 11, 2010
Who Are You?




Thursday, February 11, 2010
Who Are You?


                              System Administrators




Thursday, February 11, 2010
Who Are You?


                              System Administrators

                              Software Developers




Thursday, February 11, 2010
Who Are You?


                              System Administrators

                              Software Developers

                              Using Chef?




Thursday, February 11, 2010
What is the Cloud?




Thursday, February 11, 2010
What is the Cloud?


                              No definitions today.




Thursday, February 11, 2010
What is the Cloud?


                              No definitions today.

                              Hope you’re using it!




Thursday, February 11, 2010
What is the Cloud?


                              No definitions today.

                              Hope you’re using it!

                              Amazon EC2.




Thursday, February 11, 2010
What is Chef?




Thursday, February 11, 2010
Configuration management.




Thursday, February 11, 2010
What is Chef?


                              Configuration management.

                              System integration.




Thursday, February 11, 2010
What is Chef?


                              Configuration management.

                              System integration.

                              Infrastructure API.




Thursday, February 11, 2010
Thursday, February 11, 2010
Flexible




Thursday, February 11, 2010
Thursday, February 11, 2010
Idempotent




Thursday, February 11, 2010
Thursday, February 11, 2010
Predictable




Thursday, February 11, 2010
Architecture




Thursday, February 11, 2010
Architecture


                              Solo.




Thursday, February 11, 2010
Architecture


                              Solo.

                              Client / Server.




Thursday, February 11, 2010
Architecture


                              Solo.

                              Client / Server.

                              Opscode Platform.




Thursday, February 11, 2010
Resources




Thursday, February 11, 2010
Resources


                              Abstractions.




Thursday, February 11, 2010
Resources


                              Abstractions.

                              Define desired state.




Thursday, February 11, 2010
Resources


                              Abstractions.

                              Define desired state.

                              Fully developed and lightweight.




Thursday, February 11, 2010
Resources


                              Abstractions.

                              Define desired state.

                              Fully developed and lightweight.

                              Each has 1+ providers.




Thursday, February 11, 2010
Providers




Thursday, February 11, 2010
Providers


                              Run the commands.




Thursday, February 11, 2010
Providers


                              Run the commands.

                              Take actions to configure resources.




Thursday, February 11, 2010
Providers


                              Run the commands.

                              Take actions to configure resources.

                              Some are platform specific.




Thursday, February 11, 2010
Roles




Thursday, February 11, 2010
Roles


                              Describe Nodes.




Thursday, February 11, 2010
Roles


                              Describe Nodes.

                              Attributes.




Thursday, February 11, 2010
Roles


                              Describe Nodes.

                              Attributes.

                              Run list (roles, recipes).




Thursday, February 11, 2010
Roles


                              Describe Nodes.

                              Attributes.

                              Run list (roles, recipes).

                              Indexed.




Thursday, February 11, 2010
Roles




Thursday, February 11, 2010
Cookbooks




Thursday, February 11, 2010
Cookbooks

                              Distribution.




Thursday, February 11, 2010
Cookbooks

                              Distribution.

                              Recipes, Attributes.




Thursday, February 11, 2010
Cookbooks

                              Distribution.

                              Recipes, Attributes.

                              Assets.




Thursday, February 11, 2010
Cookbooks

                              Distribution.

                              Recipes, Attributes.

                              Assets.

                              Definitions, LWRP, Libraries.




Thursday, February 11, 2010
Cookbooks

                              Distribution.

                              Recipes, Attributes.

                              Assets.

                              Definitions, LWRP, Libraries.

                              Metadata.



Thursday, February 11, 2010
Cookbooks

                              Distribution.

                              Recipes, Attributes.

                              Assets.

                              Definitions, LWRP, Libraries.

                              Metadata.



Thursday, February 11, 2010
Clients




Thursday, February 11, 2010
Clients


                              Server access.




Thursday, February 11, 2010
Clients


                              Server access.

                              Authenticate (pre-shared keys).




Thursday, February 11, 2010
Clients


                              Server access.

                              Authenticate (pre-shared keys).

                              API (Knife, WebUI).




Thursday, February 11, 2010
Nodes




Thursday, February 11, 2010
Nodes


                              Infrastructure components.




Thursday, February 11, 2010
Nodes


                              Infrastructure components.

                              Managed with run list.




Thursday, February 11, 2010
Nodes


                              Infrastructure components.

                              Managed with run list.

                              Data stored on server.




Thursday, February 11, 2010
Nodes


                              Infrastructure components.

                              Managed with run list.

                              Data stored on server.

                              Indexed.




Thursday, February 11, 2010
A Sample Architecture
                                                                       Load Balancing


                                                                           Web Servers




                                                                                 Databases


                               http://www.flickr.com/photos/susanneanette/2710667213/sizes/o/

Thursday, February 11, 2010
AWS LB
  haproxy/nginx         A Sample Architecture
      S->M

                                                                       Load Balancing


                                                                           Web Servers




                                                                                 Databases


                               http://www.flickr.com/photos/susanneanette/2710667213/sizes/o/

Thursday, February 11, 2010
AWS LB
  haproxy/nginx         A Sample Architecture
      S->M

                                                                       Load Balancing
        Your
      App Stack
         M
                                                                           Web Servers
        EBS?




                                                                                 Databases


                               http://www.flickr.com/photos/susanneanette/2710667213/sizes/o/

Thursday, February 11, 2010
AWS LB
  haproxy/nginx         A Sample Architecture
      S->M

                                                                       Load Balancing
        Your
      App Stack
         M
                                                                           Web Servers
        EBS?


      Master/
       Slave
     M->L->XL                                                                    Databases
       EBS


                               http://www.flickr.com/photos/susanneanette/2710667213/sizes/o/

Thursday, February 11, 2010
Load Balancer




Thursday, February 11, 2010
Load Balancer




Thursday, February 11, 2010
Thursday, February 11, 2010
Thursday, February 11, 2010
Web/App Servers




Thursday, February 11, 2010
Web/App Servers




Thursday, February 11, 2010
Web/App Servers




Thursday, February 11, 2010
Web/App Servers




Thursday, February 11, 2010
Web/App Servers




Thursday, February 11, 2010
Database Master




Thursday, February 11, 2010
Database Master




Thursday, February 11, 2010
Database Master




Thursday, February 11, 2010
Opscode Platform


                      Managed Chef Server as a service.

                      Scalable, multi-tenant, auditable, secure.




Thursday, February 11, 2010
Opscode Platform


                      Managed Chef Server as a service.

                      Scalable, multi-tenant, auditable, secure.




                              http://www.opscode.com/signup


Thursday, February 11, 2010
Questions?


                                Twitter: @jtimberman
                              Email: joshua@opscode.com
                              IRC: irc.freenode.net #chef




Thursday, February 11, 2010

Más contenido relacionado

Más de Chef Software, Inc.

Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Software, Inc.
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of ChefChef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
Opscode Webinar: Automation for Education May 08-2013
Opscode Webinar: Automation for Education May 08-2013Opscode Webinar: Automation for Education May 08-2013
Opscode Webinar: Automation for Education May 08-2013
Chef Software, Inc.
 
Utility HPC: Right Systems, Right Scale, Right Science
Utility HPC: Right Systems, Right Scale, Right ScienceUtility HPC: Right Systems, Right Scale, Right Science
Utility HPC: Right Systems, Right Scale, Right Science
Chef Software, Inc.
 

Más de Chef Software, Inc. (20)

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 Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
 
Chef Fundamentals Training Series Module 3: Setting up Nodes and Cookbook Aut...
Chef Fundamentals Training Series Module 3: Setting up Nodes and Cookbook Aut...Chef Fundamentals Training Series Module 3: Setting up Nodes and Cookbook Aut...
Chef Fundamentals Training Series Module 3: Setting up Nodes and Cookbook Aut...
 
Chef Fundamentals Training Series Module 2: Workstation Setup
Chef Fundamentals Training Series Module 2: Workstation SetupChef Fundamentals Training Series Module 2: Workstation Setup
Chef Fundamentals Training Series Module 2: Workstation Setup
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of ChefChef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of Chef
 
Opscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with ChefOpscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with Chef
 
Opscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft WindowsOpscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft Windows
 
Opscode tech festa july 2013
Opscode tech festa   july 2013Opscode tech festa   july 2013
Opscode tech festa july 2013
 
Opscode Webinar: Automation for Education May 08-2013
Opscode Webinar: Automation for Education May 08-2013Opscode Webinar: Automation for Education May 08-2013
Opscode Webinar: Automation for Education May 08-2013
 
Utility HPC: Right Systems, Right Scale, Right Science
Utility HPC: Right Systems, Right Scale, Right ScienceUtility HPC: Right Systems, Right Scale, Right Science
Utility HPC: Right Systems, Right Scale, Right Science
 
The Berkshelf Way
The Berkshelf WayThe Berkshelf Way
The Berkshelf Way
 
Using Kanban and Chef: A Case Study – Jeffrey Hulten
Using Kanban and Chef: A Case Study – Jeffrey HultenUsing Kanban and Chef: A Case Study – Jeffrey Hulten
Using Kanban and Chef: A Case Study – Jeffrey Hulten
 
SDN, Network Virtualization and the Software Defined Data Center – Brad Hedlund
SDN, Network Virtualization and the Software Defined Data Center – Brad HedlundSDN, Network Virtualization and the Software Defined Data Center – Brad Hedlund
SDN, Network Virtualization and the Software Defined Data Center – Brad Hedlund
 
ChefConf 2013 Keynote Session – Opscode – Adam Jacob
ChefConf 2013 Keynote Session – Opscode – Adam JacobChefConf 2013 Keynote Session – Opscode – Adam Jacob
ChefConf 2013 Keynote Session – Opscode – Adam Jacob
 
Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications ...
Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications ...Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications ...
Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications ...
 
The InstallShield of the 21st Century – Theo Schlossnagle
The InstallShield of the 21st Century – Theo SchlossnagleThe InstallShield of the 21st Century – Theo Schlossnagle
The InstallShield of the 21st Century – Theo Schlossnagle
 
Chef ignited a DevOps revolution – BK Box
Chef ignited a DevOps revolution – BK BoxChef ignited a DevOps revolution – BK Box
Chef ignited a DevOps revolution – BK Box
 
The unintended benefits of Chef
The unintended benefits of ChefThe unintended benefits of Chef
The unintended benefits of Chef
 
Push jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private ChefPush jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private Chef
 
Multi-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and moreMulti-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and more
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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?
 
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, ...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Awsome Cloud Meetup 02/09/2010 - Chef 101