SlideShare a Scribd company logo
Chef for OpenStack

Austin OpenStack Meetup
December 6, 2012

Matt Ray
Senior Technical Evangelist
Opscode
What is Chef?

Chef is an automation platform for developers & systems engineers to continuously
define, build, and manage infrastructure.
CHEF USES:




                                                   “
      Recipes and       Cookbooks
 that describe Infrastructure as Code.

 Chef enables people to easily build &
 manage complex & dynamic applications
 at massive scale




                                                                                ”
•   New model for describing infrastructure that
    promotes reuse
• Programmatically provision and configure
• Reconstruct business from code repository,
    data backup, and bare metal resources
Chef is Infrastructure as Code




 •   Programmatically provision
     and configure
 •   Treat like any other code base
 •   Reconstruct business from
     code repository, data backup,
     and bare metal resources.
How Can Chef Help?


Blueprint Your Infrastructure        Build Anything…                       And Manage It Simply
•   Compute                          •   Provision compute resources in    •   Introduce continuous incremental
                                         the Data Center and the Cloud         change or total change.
•   Application
•   Storage                               •   Infrastructure               •   Automatically reconfigure
                                                                               everything
•   Security                              •   Application Stacks
                                                                           •   Re-provision for disaster
•   Network                               •   Big Data                         recovery

•   Configuration Standards               •   HPC                          •   Fail-over to bare metal
                                     •   Linux, Windows, OSX, Unixes       •   Monitor for compliance
                                                                           •   Cloud migrations become trivial
Using 1,000’s of
man-days of prior art!



                              Discoverable and Searchable Infrastructure
The Chef Community



•   Apache License, Version 2.0
•   1000+ Individual contributors
•   180+ Corporate contributors
    •   Dell, HP, Rackspace, Calxeda,
        VMware, SUSE, and many more
•   700+ cookbooks
•   Plugins for every cloud
•   http://community.opscode.com


                                                             5
What's Out There?




Chef for OpenStack
    Resources
Chef for OpenStack: Why




•   Community for the automated deployment
    and management of OpenStack
•   Reduce fragmentation and encourage
    collaboration
•   Deploying OpenStack is not "secret sauce"
•   Project not a product
•   Apache 2 license
Chef for OpenStack: What



•   Chef Repository for Deploying OpenStack
•   Documentation for Chef for OpenStack
•   Cookbooks
    •   Keystone

    •   Glance

    •   Nova

    •   Horizon

    •   Swift

    •   Quantum

    •   Cinder

•   Knife OpenStack
Chef for OpenStack: Where




•   groups.google.com/group/opscode-chef-
    openstack
•   #openstack-chef on irc.freenode.net
•   github.com/opscode/openstack-chef-repo
•   github.com/mattray/openstack-chef-docs
•   github.com/opscode-cookbooks/
    •   keystone, glance, nova, horizon,
        swift,quantum,cinder

•   github.com/opscode/knife-openstack
Chef for OpenStack: Who
Chef for OpenStack: Today




•   Chef repo for Essex
•   Operating Systems (Ubuntu 12.04)
•   Hypervisors (KVM, LXC)
•   Databases (MySQL)
•   FlatDHCP networking with floating IPs
•   Test Kitchen
Rackspace Private Cloud: Alamo




•   Parallel fork of current cookbooks
•   github.com/rcbops/chef-cookbooks
•   www.rackspace.com/cloud/private/
Chef for OpenStack: When




•   Folsom is under active development
    •   Rackspace, AT&T, DreamHost have
        active branches
    •   Quantum (Nicira, OVS)
    •   Cinder
    •   Hyper-V
    •   Red Hat
Chef for OpenStack: How




github.com/mattray/openstack-chef-docs
               moving to
     github.com/opscode/chef-docs
Deploying OpenStack




•   Chef ties it all together automatically
•   Scaling changes how we deploy
•   Interchangeable components
•   Configurations shared, supported &
    documented
•   Licensing makes it available to everyone
knife openstack
knife openstack




$ knife openstack
Available openstack subcommands: (for details, knife SUB-
COMMAND --help)

** OPENSTACK COMMANDS **
knife openstack flavor list (options)
knife openstack image list (options)
knife openstack server create (options)
knife openstack server delete SERVER [SERVER] (options)
knife openstack server list (options)
knife openstack flavor list




$ knife openstack flavor list
ID Name        Virtual CPUs RAM          Disk
1   m1.tiny    1              512 MB     0 GB
2   m1.small   1              2048 MB    10 GB
3   m1.medium 2               4096 MB    10 GB
4   m1.large   4              8192 MB    10 GB
5   m1.xlarge 8               16384 MB   10 GB
knife openstack image list




$ knife openstack image list
ID                                     Name
4a197431-503d-4b85-b61e-84af21ca8654   cirros-image
f8ebb842-c0c0-4be3-8c4c-f72f48edec50   precise-image
knife openstack server create




knife openstack server create -a -f 1 -I f8ebb842-c0c0-4be3-8c4c-f72f48edec50
                    -S local -i ~/.ssh/local.pem -x ubuntu
Chef for OpenStack December 2012
Chef for OpenStack December 2012
Chef for Infrastructure Portability




•   knife openstack
    •   Piston, Nebula, Crowbar, TryStack
•   knife hp
•   knife rackspace
•   knife ec2
•   ... and many others
Chef for OpenStack Roadmap




•   Documentation (docs.opscode.com)
•   Hypervisors (Hyper-V)
•   Databases (PostgreSQL)
•   Operating Systems (RHEL, Debian, SUSE)
•   HA Configurations
•   Quantum (pluggable)
•   Cinder (pluggable)
•   Community Events (Boston January 22)
Chef for OpenStack Ecosystem




•   Cookbooks reusable outside of OpenStack
•   Test Kitchen
•   Librarian
•   Spiceweasel
•   pxe_dust
•   knife-rackspace/hp/dreamhost
•   Sputnik Cloud Launcher
•   Crowbar
Chef for OpenStack TL;DL




•   Opscode.com/openstack
•   Project, not a product
•   Lots of contributors with real
    deployments
•   Essex works, Folsom merging
•   Features driven by demand
    (show up for what you want)
•   Documentation with examples
AT&T
Questions?


Matt Ray
matt@opscode.com
Twitter|GitHub|IRC: mattray

More Related Content

PDF
Chef for OpenStack: Grizzly Roadmap
PDF
Deploying OpenStack with Chef
PDF
OpenStack Austin Meetup January 2014: Chef + OpenStack
PDF
Boston/NYC Chef for OpenStack Hack Days
PDF
OpenStack Deployment with Chef Workshop
PDF
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
PDF
OpenStack Deployments with Chef
PDF
Managing Complexity at Velocity
Chef for OpenStack: Grizzly Roadmap
Deploying OpenStack with Chef
OpenStack Austin Meetup January 2014: Chef + OpenStack
Boston/NYC Chef for OpenStack Hack Days
OpenStack Deployment with Chef Workshop
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
OpenStack Deployments with Chef
Managing Complexity at Velocity

What's hot (17)

PDF
Chef for OpenStack: OpenStack Spring Summit 2013
PPTX
Docker, Mesos, Spark
PDF
Chef for OpenStack - OpenStack Fall 2012 Summit
PPTX
All the troubles you get into when setting up a production ready Kubernetes c...
PDF
Achieving Infrastructure Portability with Chef
PPT
Building Hadoop with Chef
PDF
Deploying Hadoop-Based Bigdata Environments
PDF
OpenStack Summit Vancouver: Lessons learned on upgrades
PDF
Cloud data center and openstack
PDF
Ninja, Choose Your Weapon!
PPTX
Open Source Recipes for Chef Deployments of Hadoop
PPTX
RENCI User Group Meeting 2017 - I Upgraded iRODS and I still have all my hair
PDF
TIAD : Automating the aplication lifecycle
PDF
PuppetCamp SEA 1 - Using Vagrant, Puppet, Testing & Hadoop
PPTX
How bigtop leveraged docker for build automation and one click hadoop provis...
PDF
How bigtop leveraged docker for build automation and one click hadoop provis...
PPT
Docker based Hadoop provisioning - Hadoop Summit 2014
Chef for OpenStack: OpenStack Spring Summit 2013
Docker, Mesos, Spark
Chef for OpenStack - OpenStack Fall 2012 Summit
All the troubles you get into when setting up a production ready Kubernetes c...
Achieving Infrastructure Portability with Chef
Building Hadoop with Chef
Deploying Hadoop-Based Bigdata Environments
OpenStack Summit Vancouver: Lessons learned on upgrades
Cloud data center and openstack
Ninja, Choose Your Weapon!
Open Source Recipes for Chef Deployments of Hadoop
RENCI User Group Meeting 2017 - I Upgraded iRODS and I still have all my hair
TIAD : Automating the aplication lifecycle
PuppetCamp SEA 1 - Using Vagrant, Puppet, Testing & Hadoop
How bigtop leveraged docker for build automation and one click hadoop provis...
How bigtop leveraged docker for build automation and one click hadoop provis...
Docker based Hadoop provisioning - Hadoop Summit 2014
Ad

Viewers also liked (7)

PPTX
OpenStack101: Introductions to Private and Hybrid Clouds (BrightTALK)
PPTX
OpenStack: The Linux of Cloud hosted by LPI
PDF
Solving the OpenStack Talent Gap
PPT
Private Clouds and OpenStack: WFT?
PDF
Enterprise-Grade Networking in OpenStack
PDF
Behind the Curtain: Operating an OpenStack Powered Private Cloud
PDF
Operating your OpenStack Private Cloud.pdf
OpenStack101: Introductions to Private and Hybrid Clouds (BrightTALK)
OpenStack: The Linux of Cloud hosted by LPI
Solving the OpenStack Talent Gap
Private Clouds and OpenStack: WFT?
Enterprise-Grade Networking in OpenStack
Behind the Curtain: Operating an OpenStack Powered Private Cloud
Operating your OpenStack Private Cloud.pdf
Ad

Similar to Chef for OpenStack December 2012 (20)

PDF
Chef For OpenStack Overview
PDF
201304 chef for open stack overview
PDF
201304 chef for open stack overview
PDF
SCALE12X: Chef for OpenStack
PDF
Chef for OpenStack- Fall 2012.pdf
PDF
Australian OpenStack User Group August 2012: Chef for OpenStack
PDF
Velocity 2011 Chef OpenStack Workshop
PDF
LA Chef for OpenStack Hackday
PPTX
What is the OpenStack Platform? By Peter Dens - Kangaroot
PDF
TryStack: A Sandbox for OpenStack Users and Admins
PDF
SCALE 2011 Deploying OpenStack with Chef
PDF
OSDC 2013 | Introduction into Chef by Andy Hawkins
PPTX
Cloud Foundry and OpenStack – Marriage Made in Heaven !
ODP
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
PPT
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
PDF
Chef & OpenStack: OSCON 2014
PPTX
OpenStack and Windows
PDF
Crowbar2 update
PPTX
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
PPTX
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Chef For OpenStack Overview
201304 chef for open stack overview
201304 chef for open stack overview
SCALE12X: Chef for OpenStack
Chef for OpenStack- Fall 2012.pdf
Australian OpenStack User Group August 2012: Chef for OpenStack
Velocity 2011 Chef OpenStack Workshop
LA Chef for OpenStack Hackday
What is the OpenStack Platform? By Peter Dens - Kangaroot
TryStack: A Sandbox for OpenStack Users and Admins
SCALE 2011 Deploying OpenStack with Chef
OSDC 2013 | Introduction into Chef by Andy Hawkins
Cloud Foundry and OpenStack – Marriage Made in Heaven !
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Chef & OpenStack: OSCON 2014
OpenStack and Windows
Crowbar2 update
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...

More from Matt Ray (20)

PDF
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
PDF
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
PDF
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
PDF
HashiTalks 2020 - Chef Tools & Terraform: Better Together
PDF
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
PDF
Wellington DevOps: Bringing Your Applications into the Future with Habitat
PDF
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
PDF
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
PDF
Compliance as Code Everywhere
PDF
DevOpsDays Jakarta: State of DevOps 2018
PDF
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
PDF
Infrastructure and Compliance Delight with Chef Automate
PDF
Cooking Up Windows with Chef Automate
PDF
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
PDF
DevOpsDays Singapore Habitat Ignite
PDF
Chef Automate - Azure Sydney User Group
PDF
Automating Compliance with InSpec - AWS North Sydney
PDF
Automating Applications with Habitat - Sydney Cloud Native Meetup
PDF
Automating AWS Compliance with InSpec
PDF
Chef Automate - Infracoders Canberra August 8, 2017
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
HashiTalks 2020 - Chef Tools & Terraform: Better Together
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
Wellington DevOps: Bringing Your Applications into the Future with Habitat
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Compliance as Code Everywhere
DevOpsDays Jakarta: State of DevOps 2018
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
Infrastructure and Compliance Delight with Chef Automate
Cooking Up Windows with Chef Automate
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore Habitat Ignite
Chef Automate - Azure Sydney User Group
Automating Compliance with InSpec - AWS North Sydney
Automating Applications with Habitat - Sydney Cloud Native Meetup
Automating AWS Compliance with InSpec
Chef Automate - Infracoders Canberra August 8, 2017

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PDF
August Patch Tuesday
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
August Patch Tuesday
SOPHOS-XG Firewall Administrator PPT.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Assigned Numbers - 2025 - Bluetooth® Document
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
cloud_computing_Infrastucture_as_cloud_p
Advanced methodologies resolving dimensionality complications for autism neur...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
Machine learning based COVID-19 study performance prediction

Chef for OpenStack December 2012

  • 1. Chef for OpenStack Austin OpenStack Meetup December 6, 2012 Matt Ray Senior Technical Evangelist Opscode
  • 2. What is Chef? Chef is an automation platform for developers & systems engineers to continuously define, build, and manage infrastructure. CHEF USES: “ Recipes and Cookbooks that describe Infrastructure as Code. Chef enables people to easily build & manage complex & dynamic applications at massive scale ” • New model for describing infrastructure that promotes reuse • Programmatically provision and configure • Reconstruct business from code repository, data backup, and bare metal resources
  • 3. Chef is Infrastructure as Code • Programmatically provision and configure • Treat like any other code base • Reconstruct business from code repository, data backup, and bare metal resources.
  • 4. How Can Chef Help? Blueprint Your Infrastructure Build Anything… And Manage It Simply • Compute • Provision compute resources in • Introduce continuous incremental the Data Center and the Cloud change or total change. • Application • Storage • Infrastructure • Automatically reconfigure everything • Security • Application Stacks • Re-provision for disaster • Network • Big Data recovery • Configuration Standards • HPC • Fail-over to bare metal • Linux, Windows, OSX, Unixes • Monitor for compliance • Cloud migrations become trivial Using 1,000’s of man-days of prior art! Discoverable and Searchable Infrastructure
  • 5. The Chef Community • Apache License, Version 2.0 • 1000+ Individual contributors • 180+ Corporate contributors • Dell, HP, Rackspace, Calxeda, VMware, SUSE, and many more • 700+ cookbooks • Plugins for every cloud • http://community.opscode.com 5
  • 6. What's Out There? Chef for OpenStack Resources
  • 7. Chef for OpenStack: Why • Community for the automated deployment and management of OpenStack • Reduce fragmentation and encourage collaboration • Deploying OpenStack is not "secret sauce" • Project not a product • Apache 2 license
  • 8. Chef for OpenStack: What • Chef Repository for Deploying OpenStack • Documentation for Chef for OpenStack • Cookbooks • Keystone • Glance • Nova • Horizon • Swift • Quantum • Cinder • Knife OpenStack
  • 9. Chef for OpenStack: Where • groups.google.com/group/opscode-chef- openstack • #openstack-chef on irc.freenode.net • github.com/opscode/openstack-chef-repo • github.com/mattray/openstack-chef-docs • github.com/opscode-cookbooks/ • keystone, glance, nova, horizon, swift,quantum,cinder • github.com/opscode/knife-openstack
  • 11. Chef for OpenStack: Today • Chef repo for Essex • Operating Systems (Ubuntu 12.04) • Hypervisors (KVM, LXC) • Databases (MySQL) • FlatDHCP networking with floating IPs • Test Kitchen
  • 12. Rackspace Private Cloud: Alamo • Parallel fork of current cookbooks • github.com/rcbops/chef-cookbooks • www.rackspace.com/cloud/private/
  • 13. Chef for OpenStack: When • Folsom is under active development • Rackspace, AT&T, DreamHost have active branches • Quantum (Nicira, OVS) • Cinder • Hyper-V • Red Hat
  • 14. Chef for OpenStack: How github.com/mattray/openstack-chef-docs moving to github.com/opscode/chef-docs
  • 15. Deploying OpenStack • Chef ties it all together automatically • Scaling changes how we deploy • Interchangeable components • Configurations shared, supported & documented • Licensing makes it available to everyone
  • 17. knife openstack $ knife openstack Available openstack subcommands: (for details, knife SUB- COMMAND --help) ** OPENSTACK COMMANDS ** knife openstack flavor list (options) knife openstack image list (options) knife openstack server create (options) knife openstack server delete SERVER [SERVER] (options) knife openstack server list (options)
  • 18. knife openstack flavor list $ knife openstack flavor list ID Name Virtual CPUs RAM Disk 1 m1.tiny 1 512 MB 0 GB 2 m1.small 1 2048 MB 10 GB 3 m1.medium 2 4096 MB 10 GB 4 m1.large 4 8192 MB 10 GB 5 m1.xlarge 8 16384 MB 10 GB
  • 19. knife openstack image list $ knife openstack image list ID Name 4a197431-503d-4b85-b61e-84af21ca8654 cirros-image f8ebb842-c0c0-4be3-8c4c-f72f48edec50 precise-image
  • 20. knife openstack server create knife openstack server create -a -f 1 -I f8ebb842-c0c0-4be3-8c4c-f72f48edec50 -S local -i ~/.ssh/local.pem -x ubuntu
  • 23. Chef for Infrastructure Portability • knife openstack • Piston, Nebula, Crowbar, TryStack • knife hp • knife rackspace • knife ec2 • ... and many others
  • 24. Chef for OpenStack Roadmap • Documentation (docs.opscode.com) • Hypervisors (Hyper-V) • Databases (PostgreSQL) • Operating Systems (RHEL, Debian, SUSE) • HA Configurations • Quantum (pluggable) • Cinder (pluggable) • Community Events (Boston January 22)
  • 25. Chef for OpenStack Ecosystem • Cookbooks reusable outside of OpenStack • Test Kitchen • Librarian • Spiceweasel • pxe_dust • knife-rackspace/hp/dreamhost • Sputnik Cloud Launcher • Crowbar
  • 26. Chef for OpenStack TL;DL • Opscode.com/openstack • Project, not a product • Lots of contributors with real deployments • Essex works, Folsom merging • Features driven by demand (show up for what you want) • Documentation with examples
  • 27. AT&T