SlideShare a Scribd company logo
1 of 30
Download to read offline
Deploying OpenStack with Opscode Chef



                            matt@opscode.com
                            www.opscode.com




Thursday, February 16, 12
Who am I?




                  •         Matt Ray
                            •   Senior Technical Evangelist
                            •   Opscode, Inc.
                            •   Twitter/GitHub/Launchpad/IRC: mattray




Thursday, February 16, 12
Deploying and Managing
                            OpenStack is not simple.
Thursday, February 16, 12
Chef makes it easier.
Thursday, February 16, 12
Infrastructure as Code


Thursday, February 16, 12
Enable the reconstruction
                               of the business from
                            nothing but a source code
                            repository, an application
                              data backup, and bare
                                 metal resources.
Thursday, February 16, 12
Configuration
                            Management


Thursday, February 16, 12
System Integration


                                 http://www.flickr.com/photos/opalsson/3773629074/

Thursday, February 16, 12
The Chef Community




                  •         Apache License, Version 2.0
                  •         550+ Individual contributors
                  •         100+ Corporate contributors
                            •   Dell, Rackspace,VMware, RightScale,
                                Heroku, and many more
                  •         400+ cookbooks
                  •         http://community.opscode.com


Thursday, February 16, 12
openstack-cookbooks
                                 Resources
                                  crowbar
                               openstack-chef

Thursday, February 16, 12
github.com/mattray/openstack-cookbooks



                  •         Chef repository for deploying OpenStack
                            •   Bexar/Cactus
                  •         source for many other efforts
                            •   Crowbar
                            •   Mercado Libre
                            •   HP
                  •         http://wiki.opscode.com/display/chef/
                            Deploying+OpenStack+with+Chef
                  •         deprecated
Thursday, February 16, 12
Crowbar




                 •      Datacenter installer from Dell
                        •   Extension of the Chef server
                 •      Components are "barclamps"
                 •      Dell released under the Apache 2 license
                 •      Developed by Dell, Rackspace & Opscode
                 •      Active Development & Community
                 •      https://github.com/dellcloudedge/
                        crowbar


Thursday, February 16, 12
github.com/openstack/openstack-chef




                  •         Chef repository for deploying OpenStack
                            •   Diablo
                            •   trunk (Essex)
                  •         source for many other efforts
                            •   TryStack.org
                            •   Smokestack testing
                            •   mattray/openstack-chef


Thursday, February 16, 12
Deploying OpenStack




                  •         Chef ties it all together automatically
                  •         Scaling changes how we deploy
                  •         Configurations will be supported, shared &
                            documented
                  •         Licensing makes it available to everyone




Thursday, February 16, 12
knife openstack


Thursday, February 16, 12
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)




Thursday, February 16, 12
knife.rb




                            #trystack.org
                            knife[:openstack_username] = "mattray"
                            knife[:openstack_password] = "password"
                            knife[:openstack_auth_url] = "http://trystack.org:5000/v2.0/tokens"

                            #demo.rcb.me
                            knife[:openstack_username] = "opscode"
                            knife[:openstack_password] = "password"
                            knife[:openstack_auth_url] = "http://demo.rcb.me:5000/v2.0/tokens"




Thursday, February 16, 12
knife openstack flavor list




                            $ knife openstack flavor list
                            ID         Name       RAM       Disk
                            1          m1.tiny    512 MB    0 GB
                            2          m1.small   2048 MB   20 GB
                            3          m1.medium 4096 MB    40 GB
                            4          m1.large   8192 MB   80 GB
                            5          m1.xlarge 16384 MB   160 GB




Thursday, February 16, 12
knife openstack image list




                            $ knife openstack image list
                            ID                  Name
                            13                  natty-server-cloudimg-amd64
                            12                  natty-server-cloudimg-amd64-kernel
                            15                  oneiric-server-cloudimg-amd64
                            14                  oneiric-server-cloudimg-amd64-kernel




Thursday, February 16, 12
knife openstack server create --node-name ko1 --flavor 1 --image 13 -S trystack




Thursday, February 16, 12
knife openstack




                            $ knife openstack server list
                            Instance ID Name Public IP Private IP Flavor Image Keypair State
                            185         ko1 8.21.28.24 8.21.28.24 1      13    trystack active




Thursday, February 16, 12
Thursday, February 16, 12
$ ssh -i ~/.ssh/trystack.pem ubuntu@8.21.28.24
                            The authenticity of host '8.21.28.24 (8.21.28.24)' can't be established.
                            RSA key fingerprint is 0c:d8:3e:34:d1:de:c4:ee:5f:bc:b5:89:11:0d:73:e0.
                            Are you sure you want to continue connecting (yes/no)? yes
                            Warning: Permanently added '8.21.28.24' (RSA) to the list of known hosts.
                            Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-13-virtual x86_64)

                             * Documentation:   https://help.ubuntu.com/

                              System information as of Thu Feb 16 23:43:29 UTC 2012

                              System load: 0.08               Processes:           63
                              Usage of /:   40.8% of 1.35GB   Users logged in:     0
                              Memory usage: 6%                IP address for eth0: 8.21.28.24
                              Swap usage:   0%
                            ---------------------------------------------------------------------
                            <snip>
                            Get cloud support with Ubuntu Advantage Cloud Guest
                              http://www.ubuntu.com/business/services/cloud

                            The programs included with the Ubuntu system are free software;
                            the exact distribution terms for each program are described in the
                            individual files in /usr/share/doc/*/copyright.

                            Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
                            applicable law.

                            To run a command as administrator (user "root"), use "sudo <command>".
                            See "man sudo_root" for details.

                            ubuntu@ko1:~$
Thursday, February 16, 12
$ knife bootstrap 8.21.28.24 -i ~/.ssh/trystack.pem -x ubuntu --sudo -d omnibus
       Bootstrapping Chef on 8.21.28.24
       8.21.28.24 [Thu, 16 Feb 2012 23:51:40 +0000] INFO: *** Chef 0.10.8 ***
       8.21.28.24 [Thu, 16 Feb 2012 23:51:40 +0000] INFO: Client key /etc/chef/
       client.pem is not present - registering
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Setting the run_list to []
       from JSON
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Run List is []
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Run List expands to []
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Starting Chef Run for
       ko1.novalocal
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Running start handlers
       8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Start handlers complete.
       8.21.28.24 [Thu, 16 Feb 2012 23:51:43 +0000] INFO: Loading cookbooks []
       8.21.28.24 [Thu, 16 Feb 2012 23:51:43 +0000] WARN: Node ko1.novalocal has an
       empty run list.
       8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Chef Run complete in
       1.414499044 seconds
       8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Running report handlers
       8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Report handlers complete
Thursday, February 16, 12
Yay Bleeding Edge!




                            $   git clone git@github.com:mattray/fog.git
                            $   cd fog
                            $   gem build fog.gemspec
                            $   gem install fog-1.1.2.gem

                            $   git clone -b 0.6.0 git@github.com:mattray/knife-openstack.git
                            $   cd knife-openstack
                            $   gem build knife-openstack.gemspec
                            $   gem install knife-openstack-0.6.0.gem




Thursday, February 16, 12
What's Next?


                              http://www.flickr.com/photos/felixmorgner/4347750467/

Thursday, February 16, 12
knife-openstack roadmap




                  •         Patches will be merged upstream
                  •         http://wiki.opscode.com/display/chef/
                            OpenStack+Bootstrap+Fast+Start+Guide
                  •         bootstrap will be fixed
                  •         Push to Rubygems.org
                  •         Testing will be done with Crowbar
                  •         Essex/trunk support will be tested
                  •         security groups and floating IPs

Thursday, February 16, 12
Chef Roadmap




                  •         Diablo release (RCB patches)
                  •         Essex milestones (RCB patches)
                  •         Multiple Hypervisors
                            •   KVM, Xen, LXC?
                  •         Databases
                            •   PostgreSQL, MySQL
                  •         HA Support
                  •         Red Hat/Illumos?

Thursday, February 16, 12
Questions?


                              http://www.flickr.com/photos/mrchippy/443960682/
Thursday, February 16, 12
Thanks!


                            http://www.opscode.com




Thursday, February 16, 12

More Related Content

What's hot

HADOOP 실제 구성 사례, Multi-Node 구성
HADOOP 실제 구성 사례, Multi-Node 구성HADOOP 실제 구성 사례, Multi-Node 구성
HADOOP 실제 구성 사례, Multi-Node 구성Young Pyo
 
Who pulls the strings?
Who pulls the strings?Who pulls the strings?
Who pulls the strings?Ronny
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installationMinh Tran
 
How%20to%20install%20PHP%20on%20Linux%20_%20laffers
How%20to%20install%20PHP%20on%20Linux%20_%20laffersHow%20to%20install%20PHP%20on%20Linux%20_%20laffers
How%20to%20install%20PHP%20on%20Linux%20_%20lafferstutorialsruby
 
DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee Nur Ahammad
 
OpenCSW - What is the project about?
OpenCSW - What is the project about?OpenCSW - What is the project about?
OpenCSW - What is the project about?dmichelsen
 
Single node hadoop cluster installation
Single node hadoop cluster installation Single node hadoop cluster installation
Single node hadoop cluster installation Mahantesh Angadi
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 
Les défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStackLes défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStackOsones
 
Build MySQL virtual enviroment
Build MySQL virtual enviromentBuild MySQL virtual enviroment
Build MySQL virtual enviromentTaras Vasylyuk
 
Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners Shilpa Hemaraj
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Guatemala User Group
 

What's hot (13)

HADOOP 실제 구성 사례, Multi-Node 구성
HADOOP 실제 구성 사례, Multi-Node 구성HADOOP 실제 구성 사례, Multi-Node 구성
HADOOP 실제 구성 사례, Multi-Node 구성
 
Who pulls the strings?
Who pulls the strings?Who pulls the strings?
Who pulls the strings?
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installation
 
hw1a
hw1ahw1a
hw1a
 
How%20to%20install%20PHP%20on%20Linux%20_%20laffers
How%20to%20install%20PHP%20on%20Linux%20_%20laffersHow%20to%20install%20PHP%20on%20Linux%20_%20laffers
How%20to%20install%20PHP%20on%20Linux%20_%20laffers
 
DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee
 
OpenCSW - What is the project about?
OpenCSW - What is the project about?OpenCSW - What is the project about?
OpenCSW - What is the project about?
 
Single node hadoop cluster installation
Single node hadoop cluster installation Single node hadoop cluster installation
Single node hadoop cluster installation
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
Les défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStackLes défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStack
 
Build MySQL virtual enviroment
Build MySQL virtual enviromentBuild MySQL virtual enviroment
Build MySQL virtual enviroment
 
Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
 

Similar to Austin OpenStack Meetup: Chef and OpenStack

Boston/NYC Chef for OpenStack Hack Days
Boston/NYC Chef for OpenStack Hack DaysBoston/NYC Chef for OpenStack Hack Days
Boston/NYC Chef for OpenStack Hack DaysMatt Ray
 
Chef for OpenStack December 2012
Chef for OpenStack December 2012Chef for OpenStack December 2012
Chef for OpenStack December 2012Matt Ray
 
Chef for OpenStack - OpenStack Fall 2012 Summit
Chef for OpenStack  - OpenStack Fall 2012 SummitChef for OpenStack  - OpenStack Fall 2012 Summit
Chef for OpenStack - OpenStack Fall 2012 SummitMatt Ray
 
Velocity 2011 Chef OpenStack Workshop
Velocity 2011 Chef OpenStack WorkshopVelocity 2011 Chef OpenStack Workshop
Velocity 2011 Chef OpenStack WorkshopChef Software, Inc.
 
Australian OpenStack User Group August 2012: Chef for OpenStack
Australian OpenStack User Group August 2012: Chef for OpenStackAustralian OpenStack User Group August 2012: Chef for OpenStack
Australian OpenStack User Group August 2012: Chef for OpenStackMatt Ray
 
OpenStack Deployments with Chef
OpenStack Deployments with ChefOpenStack Deployments with Chef
OpenStack Deployments with ChefMatt Ray
 
OpenStack Deployment with Chef Workshop
OpenStack Deployment with Chef WorkshopOpenStack Deployment with Chef Workshop
OpenStack Deployment with Chef WorkshopMatt Ray
 
Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013Matt Ray
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overviewOpenStack Foundation
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overviewOpenStack Foundation
 
SCALE12X: Chef for OpenStack
SCALE12X: Chef for OpenStackSCALE12X: Chef for OpenStack
SCALE12X: Chef for OpenStackMatt Ray
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...Rahul Krishna Upadhyaya
 
Openstack In Real Life
Openstack In Real LifeOpenstack In Real Life
Openstack In Real LifePaul Guth
 
Cloud Provisioning: The SDKs Under the Hood
Cloud Provisioning: The SDKs Under the HoodCloud Provisioning: The SDKs Under the Hood
Cloud Provisioning: The SDKs Under the HoodEverett Toews
 
Testing Drupal with Ghosts and Gherkin
Testing Drupal  with Ghosts and GherkinTesting Drupal  with Ghosts and Gherkin
Testing Drupal with Ghosts and GherkinPhase2
 
Rackspace Private Cloud presentation for ChefConf 2014
Rackspace Private Cloud presentation for ChefConf 2014Rackspace Private Cloud presentation for ChefConf 2014
Rackspace Private Cloud presentation for ChefConf 2014Joe Breu
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hoursOpenCity Community
 
OpenStack LA meetup Feb 18, 2015
OpenStack LA meetup Feb 18, 2015OpenStack LA meetup Feb 18, 2015
OpenStack LA meetup Feb 18, 2015Tesora
 

Similar to Austin OpenStack Meetup: Chef and OpenStack (20)

Boston/NYC Chef for OpenStack Hack Days
Boston/NYC Chef for OpenStack Hack DaysBoston/NYC Chef for OpenStack Hack Days
Boston/NYC Chef for OpenStack Hack Days
 
Chef for OpenStack December 2012
Chef for OpenStack December 2012Chef for OpenStack December 2012
Chef for OpenStack December 2012
 
Chef For OpenStack Overview
Chef For OpenStack OverviewChef For OpenStack Overview
Chef For OpenStack Overview
 
Chef for OpenStack - OpenStack Fall 2012 Summit
Chef for OpenStack  - OpenStack Fall 2012 SummitChef for OpenStack  - OpenStack Fall 2012 Summit
Chef for OpenStack - OpenStack Fall 2012 Summit
 
Chef for OpenStack- Fall 2012.pdf
Chef for OpenStack- Fall 2012.pdfChef for OpenStack- Fall 2012.pdf
Chef for OpenStack- Fall 2012.pdf
 
Velocity 2011 Chef OpenStack Workshop
Velocity 2011 Chef OpenStack WorkshopVelocity 2011 Chef OpenStack Workshop
Velocity 2011 Chef OpenStack Workshop
 
Australian OpenStack User Group August 2012: Chef for OpenStack
Australian OpenStack User Group August 2012: Chef for OpenStackAustralian OpenStack User Group August 2012: Chef for OpenStack
Australian OpenStack User Group August 2012: Chef for OpenStack
 
OpenStack Deployments with Chef
OpenStack Deployments with ChefOpenStack Deployments with Chef
OpenStack Deployments with Chef
 
OpenStack Deployment with Chef Workshop
OpenStack Deployment with Chef WorkshopOpenStack Deployment with Chef Workshop
OpenStack Deployment with Chef Workshop
 
Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
 
SCALE12X: Chef for OpenStack
SCALE12X: Chef for OpenStackSCALE12X: Chef for OpenStack
SCALE12X: Chef for OpenStack
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 
Openstack In Real Life
Openstack In Real LifeOpenstack In Real Life
Openstack In Real Life
 
Cloud Provisioning: The SDKs Under the Hood
Cloud Provisioning: The SDKs Under the HoodCloud Provisioning: The SDKs Under the Hood
Cloud Provisioning: The SDKs Under the Hood
 
Testing Drupal with Ghosts and Gherkin
Testing Drupal  with Ghosts and GherkinTesting Drupal  with Ghosts and Gherkin
Testing Drupal with Ghosts and Gherkin
 
Rackspace Private Cloud presentation for ChefConf 2014
Rackspace Private Cloud presentation for ChefConf 2014Rackspace Private Cloud presentation for ChefConf 2014
Rackspace Private Cloud presentation for ChefConf 2014
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hours
 
OpenStack LA meetup Feb 18, 2015
OpenStack LA meetup Feb 18, 2015OpenStack LA meetup Feb 18, 2015
OpenStack LA meetup Feb 18, 2015
 

More from Matt Ray

HashiTalks 2020 - Chef Tools & Terraform: Better Together
HashiTalks 2020 - Chef Tools & Terraform: Better TogetherHashiTalks 2020 - Chef Tools & Terraform: Better Together
HashiTalks 2020 - Chef Tools & Terraform: Better TogetherMatt Ray
 
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP ModeEmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP ModeMatt Ray
 
Wellington DevOps: Bringing Your Applications into the Future with Habitat
Wellington DevOps: Bringing Your Applications into the Future with HabitatWellington DevOps: Bringing Your Applications into the Future with Habitat
Wellington DevOps: Bringing Your Applications into the Future with HabitatMatt Ray
 
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...Matt Ray
 
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...Matt Ray
 
Compliance as Code Everywhere
Compliance as Code EverywhereCompliance as Code Everywhere
Compliance as Code EverywhereMatt Ray
 
DevOpsDays Jakarta: State of DevOps 2018
DevOpsDays Jakarta: State of DevOps 2018DevOpsDays Jakarta: State of DevOps 2018
DevOpsDays Jakarta: State of DevOps 2018Matt Ray
 
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
DevOps Talks Melbourne 2018: Whales, Cats and KubernetesDevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
DevOps Talks Melbourne 2018: Whales, Cats and KubernetesMatt Ray
 
Infrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef AutomateInfrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef AutomateMatt Ray
 
Cooking Up Windows with Chef Automate
Cooking Up Windows with Chef AutomateCooking Up Windows with Chef Automate
Cooking Up Windows with Chef AutomateMatt Ray
 
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as CodeDevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as CodeMatt Ray
 
DevOpsDays Singapore Habitat Ignite
DevOpsDays Singapore Habitat IgniteDevOpsDays Singapore Habitat Ignite
DevOpsDays Singapore Habitat IgniteMatt Ray
 
Chef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User GroupChef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User GroupMatt Ray
 
Automating Compliance with InSpec - AWS North Sydney
Automating Compliance with InSpec - AWS North SydneyAutomating Compliance with InSpec - AWS North Sydney
Automating Compliance with InSpec - AWS North SydneyMatt Ray
 
Automating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native MeetupAutomating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native MeetupMatt Ray
 
Automating AWS Compliance with InSpec
Automating AWS Compliance with InSpec Automating AWS Compliance with InSpec
Automating AWS Compliance with InSpec Matt Ray
 
Chef Automate - Infracoders Canberra August 8, 2017
Chef Automate - Infracoders Canberra August 8, 2017Chef Automate - Infracoders Canberra August 8, 2017
Chef Automate - Infracoders Canberra August 8, 2017Matt Ray
 
OpsWorks for Chef Automate - Auckland AWS
OpsWorks for Chef Automate - Auckland AWS OpsWorks for Chef Automate - Auckland AWS
OpsWorks for Chef Automate - Auckland AWS Matt Ray
 
Chef Automate - Wellington DevOps August 2, 2017
Chef Automate - Wellington DevOps August 2, 2017Chef Automate - Wellington DevOps August 2, 2017
Chef Automate - Wellington DevOps August 2, 2017Matt Ray
 
Compliance as Code: Shifting Compliance Left in Continuous Delivery
Compliance as Code: Shifting Compliance Left in Continuous DeliveryCompliance as Code: Shifting Compliance Left in Continuous Delivery
Compliance as Code: Shifting Compliance Left in Continuous DeliveryMatt Ray
 

More from Matt Ray (20)

HashiTalks 2020 - Chef Tools & Terraform: Better Together
HashiTalks 2020 - Chef Tools & Terraform: Better TogetherHashiTalks 2020 - Chef Tools & Terraform: Better Together
HashiTalks 2020 - Chef Tools & Terraform: Better Together
 
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP ModeEmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
 
Wellington DevOps: Bringing Your Applications into the Future with Habitat
Wellington DevOps: Bringing Your Applications into the Future with HabitatWellington DevOps: Bringing Your Applications into the Future with Habitat
Wellington DevOps: Bringing Your Applications into the Future with Habitat
 
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
 
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
 
Compliance as Code Everywhere
Compliance as Code EverywhereCompliance as Code Everywhere
Compliance as Code Everywhere
 
DevOpsDays Jakarta: State of DevOps 2018
DevOpsDays Jakarta: State of DevOps 2018DevOpsDays Jakarta: State of DevOps 2018
DevOpsDays Jakarta: State of DevOps 2018
 
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
DevOps Talks Melbourne 2018: Whales, Cats and KubernetesDevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
 
Infrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef AutomateInfrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef Automate
 
Cooking Up Windows with Chef Automate
Cooking Up Windows with Chef AutomateCooking Up Windows with Chef Automate
Cooking Up Windows with Chef Automate
 
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as CodeDevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
 
DevOpsDays Singapore Habitat Ignite
DevOpsDays Singapore Habitat IgniteDevOpsDays Singapore Habitat Ignite
DevOpsDays Singapore Habitat Ignite
 
Chef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User GroupChef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User Group
 
Automating Compliance with InSpec - AWS North Sydney
Automating Compliance with InSpec - AWS North SydneyAutomating Compliance with InSpec - AWS North Sydney
Automating Compliance with InSpec - AWS North Sydney
 
Automating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native MeetupAutomating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native Meetup
 
Automating AWS Compliance with InSpec
Automating AWS Compliance with InSpec Automating AWS Compliance with InSpec
Automating AWS Compliance with InSpec
 
Chef Automate - Infracoders Canberra August 8, 2017
Chef Automate - Infracoders Canberra August 8, 2017Chef Automate - Infracoders Canberra August 8, 2017
Chef Automate - Infracoders Canberra August 8, 2017
 
OpsWorks for Chef Automate - Auckland AWS
OpsWorks for Chef Automate - Auckland AWS OpsWorks for Chef Automate - Auckland AWS
OpsWorks for Chef Automate - Auckland AWS
 
Chef Automate - Wellington DevOps August 2, 2017
Chef Automate - Wellington DevOps August 2, 2017Chef Automate - Wellington DevOps August 2, 2017
Chef Automate - Wellington DevOps August 2, 2017
 
Compliance as Code: Shifting Compliance Left in Continuous Delivery
Compliance as Code: Shifting Compliance Left in Continuous DeliveryCompliance as Code: Shifting Compliance Left in Continuous Delivery
Compliance as Code: Shifting Compliance Left in Continuous Delivery
 

Recently uploaded

Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationKnoldus Inc.
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and businessFrancesco Corti
 
IT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced ComputingIT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced ComputingMAGNIntelligence
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...DianaGray10
 
Graphene Quantum Dots-Based Composites for Biomedical Applications
Graphene Quantum Dots-Based Composites for  Biomedical ApplicationsGraphene Quantum Dots-Based Composites for  Biomedical Applications
Graphene Quantum Dots-Based Composites for Biomedical Applicationsnooralam814309
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTopCSSGallery
 
Where developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingWhere developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingFrancesco Corti
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIVijayananda Mohire
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNeo4j
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Muhammad Tiham Siddiqui
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud DataEric D. Schabell
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2DianaGray10
 
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxGraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxNeo4j
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Libraryshyamraj55
 
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveKeep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveIES VE
 
Flow Control | Block Size | ST Min | First Frame
Flow Control | Block Size | ST Min | First FrameFlow Control | Block Size | ST Min | First Frame
Flow Control | Block Size | ST Min | First FrameKapil Thakar
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxSatishbabu Gunukula
 
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4DianaGray10
 
Technical SEO for Improved Accessibility WTS FEST
Technical SEO for Improved Accessibility  WTS FESTTechnical SEO for Improved Accessibility  WTS FEST
Technical SEO for Improved Accessibility WTS FESTBillieHyde
 

Recently uploaded (20)

Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its application
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and business
 
IT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced ComputingIT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced Computing
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 
Graphene Quantum Dots-Based Composites for Biomedical Applications
Graphene Quantum Dots-Based Composites for  Biomedical ApplicationsGraphene Quantum Dots-Based Composites for  Biomedical Applications
Graphene Quantum Dots-Based Composites for Biomedical Applications
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development Companies
 
Where developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingWhere developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is going
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAI
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4j
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
 
SheDev 2024
SheDev 2024SheDev 2024
SheDev 2024
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
 
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxGraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
 
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveKeep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
 
Flow Control | Block Size | ST Min | First Frame
Flow Control | Block Size | ST Min | First FrameFlow Control | Block Size | ST Min | First Frame
Flow Control | Block Size | ST Min | First Frame
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
 
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4
 
Technical SEO for Improved Accessibility WTS FEST
Technical SEO for Improved Accessibility  WTS FESTTechnical SEO for Improved Accessibility  WTS FEST
Technical SEO for Improved Accessibility WTS FEST
 

Austin OpenStack Meetup: Chef and OpenStack

  • 1. Deploying OpenStack with Opscode Chef matt@opscode.com www.opscode.com Thursday, February 16, 12
  • 2. Who am I? • Matt Ray • Senior Technical Evangelist • Opscode, Inc. • Twitter/GitHub/Launchpad/IRC: mattray Thursday, February 16, 12
  • 3. Deploying and Managing OpenStack is not simple. Thursday, February 16, 12
  • 4. Chef makes it easier. Thursday, February 16, 12
  • 6. Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal resources. Thursday, February 16, 12
  • 7. Configuration Management Thursday, February 16, 12
  • 8. System Integration http://www.flickr.com/photos/opalsson/3773629074/ Thursday, February 16, 12
  • 9. The Chef Community • Apache License, Version 2.0 • 550+ Individual contributors • 100+ Corporate contributors • Dell, Rackspace,VMware, RightScale, Heroku, and many more • 400+ cookbooks • http://community.opscode.com Thursday, February 16, 12
  • 10. openstack-cookbooks Resources crowbar openstack-chef Thursday, February 16, 12
  • 11. github.com/mattray/openstack-cookbooks • Chef repository for deploying OpenStack • Bexar/Cactus • source for many other efforts • Crowbar • Mercado Libre • HP • http://wiki.opscode.com/display/chef/ Deploying+OpenStack+with+Chef • deprecated Thursday, February 16, 12
  • 12. Crowbar • Datacenter installer from Dell • Extension of the Chef server • Components are "barclamps" • Dell released under the Apache 2 license • Developed by Dell, Rackspace & Opscode • Active Development & Community • https://github.com/dellcloudedge/ crowbar Thursday, February 16, 12
  • 13. github.com/openstack/openstack-chef • Chef repository for deploying OpenStack • Diablo • trunk (Essex) • source for many other efforts • TryStack.org • Smokestack testing • mattray/openstack-chef Thursday, February 16, 12
  • 14. Deploying OpenStack • Chef ties it all together automatically • Scaling changes how we deploy • Configurations will be supported, shared & documented • Licensing makes it available to everyone Thursday, February 16, 12
  • 16. 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) Thursday, February 16, 12
  • 17. knife.rb #trystack.org knife[:openstack_username] = "mattray" knife[:openstack_password] = "password" knife[:openstack_auth_url] = "http://trystack.org:5000/v2.0/tokens" #demo.rcb.me knife[:openstack_username] = "opscode" knife[:openstack_password] = "password" knife[:openstack_auth_url] = "http://demo.rcb.me:5000/v2.0/tokens" Thursday, February 16, 12
  • 18. knife openstack flavor list $ knife openstack flavor list ID Name RAM Disk 1 m1.tiny 512 MB 0 GB 2 m1.small 2048 MB 20 GB 3 m1.medium 4096 MB 40 GB 4 m1.large 8192 MB 80 GB 5 m1.xlarge 16384 MB 160 GB Thursday, February 16, 12
  • 19. knife openstack image list $ knife openstack image list ID Name 13 natty-server-cloudimg-amd64 12 natty-server-cloudimg-amd64-kernel 15 oneiric-server-cloudimg-amd64 14 oneiric-server-cloudimg-amd64-kernel Thursday, February 16, 12
  • 20. knife openstack server create --node-name ko1 --flavor 1 --image 13 -S trystack Thursday, February 16, 12
  • 21. knife openstack $ knife openstack server list Instance ID Name Public IP Private IP Flavor Image Keypair State 185 ko1 8.21.28.24 8.21.28.24 1 13 trystack active Thursday, February 16, 12
  • 23. $ ssh -i ~/.ssh/trystack.pem ubuntu@8.21.28.24 The authenticity of host '8.21.28.24 (8.21.28.24)' can't be established. RSA key fingerprint is 0c:d8:3e:34:d1:de:c4:ee:5f:bc:b5:89:11:0d:73:e0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '8.21.28.24' (RSA) to the list of known hosts. Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-13-virtual x86_64) * Documentation: https://help.ubuntu.com/ System information as of Thu Feb 16 23:43:29 UTC 2012 System load: 0.08 Processes: 63 Usage of /: 40.8% of 1.35GB Users logged in: 0 Memory usage: 6% IP address for eth0: 8.21.28.24 Swap usage: 0% --------------------------------------------------------------------- <snip> Get cloud support with Ubuntu Advantage Cloud Guest http://www.ubuntu.com/business/services/cloud The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@ko1:~$ Thursday, February 16, 12
  • 24. $ knife bootstrap 8.21.28.24 -i ~/.ssh/trystack.pem -x ubuntu --sudo -d omnibus Bootstrapping Chef on 8.21.28.24 8.21.28.24 [Thu, 16 Feb 2012 23:51:40 +0000] INFO: *** Chef 0.10.8 *** 8.21.28.24 [Thu, 16 Feb 2012 23:51:40 +0000] INFO: Client key /etc/chef/ client.pem is not present - registering 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Setting the run_list to [] from JSON 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Run List is [] 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Run List expands to [] 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Starting Chef Run for ko1.novalocal 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Running start handlers 8.21.28.24 [Thu, 16 Feb 2012 23:51:42 +0000] INFO: Start handlers complete. 8.21.28.24 [Thu, 16 Feb 2012 23:51:43 +0000] INFO: Loading cookbooks [] 8.21.28.24 [Thu, 16 Feb 2012 23:51:43 +0000] WARN: Node ko1.novalocal has an empty run list. 8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Chef Run complete in 1.414499044 seconds 8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Running report handlers 8.21.28.24 [Thu, 16 Feb 2012 23:51:44 +0000] INFO: Report handlers complete Thursday, February 16, 12
  • 25. Yay Bleeding Edge! $ git clone git@github.com:mattray/fog.git $ cd fog $ gem build fog.gemspec $ gem install fog-1.1.2.gem $ git clone -b 0.6.0 git@github.com:mattray/knife-openstack.git $ cd knife-openstack $ gem build knife-openstack.gemspec $ gem install knife-openstack-0.6.0.gem Thursday, February 16, 12
  • 26. What's Next? http://www.flickr.com/photos/felixmorgner/4347750467/ Thursday, February 16, 12
  • 27. knife-openstack roadmap • Patches will be merged upstream • http://wiki.opscode.com/display/chef/ OpenStack+Bootstrap+Fast+Start+Guide • bootstrap will be fixed • Push to Rubygems.org • Testing will be done with Crowbar • Essex/trunk support will be tested • security groups and floating IPs Thursday, February 16, 12
  • 28. Chef Roadmap • Diablo release (RCB patches) • Essex milestones (RCB patches) • Multiple Hypervisors • KVM, Xen, LXC? • Databases • PostgreSQL, MySQL • HA Support • Red Hat/Illumos? Thursday, February 16, 12
  • 29. Questions? http://www.flickr.com/photos/mrchippy/443960682/ Thursday, February 16, 12
  • 30. Thanks! http://www.opscode.com Thursday, February 16, 12