SlideShare une entreprise Scribd logo
1  sur  30
Infrastructure in the
             Cloud Era
        Adam Jacob - Co-founder & CTO, Opscode
Ezra Zygmuntowicz - Co-Founder & Mad Scientist Engine Yard


                Opscode
Please Join our Ad-Hoc
              Cloud
 If you have a Mac with Developer Tools
               installed...
curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
 talking about?




curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
     talking about?

•   Bootstrapping




     curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
   talking about?

•Bootstrapping
• Configuration


  curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
   talking about?

•Bootstrapping
• Configuration
• Command and Control

  curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Many
  Different
   Tools
curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Bootstrapping


curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Bootstrapping Approaches
                            Good                         Bad                Time

                       Known Costs, No           High Waste (Hoarding)
                           Variation.                  Red Tape
Corp Approvals                                                              6-8w
                   Anything you want, as long     Expensive ($/Time)
                     as IT pre-approved it.          Long lead time


                                                      Lower Waste
  Agile Corp             Known Costs.                Less Red Tape
                                                                            2-4w
                    Total Hardware Control.             Still slow
  Approvals            Trivial Approvals.          Expensive ($/Time)
                                                    Shorter lead time


                        Variable Costs.
                       Highly Adaptable.             Variable Costs.
    Cloud                                                                   5-10m
                      Minimal lead time.        No control over hardware.
                       Trivial approvals.            Must re-train.
                      No humans needed.

               curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Why Time Matters
Total Bootstrapping Time in Weeks
                      Corp Approvals
                      Agile Approvals
                      Cloud
                          8



  6



                                4

         2


                  0
      Best Time                         0
                          Worst Time
                  curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Tools for Bootstrapping
  PXE Boot
     FAI
System Imager
  Kickstart
  Cobbler




         curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Bootstrapping Demo
                      Engine Yard Solo




Now would be a totally sweet time to pull out your Mac and run...
  curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Configuration



curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Manage
Complexity
 curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
java            logrotate bind postgresql
                                                 redmine
     rubygems
                 iptables      mongrel      rails


      Manage
                   memcached munin resolver
    perlbal
         nginx                             php logwatch
                            maradns
   ports     ebuilds                      erlang
    apt-proxy nagios openssh

     Complexity
                                        nscd       sudo
                         apache
                                mysql
         keepalived                         trac
 dpkgs                  ntp     openldap
       rpms     ipvsadm
jira                                  subversion
                              rsync
                                              couchdb

          curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Configuration Approaches
                               Good                               Bad

                                                                  Slow.
                         You can do anything.
                                                         Error Prone (Bus Error!)
    Manual              Results in an intimate
                                                             Non-repeatable.
                       knowledge of the details.
                                                       Difficult knowledge transfer.



                                                           Rarely idempotent.
                            More repeatable.
                                                           Hard to collaborate.
    Ad-Hoc               Knowledge is dispersed.
                                                                 Brittle.
                    Built your way, with your model.
                                                                 No API.


                              Repeatable.
Infrastructure as             Idempotent.              Have to learn how to use it.
                                 Agile.                 Hard things remain hard.
      Code                      Sharable.                  Not magic. (Yet!)
                           Self documenting.

             curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Tools for Configuration
            Chef, Puppet, Cfengine, Bcfg2



        Shell Scripts, Perl, Python, Ruby, etc.



               Operating System tools
               Your favorite text editor




   curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Infrastructure as Code



Manage configuration as idempotent Resources.
        Put them together in Recipes.
          Track it like source code.
           Configure your servers.
  You can learn more about Chef at http://wiki.opscode.com/display/chef/Home
           curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
You need an API


You can learn more about Chef at http://wiki.opscode.com/display/chef/Home
         curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Command and Control



  You are running out of time to join the Ad-Hoc Cloud Party!
  curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Command and Control
                                   Good                             Bad

                                Super flexible.                   Error Prone.
                           Can do almost anything.                  Slow.
 Meatcloud*             Always easy to find someone to         Expensive to Scale.
                                    blame.                     Not repeatable.
                                  Free will.                      Free will.


                                                            One-off by neccessity.
                               More repeatable.
                                                               Tooling sprawl.
    Ad-Hoc                      Easier to scale.
                                                           Hard to share solutions.
                         Less error prone (hopefully!)
                                                          Much higher learning curve.


                             One system to learn.
                                 Scales well.             Not everything maps cleanly.
 Framework                    Paint by numbers.          Trades depth of knowledge for
                                 Repeatable.                      ease of use.
                                  Two-Way.

*Meatcloud appears in this presentation courtesy of Andrew Shafer - http://is.gd/Ega
       Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Tools for Command
    and Control
               Nanite, Capistrano, Control Tier



             Shell Scripts, Perl, Python, Ruby, etc.



                               You
                         Your co-workers




Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Command and Control
     Demo


You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master
What else can you do?

• Application Deployment
• Starting and stopping services
• Maintenance
• You name it.
In Practice
Typical Peak Load


1.       Bring on capacity as traffic ramps up
2.       Take down capacity as it ramps down
3.         10-15 Minutes on either side, fully
                    unattended


     Graphs in this portion of the presentation taken from Theo Schlossnagle
         http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
Atypical Load
No way                                                                  However,
around                                                                    you are
Capacity                                                                still better
Planning                                                                     off!

   1.           Hope you know it is coming.
   2.           Increase capacity in advance.
   3.       Take down capacity as it ramps down.
        Graphs in this portion of the presentation taken from Theo Schlossnagle
            http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
1. Signal Command and
        Control
2. Analyze Responses
3. Rinse and Repeat
4.         Profit
1. Your infrastructure
      is disposable.
2. Make sure you can
  turn each layer off.
3. New efficiencies
   often lead to new
    hard problems.
Q &A
                      Brought to you by...

                     Opscode


  You can learn more about Chef at http://wiki.opscode.com/display/chef/Home
You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master

Contenu connexe

En vedette

Panduit IA UPS Benefits for Zone Networks
Panduit IA UPS Benefits for Zone NetworksPanduit IA UPS Benefits for Zone Networks
Panduit IA UPS Benefits for Zone NetworksPanduit
 
Cloud Taxonomy: Platform vs Infrastructure
Cloud Taxonomy: Platform vs InfrastructureCloud Taxonomy: Platform vs Infrastructure
Cloud Taxonomy: Platform vs InfrastructureAppistry
 
Plant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IPPlant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IPPanduit
 
Hypervisor Security - OpenStack Summit Hong Kong
Hypervisor Security - OpenStack Summit Hong KongHypervisor Security - OpenStack Summit Hong Kong
Hypervisor Security - OpenStack Summit Hong KongRobert Clark
 
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...Thorne & Derrick International
 
Hp Fortify Cloud Application Security
Hp Fortify Cloud Application SecurityHp Fortify Cloud Application Security
Hp Fortify Cloud Application SecurityEd Wong
 
Everything about Cloud Computing
Everything about Cloud ComputingEverything about Cloud Computing
Everything about Cloud ComputingIDS Infotech
 
Expanding Your Data Center with Hybrid Cloud Infrastructure
Expanding Your Data Center with Hybrid Cloud InfrastructureExpanding Your Data Center with Hybrid Cloud Infrastructure
Expanding Your Data Center with Hybrid Cloud InfrastructureAmazon Web Services
 
Cloud Service Architecture - Overcoming HIPAA Challenges - Click Software
Cloud Service Architecture  - Overcoming HIPAA Challenges - Click SoftwareCloud Service Architecture  - Overcoming HIPAA Challenges - Click Software
Cloud Service Architecture - Overcoming HIPAA Challenges - Click SoftwareIsrael AWS User Group
 

En vedette (13)

4 hp converged_cloud
4 hp converged_cloud4 hp converged_cloud
4 hp converged_cloud
 
Panduit IA UPS Benefits for Zone Networks
Panduit IA UPS Benefits for Zone NetworksPanduit IA UPS Benefits for Zone Networks
Panduit IA UPS Benefits for Zone Networks
 
Cloud Taxonomy: Platform vs Infrastructure
Cloud Taxonomy: Platform vs InfrastructureCloud Taxonomy: Platform vs Infrastructure
Cloud Taxonomy: Platform vs Infrastructure
 
Plant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IPPlant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IP
 
Hypervisor Security - OpenStack Summit Hong Kong
Hypervisor Security - OpenStack Summit Hong KongHypervisor Security - OpenStack Summit Hong Kong
Hypervisor Security - OpenStack Summit Hong Kong
 
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...
Panduit Stainless Steel Cable Tie & Marking Systems For Cable & Pipe Identifi...
 
Panduit MEHT187 Cable Marking Hand Tools
Panduit MEHT187 Cable Marking Hand ToolsPanduit MEHT187 Cable Marking Hand Tools
Panduit MEHT187 Cable Marking Hand Tools
 
Hp Fortify Cloud Application Security
Hp Fortify Cloud Application SecurityHp Fortify Cloud Application Security
Hp Fortify Cloud Application Security
 
Everything about Cloud Computing
Everything about Cloud ComputingEverything about Cloud Computing
Everything about Cloud Computing
 
Expanding Your Data Center with Hybrid Cloud Infrastructure
Expanding Your Data Center with Hybrid Cloud InfrastructureExpanding Your Data Center with Hybrid Cloud Infrastructure
Expanding Your Data Center with Hybrid Cloud Infrastructure
 
AWS
AWSAWS
AWS
 
Cloud Service Architecture - Overcoming HIPAA Challenges - Click Software
Cloud Service Architecture  - Overcoming HIPAA Challenges - Click SoftwareCloud Service Architecture  - Overcoming HIPAA Challenges - Click Software
Cloud Service Architecture - Overcoming HIPAA Challenges - Click Software
 
Virus and worms
Virus and wormsVirus and worms
Virus and worms
 

Dernier

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
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...Jeffrey Haguewood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Dernier (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
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...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Infrastructure In The Cloud Era

  • 1. Infrastructure in the Cloud Era Adam Jacob - Co-founder & CTO, Opscode Ezra Zygmuntowicz - Co-Founder & Mad Scientist Engine Yard Opscode
  • 2. Please Join our Ad-Hoc Cloud If you have a Mac with Developer Tools installed... curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 3. What are you guys talking about? curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 4. What are you guys talking about? • Bootstrapping curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 5. What are you guys talking about? •Bootstrapping • Configuration curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 6. What are you guys talking about? •Bootstrapping • Configuration • Command and Control curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 7. Many Different Tools curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 9. Bootstrapping Approaches Good Bad Time Known Costs, No High Waste (Hoarding) Variation. Red Tape Corp Approvals 6-8w Anything you want, as long Expensive ($/Time) as IT pre-approved it. Long lead time Lower Waste Agile Corp Known Costs. Less Red Tape 2-4w Total Hardware Control. Still slow Approvals Trivial Approvals. Expensive ($/Time) Shorter lead time Variable Costs. Highly Adaptable. Variable Costs. Cloud 5-10m Minimal lead time. No control over hardware. Trivial approvals. Must re-train. No humans needed. curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 10. Why Time Matters Total Bootstrapping Time in Weeks Corp Approvals Agile Approvals Cloud 8 6 4 2 0 Best Time 0 Worst Time curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 11. Tools for Bootstrapping PXE Boot FAI System Imager Kickstart Cobbler curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 12. Bootstrapping Demo Engine Yard Solo Now would be a totally sweet time to pull out your Mac and run... curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 14. Manage Complexity curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 15. java logrotate bind postgresql redmine rubygems iptables mongrel rails Manage memcached munin resolver perlbal nginx php logwatch maradns ports ebuilds erlang apt-proxy nagios openssh Complexity nscd sudo apache mysql keepalived trac dpkgs ntp openldap rpms ipvsadm jira subversion rsync couchdb curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 16. Configuration Approaches Good Bad Slow. You can do anything. Error Prone (Bus Error!) Manual Results in an intimate Non-repeatable. knowledge of the details. Difficult knowledge transfer. Rarely idempotent. More repeatable. Hard to collaborate. Ad-Hoc Knowledge is dispersed. Brittle. Built your way, with your model. No API. Repeatable. Infrastructure as Idempotent. Have to learn how to use it. Agile. Hard things remain hard. Code Sharable. Not magic. (Yet!) Self documenting. curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 17. Tools for Configuration Chef, Puppet, Cfengine, Bcfg2 Shell Scripts, Perl, Python, Ruby, etc. Operating System tools Your favorite text editor curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 18. Infrastructure as Code Manage configuration as idempotent Resources. Put them together in Recipes. Track it like source code. Configure your servers. You can learn more about Chef at http://wiki.opscode.com/display/chef/Home curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 19. You need an API You can learn more about Chef at http://wiki.opscode.com/display/chef/Home curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 20. Command and Control You are running out of time to join the Ad-Hoc Cloud Party! curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 21. Command and Control Good Bad Super flexible. Error Prone. Can do almost anything. Slow. Meatcloud* Always easy to find someone to Expensive to Scale. blame. Not repeatable. Free will. Free will. One-off by neccessity. More repeatable. Tooling sprawl. Ad-Hoc Easier to scale. Hard to share solutions. Less error prone (hopefully!) Much higher learning curve. One system to learn. Scales well. Not everything maps cleanly. Framework Paint by numbers. Trades depth of knowledge for Repeatable. ease of use. Two-Way. *Meatcloud appears in this presentation courtesy of Andrew Shafer - http://is.gd/Ega Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 22. Tools for Command and Control Nanite, Capistrano, Control Tier Shell Scripts, Perl, Python, Ruby, etc. You Your co-workers Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
  • 23. Command and Control Demo You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master
  • 24. What else can you do? • Application Deployment • Starting and stopping services • Maintenance • You name it.
  • 26. Typical Peak Load 1. Bring on capacity as traffic ramps up 2. Take down capacity as it ramps down 3. 10-15 Minutes on either side, fully unattended Graphs in this portion of the presentation taken from Theo Schlossnagle http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
  • 27. Atypical Load No way However, around you are Capacity still better Planning off! 1. Hope you know it is coming. 2. Increase capacity in advance. 3. Take down capacity as it ramps down. Graphs in this portion of the presentation taken from Theo Schlossnagle http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
  • 28. 1. Signal Command and Control 2. Analyze Responses 3. Rinse and Repeat 4. Profit
  • 29. 1. Your infrastructure is disposable. 2. Make sure you can turn each layer off. 3. New efficiencies often lead to new hard problems.
  • 30. Q &A Brought to you by... Opscode You can learn more about Chef at http://wiki.opscode.com/display/chef/Home You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master

Notes de l'éditeur

  1. Woot