SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Automation and DevOps Best Practices
                                   	





          Rob Hirschfeld, Dell	

          Matt Ray, Opscode
Deploying & Managing a Cloud is not simple.
                                          

 •    Deploying to physical gear on layered networks	

 •    Multiple interlocking projects	

 •    Hundreds of configuration options	

 •    An aggressive 6 month delivery cycle	

 •    Constant innovation on core technologies	


            It does not have to be hard!
Problem: Clouds do not operate themselves!


                               Operations	





     Servers	

   Networks	

     Storage	

         Etc.	

                Expertise
Ops automation (“devops”) jumpstarts learning,
reduces complexity and manages scale.

                                                    Operations	

                                                    Automation	

                                            ic	

    (DevOps)	

                                     ur Top
                                 O




     Servers	

   Networks	

     Storage	

         Etc.	

                                  Operations	

                            Expertise
DevOps is CAMS

‣    Culture
‣    Automation
‣    Measurement
‣    Sharing
Foundation for Success: Open Operations

‣    Start with “Operations as Code”
‣    Leverage the community
     ‣    Write Operations code so it can be openly shared

     ‣    Learn from other people’s experience

‣    Make operations a priority
     ‣    Engage developers in operations challenges
     ‣    Make deployability a dev & test concern

‣    These are central issues to Opscode & Dell
What is Chef?
‣    An Open Source automation platform to continuously
     define, build, and manage infrastructure.
‣    Chef enables people to easily build & manage complex &
     dynamic applications at massive scale
‣    Built on the idea of Infrastructure as Code
     ‣    Programmatically provision and configure nodes

     ‣    Reconstruct business from code repository, data backup, and
          bare metal resources.
How Can Chef Help?

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

• Configuration Standards   • HPC                   • Fail-over to bare metal
                            • IaaS                  • Monitor for compliance
                            • PaaS                  • Cloud migrations become
Using 1,000’s of man-                               trivial
                            • SaaS
 days of prior art!
A model for reuse that works!




              500+ Cookbooks



                © Opscode, 2011 – Confidential – DO NOT DISTRIBUTE   9
The Path to Full Automation

                                                                               Full
                                                            Continuous    Infrastructure
                                                            Deployment
    Automation
                                              Application
                               Configuration   Management
                  Common
Discovery and                  Management
                 Automation
   Visibility
      Tasks:
                 Scripts, OS
                 Compliance,
                  Updates &
                   Patches
OpenStack has a lot of interlocking parts!
…and it matters how they are deployed!

                                          Cookbooks
Clouds are a complex: not like an app
‣    Building up OpenStack requires a system view

     ‣    Breaking projects into discrete cookbooks enables maintainability

     ‣    Conventions are needed so that projects and cross reference each other

‣    Networking is critical

     ‣    Each component requires correct VLAN, teaming and virtual bridge configuration. 

     ‣    Each site has unique networking needs (IP, subnet, VLAN)

     ‣    NIC enumeration can break even the simplest scipts

‣    Hardware configuration is boring but very important

     ‣    Application choices force configuration changes (late binding)

     ‣    Small mistakes can be very expensive to find and fix

‣    We needed a way to make deploy simpler, faster & repeatable
OpenStack Installer: Dell Crowbar Project

‣    Field Proven Technologies
     ‣    Build on locally deployed Chef Server, Raw servers to full cloud in <2
          hours, Multi-Node from the ground up, Hardened with over a year of
          real deployments

‣    Apache 2 Open Source (on github/dellcloudedge)
     ‣    Multi-Apps (OpenStack & Hadoop), Multi-OS (Ubuntu, RHEL, CentOS,
          SUSE), Development “in the open” w/ community engagement

‣    OpenStack Releases (dell.com/OpenStack)
     ‣    Cactus, Diablo and Essex!

‣    Not Dell Hardware Limited
Crowbar Builds Up Clouds in layers

                  APIs, User Access, &
                  Ecosystem Partners
Ops Management
 Dell “Crowbar”




                  Cloud Infrastructure




                  Core Components &
                  Operating Systems




                  Physical Resources
1) Hardware Configuration

                  APIs, User Access, &
                  Ecosystem Partners
Ops Management
 Dell “Crowbar”




                  Cloud Infrastructure




                  Core Components &
                  Operating Systems




                  Physical Resources
2) OS and Ops Infrastructure

                  APIs, User Access, &
                  Ecosystem Partners
Ops Management
 Dell “Crowbar”




                  Cloud Infrastructure




                  Core Components &
                  Operating Systems                          *



                  Physical Resources




                                         * Suse pending, based on open source activity
3) Cloud Platform Integration

                  APIs, User Access, &
                  Ecosystem Partners
Ops Management
 Dell “Crowbar”




                  Cloud Infrastructure




                  Core Components &
                  Operating Systems                          *



                  Physical Resources




                                         * Suse pending, based on open source activity
4) Cloud App Management

                  APIs, User Access, &
                  Ecosystem Partners
Ops Management
 Dell “Crowbar”




                  Cloud Infrastructure




                  Core Components &
                  Operating Systems




                  Physical Resources
OpenStack Orchestration: Chef & Crowbar 
                                                                    Status (po
                                                                                       st)


                                             Orchestration
                                             State Machine
                                                                                              OpenStack Components
Ops Management

                  Crowbar Magic Happens!




                                                                                       nt
                                                                                  Clie
 Dell “Crowbar”




                                                                            f-
                                                                         Che

                                           Run List
                                                                         Chef-Client
                                                                                              Network Configuration
                                                          Chef
                                                         Server         Chef-C
                                                                                   lient
                                                                                                Operating System
                                            Config.

                                                                        Che
                                                                            f-C
                                                                                   lien
                                                                                       t
        Hardware Config
                                                                                              (uses “Sledgehammer”)
                                                  DHCP

                                                                                                 Server(s)
                                                                          t   
                                                                  PXE Boo
Crowbar & OpenStack Cookbooks

‣    Having cookbooks is not enough, Crowbar also
     ‣    Understands how the cookbooks connect together

     ‣    Helps you plan out the networking & server allocations

‣    Crowbar has a consistent Chef design approach
     ‣    “Proposal” databags to setup attributes and run-lists

     ‣    Consistent naming conventions
     ‣    Roles to link things together – A LOT OF ROLES

‣    Crowbar adds many cookbooks for network,
     monitoring, provisioning & hardware config.
Chef for OpenStack
‣    Community for the automated deployment and
     management of OpenStack
     ‣    opscode.com/openstack/

‣    Cookbooks
‣    Documentation
‣    Mailing list
     ‣    groups.google.com/group/opscode-chef-openstack

‣    IRC
     ‣    #openstack-chef on irc.freenode.net
Chef for OpenStack Goals
Already a lot of OpenStack deployments managed with Chef
‣    Provide a stable set of core OpenStack cookbooks
‣    Document how the pieces work together
‣    Evolve to keep up with latest changes
‣    Expand support into new technologies
     ‣    Operating systems, databases, hypervisors, etc.

     ‣    Alternate storage types

     ‣    Alternate networking implementations for Quantum
Chef for OpenStack Roadmap
‣    Get stable Essex cookbooks out
‣    Establish patterns of collaboration
‣    Continuous Integration and gated testing
‣    Folsom milestones
‣    Documentation, documentation, documentation
Upstreaming accelerates strong deploys

‣    Feedback loops enable cookbooks to mature quickly

                              Community Cookbooks	





         Dell Crowbar	

                  Chef	

      Cloud A	

     Host B	





  Crowbar             Dell                              Cloud A
                                   Chef Community	

 Community	

      Customers	

                        Customers
Infrastructure as Code Repositories
‣    Deploy your data center with Crowbar
     ‣    Store this in version control

     ‣    Test your changes

     ‣    Promote to production

     ‣    Rinse, repeat

‣    OpenStack deployment is managed with Chef
     ‣    See above

‣    Deploy your applications on OpenStack with Chef
     ‣    See above
Deploy Your Applications on OpenStack
‣    Nova Dashboard
‣    Knife OpenStack
‣    enStratus
‣    Hybrid Cloud!?
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
knife openstack server create --flavor 1 --image 7
 -S keypair -r 'role[hadoop-worker]’



‣    Deploy applications on top of OpenStack

‣    Manage them with Chef

‣    Configuration backed by version control

‣    Transfer your infrastructure anywhere
Challenges

‣    Making Community work sharable
‣    Testing / Validation
     ‣    Community 

     ‣    Keeping on Upstreams
     ‣    Automation (Tempest & CI)

     ‣    Linking Dev and Ops

‣    Upgrade Process
‣    # of configurations
Join the Community & Get Started
‣    Invest in reusing community code
     ‣    Respect abstractions & patterns from community code

     ‣    Participate in communities

     ‣    Submit bugs (and patches!)

‣    Use Upstreams!
     ‣    Community Cookbooks… Opscode

          ‣    community.opscode.com

     ‣    Deploy Infrastructure… Dell Crowbar

          ‣    github.com/dellcloudedge/crowbar
Thanks!
Rob Hirschfeld
‣    rob_hirschfeld@dell.com
‣    Twitter: @zehicle
‣    Blog: robhirschfeld.com
Matt Ray
‣    matt@opscode.com
‣    Twitter/GitHub/IRC: @mattray
‣    Blog: leastresistance.net

Más contenido relacionado

La actualidad más candente

Optimizing Cloud Foundry and OpenStack for large scale deployments
Optimizing Cloud Foundry and OpenStack for large scale deploymentsOptimizing Cloud Foundry and OpenStack for large scale deployments
Optimizing Cloud Foundry and OpenStack for large scale deployments
Animesh Singh
 
Dell and OpenStack
Dell and OpenStackDell and OpenStack
Dell and OpenStack
eNovance
 
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud ComputingOSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
Mark Hinkle
 
Hitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud ComputingHitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud Computing
Mark Hinkle
 
What's new in Nuxeo 5.2? - Solutions Linux 2009
What's new in Nuxeo 5.2? - Solutions Linux 2009What's new in Nuxeo 5.2? - Solutions Linux 2009
What's new in Nuxeo 5.2? - Solutions Linux 2009
Stefane Fermigier
 
Stacking up with OpenStack: building for High Availability
Stacking up with OpenStack: building for High AvailabilityStacking up with OpenStack: building for High Availability
Stacking up with OpenStack: building for High Availability
OpenStack Foundation
 

La actualidad más candente (20)

Optimizing Cloud Foundry and OpenStack for large scale deployments
Optimizing Cloud Foundry and OpenStack for large scale deploymentsOptimizing Cloud Foundry and OpenStack for large scale deployments
Optimizing Cloud Foundry and OpenStack for large scale deployments
 
Cloudfoundry architecture
Cloudfoundry architectureCloudfoundry architecture
Cloudfoundry architecture
 
Dell and OpenStack
Dell and OpenStackDell and OpenStack
Dell and OpenStack
 
IBM and OpenStack: Collaboration Beyond the Code
IBM and OpenStack: Collaboration Beyond the CodeIBM and OpenStack: Collaboration Beyond the Code
IBM and OpenStack: Collaboration Beyond the Code
 
AWS - Managing Your Cloud Assets 2013
AWS - Managing Your Cloud Assets 2013AWS - Managing Your Cloud Assets 2013
AWS - Managing Your Cloud Assets 2013
 
Successful PaaS and CI in the Cloud - EclipseCon 2012
Successful PaaS and CI in the Cloud - EclipseCon 2012Successful PaaS and CI in the Cloud - EclipseCon 2012
Successful PaaS and CI in the Cloud - EclipseCon 2012
 
Puppet on a string
Puppet on a stringPuppet on a string
Puppet on a string
 
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
 
Cloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 TutorialCloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 Tutorial
 
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud ComputingOSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
 
Hitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud ComputingHitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud Computing
 
20120524 cern data centre evolution v2
20120524 cern data centre evolution v220120524 cern data centre evolution v2
20120524 cern data centre evolution v2
 
g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008
 
What's new in Nuxeo 5.2? - Solutions Linux 2009
What's new in Nuxeo 5.2? - Solutions Linux 2009What's new in Nuxeo 5.2? - Solutions Linux 2009
What's new in Nuxeo 5.2? - Solutions Linux 2009
 
Stacking up with OpenStack: building for High Availability
Stacking up with OpenStack: building for High AvailabilityStacking up with OpenStack: building for High Availability
Stacking up with OpenStack: building for High Availability
 
Netflix Cloud Platform Building Blocks
Netflix Cloud Platform Building BlocksNetflix Cloud Platform Building Blocks
Netflix Cloud Platform Building Blocks
 
Cloud Immortality - Architecting for High Availability & Disaster Recovery
Cloud Immortality - Architecting for High Availability & Disaster RecoveryCloud Immortality - Architecting for High Availability & Disaster Recovery
Cloud Immortality - Architecting for High Availability & Disaster Recovery
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and Ops
 
Domestic cloud
Domestic cloudDomestic cloud
Domestic cloud
 
Improving your Time to Market with AWS
Improving your Time to Market with AWSImproving your Time to Market with AWS
Improving your Time to Market with AWS
 

Destacado

Openstack devops challenges
Openstack devops challenges Openstack devops challenges
Openstack devops challenges
openstackindia
 
Nadya ip 9ci
Nadya ip 9ciNadya ip 9ci
Nadya ip 9ci
nadyaipi
 
Same looks, different compo...
Same looks, different compo...Same looks, different compo...
Same looks, different compo...
Ruaidhri Gleeson
 
4.4 fractional exponents notes 2
4.4 fractional exponents notes 24.4 fractional exponents notes 2
4.4 fractional exponents notes 2
Edith Steeves
 
TechStory_CLASA_A4_eng_[1]
TechStory_CLASA_A4_eng_[1]TechStory_CLASA_A4_eng_[1]
TechStory_CLASA_A4_eng_[1]
Ruaidhri Gleeson
 

Destacado (20)

Openstack 2016 Barcelona - Adiuvo Bot – Smart DevOps using bots for effectiv...
Openstack 2016  Barcelona - Adiuvo Bot – Smart DevOps using bots for effectiv...Openstack 2016  Barcelona - Adiuvo Bot – Smart DevOps using bots for effectiv...
Openstack 2016 Barcelona - Adiuvo Bot – Smart DevOps using bots for effectiv...
 
DevOps and OpenStack December 2012
DevOps and OpenStack December 2012DevOps and OpenStack December 2012
DevOps and OpenStack December 2012
 
Openstack devops challenges
Openstack devops challenges Openstack devops challenges
Openstack devops challenges
 
Why so continuous
Why so continuousWhy so continuous
Why so continuous
 
Unix in the Cloud — Ignorance, Stagnation, Obsolescence
Unix in the Cloud — Ignorance, Stagnation, ObsolescenceUnix in the Cloud — Ignorance, Stagnation, Obsolescence
Unix in the Cloud — Ignorance, Stagnation, Obsolescence
 
Eli Mansoor, Rackspace - The Rackspace Story, OpenStacl Israel 2015
Eli Mansoor, Rackspace - The Rackspace Story, OpenStacl Israel 2015Eli Mansoor, Rackspace - The Rackspace Story, OpenStacl Israel 2015
Eli Mansoor, Rackspace - The Rackspace Story, OpenStacl Israel 2015
 
Application Management in Openstack
Application Management in Openstack Application Management in Openstack
Application Management in Openstack
 
muhammad salman LI ppt
muhammad salman LI pptmuhammad salman LI ppt
muhammad salman LI ppt
 
Nadya ip 9ci
Nadya ip 9ciNadya ip 9ci
Nadya ip 9ci
 
Same looks, different compo...
Same looks, different compo...Same looks, different compo...
Same looks, different compo...
 
Foire de Caen 2015 - Communiqué de Presse
Foire de Caen 2015 - Communiqué de PresseFoire de Caen 2015 - Communiqué de Presse
Foire de Caen 2015 - Communiqué de Presse
 
Barak Merimovich (GIgaSpaces) & Gal Moav (Ravello) - Devstack on Demand, Open...
Barak Merimovich (GIgaSpaces) & Gal Moav (Ravello) - Devstack on Demand, Open...Barak Merimovich (GIgaSpaces) & Gal Moav (Ravello) - Devstack on Demand, Open...
Barak Merimovich (GIgaSpaces) & Gal Moav (Ravello) - Devstack on Demand, Open...
 
4.4 fractional exponents notes 2
4.4 fractional exponents notes 24.4 fractional exponents notes 2
4.4 fractional exponents notes 2
 
Tarea 3: Competencias informáticas
Tarea 3: Competencias informáticasTarea 3: Competencias informáticas
Tarea 3: Competencias informáticas
 
Ieeepro techno solutions ieee java project - privacy-preserving multi-keywor...
Ieeepro techno solutions  ieee java project - privacy-preserving multi-keywor...Ieeepro techno solutions  ieee java project - privacy-preserving multi-keywor...
Ieeepro techno solutions ieee java project - privacy-preserving multi-keywor...
 
TechStory_CLASA_A4_eng_[1]
TechStory_CLASA_A4_eng_[1]TechStory_CLASA_A4_eng_[1]
TechStory_CLASA_A4_eng_[1]
 
How Openstack is Built
How Openstack is BuiltHow Openstack is Built
How Openstack is Built
 
HIPERVINCULOS
HIPERVINCULOSHIPERVINCULOS
HIPERVINCULOS
 
Dov Shalev, Kontron - Quantum Leap in Converged Modular Servers for Cloud Inf...
Dov Shalev, Kontron - Quantum Leap in Converged Modular Servers for Cloud Inf...Dov Shalev, Kontron - Quantum Leap in Converged Modular Servers for Cloud Inf...
Dov Shalev, Kontron - Quantum Leap in Converged Modular Servers for Cloud Inf...
 
OpenStack in Production
OpenStack in ProductionOpenStack in Production
OpenStack in Production
 

Similar a OSCON 2012 OpenStack Automation and DevOps Best Practices

Operating the Hyperscale Cloud
Operating the Hyperscale CloudOperating the Hyperscale Cloud
Operating the Hyperscale Cloud
Open Stack
 
Deploying OpenStack using Crowbar
Deploying OpenStack using CrowbarDeploying OpenStack using Crowbar
Deploying OpenStack using Crowbar
openstackindia
 
Opscode-Eucalyptus Webinar 20110721
 Opscode-Eucalyptus Webinar 20110721 Opscode-Eucalyptus Webinar 20110721
Opscode-Eucalyptus Webinar 20110721
Chef Software, Inc.
 

Similar a OSCON 2012 OpenStack Automation and DevOps Best Practices (20)

Operating the Hyperscale Cloud
Operating the Hyperscale CloudOperating the Hyperscale Cloud
Operating the Hyperscale Cloud
 
Deploying OpenStack using Crowbar
Deploying OpenStack using CrowbarDeploying OpenStack using Crowbar
Deploying OpenStack using Crowbar
 
Cloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleCloud Computing: Making IT Simple
Cloud Computing: Making IT Simple
 
Cloud Computing - Making IT Simple
 Cloud Computing - Making IT Simple Cloud Computing - Making IT Simple
Cloud Computing - Making IT Simple
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructure
 
Cloud Computing - Making IT Simple
Cloud Computing - Making IT SimpleCloud Computing - Making IT Simple
Cloud Computing - Making IT Simple
 
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
21st Century SOA
21st Century SOA21st Century SOA
21st Century SOA
 
Opscode-Eucalyptus Webinar 20110721
 Opscode-Eucalyptus Webinar 20110721 Opscode-Eucalyptus Webinar 20110721
Opscode-Eucalyptus Webinar 20110721
 
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
 
OpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overviewOpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overview
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware Administrators
 
Using Camunda on Kubernetes through Operators
Using Camunda on Kubernetes through OperatorsUsing Camunda on Kubernetes through Operators
Using Camunda on Kubernetes through Operators
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Architecting a Private Cloud - Cloud Expo
Architecting a Private Cloud - Cloud ExpoArchitecting a Private Cloud - Cloud Expo
Architecting a Private Cloud - Cloud Expo
 
Introducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformIntroducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platform
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference Architecture
 

Más de Matt Ray

Más de Matt Ray (20)

Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
 
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
 

Último

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

OSCON 2012 OpenStack Automation and DevOps Best Practices

  • 1. Automation and DevOps Best Practices Rob Hirschfeld, Dell Matt Ray, Opscode
  • 2. Deploying & Managing a Cloud is not simple. •  Deploying to physical gear on layered networks •  Multiple interlocking projects •  Hundreds of configuration options •  An aggressive 6 month delivery cycle •  Constant innovation on core technologies It does not have to be hard!
  • 3. Problem: Clouds do not operate themselves! Operations Servers Networks Storage Etc. Expertise
  • 4. Ops automation (“devops”) jumpstarts learning, reduces complexity and manages scale. Operations Automation ic (DevOps) ur Top O Servers Networks Storage Etc. Operations Expertise
  • 5. DevOps is CAMS ‣  Culture ‣  Automation ‣  Measurement ‣  Sharing
  • 6. Foundation for Success: Open Operations ‣  Start with “Operations as Code” ‣  Leverage the community ‣  Write Operations code so it can be openly shared ‣  Learn from other people’s experience ‣  Make operations a priority ‣  Engage developers in operations challenges ‣  Make deployability a dev & test concern ‣  These are central issues to Opscode & Dell
  • 7. What is Chef? ‣  An Open Source automation platform to continuously define, build, and manage infrastructure. ‣  Chef enables people to easily build & manage complex & dynamic applications at massive scale ‣  Built on the idea of Infrastructure as Code ‣  Programmatically provision and configure nodes ‣  Reconstruct business from code repository, data backup, and bare metal resources.
  • 8. How Can Chef Help? Blueprint Your Build Anything… And Manage It Simply Infrastructure Provision compute • Introduce continuous • Compute resources in the Data incremental change or total change. • Application Center and the Cloud • Infrastructure • Automatically reconfigure • Storage everything • Security • Application Stacks • Re-provision for disaster • Network • Big Data recovery • Configuration Standards • HPC • Fail-over to bare metal • IaaS • Monitor for compliance • PaaS • Cloud migrations become Using 1,000’s of man- trivial • SaaS days of prior art!
  • 9. A model for reuse that works! 500+ Cookbooks © Opscode, 2011 – Confidential – DO NOT DISTRIBUTE 9
  • 10. The Path to Full Automation Full Continuous Infrastructure Deployment Automation Application Configuration Management Common Discovery and Management Automation Visibility Tasks: Scripts, OS Compliance, Updates & Patches
  • 11. OpenStack has a lot of interlocking parts!
  • 12. …and it matters how they are deployed! Cookbooks
  • 13. Clouds are a complex: not like an app ‣  Building up OpenStack requires a system view ‣  Breaking projects into discrete cookbooks enables maintainability ‣  Conventions are needed so that projects and cross reference each other ‣  Networking is critical ‣  Each component requires correct VLAN, teaming and virtual bridge configuration. ‣  Each site has unique networking needs (IP, subnet, VLAN) ‣  NIC enumeration can break even the simplest scipts ‣  Hardware configuration is boring but very important ‣  Application choices force configuration changes (late binding) ‣  Small mistakes can be very expensive to find and fix ‣  We needed a way to make deploy simpler, faster & repeatable
  • 14. OpenStack Installer: Dell Crowbar Project ‣  Field Proven Technologies ‣  Build on locally deployed Chef Server, Raw servers to full cloud in <2 hours, Multi-Node from the ground up, Hardened with over a year of real deployments ‣  Apache 2 Open Source (on github/dellcloudedge) ‣  Multi-Apps (OpenStack & Hadoop), Multi-OS (Ubuntu, RHEL, CentOS, SUSE), Development “in the open” w/ community engagement ‣  OpenStack Releases (dell.com/OpenStack) ‣  Cactus, Diablo and Essex! ‣  Not Dell Hardware Limited
  • 15. Crowbar Builds Up Clouds in layers APIs, User Access, & Ecosystem Partners Ops Management Dell “Crowbar” Cloud Infrastructure Core Components & Operating Systems Physical Resources
  • 16. 1) Hardware Configuration APIs, User Access, & Ecosystem Partners Ops Management Dell “Crowbar” Cloud Infrastructure Core Components & Operating Systems Physical Resources
  • 17. 2) OS and Ops Infrastructure APIs, User Access, & Ecosystem Partners Ops Management Dell “Crowbar” Cloud Infrastructure Core Components & Operating Systems * Physical Resources * Suse pending, based on open source activity
  • 18. 3) Cloud Platform Integration APIs, User Access, & Ecosystem Partners Ops Management Dell “Crowbar” Cloud Infrastructure Core Components & Operating Systems * Physical Resources * Suse pending, based on open source activity
  • 19. 4) Cloud App Management APIs, User Access, & Ecosystem Partners Ops Management Dell “Crowbar” Cloud Infrastructure Core Components & Operating Systems Physical Resources
  • 20. OpenStack Orchestration: Chef & Crowbar Status (po st) Orchestration State Machine OpenStack Components Ops Management Crowbar Magic Happens! nt Clie Dell “Crowbar” f- Che Run List Chef-Client Network Configuration Chef Server Chef-C lient Operating System Config. Che f-C lien t Hardware Config (uses “Sledgehammer”) DHCP Server(s) t PXE Boo
  • 21. Crowbar & OpenStack Cookbooks ‣  Having cookbooks is not enough, Crowbar also ‣  Understands how the cookbooks connect together ‣  Helps you plan out the networking & server allocations ‣  Crowbar has a consistent Chef design approach ‣  “Proposal” databags to setup attributes and run-lists ‣  Consistent naming conventions ‣  Roles to link things together – A LOT OF ROLES ‣  Crowbar adds many cookbooks for network, monitoring, provisioning & hardware config.
  • 22. Chef for OpenStack ‣  Community for the automated deployment and management of OpenStack ‣  opscode.com/openstack/ ‣  Cookbooks ‣  Documentation ‣  Mailing list ‣  groups.google.com/group/opscode-chef-openstack ‣  IRC ‣  #openstack-chef on irc.freenode.net
  • 23. Chef for OpenStack Goals Already a lot of OpenStack deployments managed with Chef ‣  Provide a stable set of core OpenStack cookbooks ‣  Document how the pieces work together ‣  Evolve to keep up with latest changes ‣  Expand support into new technologies ‣  Operating systems, databases, hypervisors, etc. ‣  Alternate storage types ‣  Alternate networking implementations for Quantum
  • 24. Chef for OpenStack Roadmap ‣  Get stable Essex cookbooks out ‣  Establish patterns of collaboration ‣  Continuous Integration and gated testing ‣  Folsom milestones ‣  Documentation, documentation, documentation
  • 25. Upstreaming accelerates strong deploys ‣  Feedback loops enable cookbooks to mature quickly Community Cookbooks Dell Crowbar Chef Cloud A Host B Crowbar Dell Cloud A Chef Community Community Customers Customers
  • 26. Infrastructure as Code Repositories ‣  Deploy your data center with Crowbar ‣  Store this in version control ‣  Test your changes ‣  Promote to production ‣  Rinse, repeat ‣  OpenStack deployment is managed with Chef ‣  See above ‣  Deploy your applications on OpenStack with Chef ‣  See above
  • 27. Deploy Your Applications on OpenStack ‣  Nova Dashboard ‣  Knife OpenStack ‣  enStratus ‣  Hybrid Cloud!?
  • 29. 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)
  • 30. knife-openstack knife openstack server create --flavor 1 --image 7 -S keypair -r 'role[hadoop-worker]’ ‣  Deploy applications on top of OpenStack ‣  Manage them with Chef ‣  Configuration backed by version control ‣  Transfer your infrastructure anywhere
  • 31. Challenges ‣  Making Community work sharable ‣  Testing / Validation ‣  Community ‣  Keeping on Upstreams ‣  Automation (Tempest & CI) ‣  Linking Dev and Ops ‣  Upgrade Process ‣  # of configurations
  • 32. Join the Community & Get Started ‣  Invest in reusing community code ‣  Respect abstractions & patterns from community code ‣  Participate in communities ‣  Submit bugs (and patches!) ‣  Use Upstreams! ‣  Community Cookbooks… Opscode ‣  community.opscode.com ‣  Deploy Infrastructure… Dell Crowbar ‣  github.com/dellcloudedge/crowbar
  • 33. Thanks! Rob Hirschfeld ‣  rob_hirschfeld@dell.com ‣  Twitter: @zehicle ‣  Blog: robhirschfeld.com Matt Ray ‣  matt@opscode.com ‣  Twitter/GitHub/IRC: @mattray ‣  Blog: leastresistance.net