SlideShare a Scribd company logo
Cloud Foundry and Ubuntu
        one year of bliss for a marriage
              made in heaven!




 Patrick Chanezon
 Senior Director
 Developer Relations
 chanezonp@vmware.com
 http://twitter.com/chanezon   Ubuntu Cloud Summit, May 2012


Tuesday, May 8, 12
P@ in a nutshell

                     • French, based in San Francisco
                     • Senior Director, Developer Relations,VMware
                     • Software Plumber, API guy, mix of Enterprise and
                     Consumer
                             • 18 years writing software, backend guy with a
                             taste for javascript
                             • 2 y Accenture (Notes guru), 3 y Netscape/AOL
                             (Servers, Portals), 5 y Sun (ecommerce, blogs,
                             Portals, feeds, open source)
                     • 6 years at Google, API guy (first hired, helped start the
                     team)
                             • Adwords, Checkout, Social, HTML5, Cloud


Tuesday, May 8, 12
Dreams Of my childhood




   3

Tuesday, May 8, 12
Accelerando / Singularity, in a Galaxy far far away

   § Even if we automate ourselves out of a job every 10 years
   § ...I don’t think the singularity is near!




   4

Tuesday, May 8, 12
Moore's Law is for Hardware Only

  § Does not apply to software
  § Productivity gains not keeping up with hardware and bandwidth
  § Writing software is hard, painful, and still very much a craft




   5

Tuesday, May 8, 12
Moore's Law’s free lunch is over




                     §        Herb Sutter, Welcome to the Jungle
                          http://herbsutter.com/welcome-to-the-jungle/

   6

Tuesday, May 8, 12
Future




       “The future is already here
       — it's just not very evenly
       distributed”
       William Gibson




   7


Tuesday, May 8, 12
Haiku - Skylark



       “Trampling on clouds,
       inhaling the mist,
       the skylark soars”
        —SHIKI



   8


Tuesday, May 8, 12
Haiku - Frog



       “Crouching,
       studying the clouds—
       a frog”
       CHIYO-JO


   9


Tuesday, May 8, 12
Architecture Changes: 60’s Mainframe




Tuesday, May 8, 12
Architecture Changes: 80’s Client-Server




Tuesday, May 8, 12
Architecture Changes: 90’s Web




Tuesday, May 8, 12
Architecture Changes: 2010’s Cloud, HTML5, Mobile




Tuesday, May 8, 12
Back to Client Server: Groovy Baby!




   14


Tuesday, May 8, 12
What is Cloud Computing?




                     Cloud According to my daughter Eliette

   15


Tuesday, May 8, 12
Cloud Stack - Classic Pyramid




                              Software
                             As A Service


                        Platform As A Service



                      Infrastructure As A Service




   16


Tuesday, May 8, 12
Cloud Stack - By Value




                             Software
                            As A Service




                        Platform As A Service




                             Infrastructure
                             As A Service




   17


Tuesday, May 8, 12
Cloud Stack - History

   § What does cloud mean, 4 main angles
        • Software 1994 Netscape
        • Infrastructure 2002 Amazon AWS
        • Platform 2008 Google
        • Development now!




                                           § Industrialization of hardware and
                                            software infrastructure
                                            like electricity beginning of 20th century



   § But software development itself is moving towards craftmanship

   18


Tuesday, May 8, 12
Cloud started at Consumer websites solving their needs
   • Google, Amazon, Yahoo, Facebook, Twitter
   • Large Data Sets
   • Storage Capacity growing faster than Moore’s Law
   • Fast Networks
   • Vertical -> Horizontal scalability
   • Open Source Software
   • Virtualization
   • Cloud is a productization of these infrastructures
       • Public Clouds Services: Google, Amazon
       • Open Source Software: Hadoop, Eucalyptus, Ubuntu, Cloud Foundry


Tuesday, May 8, 12
Infrastructure



    20

Tuesday, May 8, 12
IaaS/Virtualization getting mainstream

   §   AWS, Joyent, Rackspace,...
   §   Open Source projects: OpenStack, DeltaCloud, Eucalyptus
   §   Automation: Chef, Juju
   §   Standardization? DMTF
   §   Inside the Firewall, Virtualization: VMware, Microsoft, Xen, KVM
   §   50% of workloads are virtualized
   §   Easy to provision, manage instance...BUT
   §   Still need to manage backups, software stacks, monitor, upgrades




   21


Tuesday, May 8, 12
With Infrastructure, you still need to build your own platform

   § Need to build a distributed platform on top of you infrastructure
   § Story of the AWS meltdown from last summer
        • http://blog.reddit.com/2011/03/why-reddit-was-down-for-6-of-last-24.html
        • http://www.readwriteweb.com/cloud/2010/12/chaos-monkey-how-netflix-
         uses.php
        • http://news.ycombinator.com/item?id=2477296
        • http://stu.mp/2011/04/the-cloud-is-not-a-silver-bullet.html
   § Twilio, Smugmug, SimpleGeo survived it because they built their
        own distributed platform on top of IaaS
   § Enterprise customers want to consider Infrastructure like CDNs
        • Multi Cloud usage
        • Based on Open Source de facto standards, or full standards whenever that
         happens




   22


Tuesday, May 8, 12
Platforms


                      Let the wild rumpus begin!


    23

Tuesday, May 8, 12
Platforms


   § Raise the Unit of currency to be application & services instead of
        infrastructure
   § Google App Engine, Cloud Foundry, SalesForce Heroku, Cloudbees,
        Amazon Elastic Beanstalk, Microsoft ex-Azure, AppFog
   §   Single or a few languages, services
   §   Start of Multi language Polyglot platforms
   §   Enabler for Agile Developers -> Create Business value faster
   §   Lack of standards: risk, vendor lock-in
   §   Enterprise needs:
        • Control, customizability
        • Private/Hybrid Cloud
        • Avoid lock-in


   24


Tuesday, May 8, 12
Agile Development Processes




Tuesday, May 8, 12
Agility as a survival skill

   § Consumer software is becoming like fashion
        • Phone apps, social apps, short lifetime, fast lifecycles
        • Ab testing
   § Enterprise
        • Clay Shirky, rise of situational apps
   § Kent Beck, Usenix 2011 Talk, “Software G-Forces”
        change in software process when frequency grows
   § Cloud Platforms enables an Agile culture, driver for innovation
        • Scalability is built in the platforms
        • Can iterate faster
        • Focus on design
   § Cloud Platforms lets developers focus on driving business value



   26


Tuesday, May 8, 12
Main Risk: Lock-In




                        Welcome to the hotel california
                        Such a lovely place
                        Such a lovely face
                        Plenty of room at the hotel california
                        Any time of year, you can find it here

                        Last thing I remember, I was
                        Running for the door
                        I had to find the passage back
                        To the place I was before
                        ’relax,’ said the night man,
                        We are programmed to receive.
                        You can checkout any time you like,
                        But you can never leave!




   27


Tuesday, May 8, 12
Cloud Foundry: The Open PaaS

        • Open Source: Apache 2 Licensed
        • multi language/frameworks
        • multi services
        • multi cloud




                                              Ap




                                                                                          ce
                                                  pli
                            vFabric




                                                                                         rfa
                           Postgres                                                            Private
                                                     ca




                                                                                        nte
                                        Data
                                       Services         tio                                    Clouds




                                                                                      rI
                                                            n




                                                                                     e
                                                               Se
                                                                                          Public




                                                                                 vid
                                vFabric
                                RabbitMQTM                         rvi
                                                                                          Cloud




                                                                                 ro
                                             Msg Services
                                                                       ce




                                                                             dP
                                                                                      Micro

                                                                            ou
                                                             Other
                                                                                      Cloud
                                                                            Cl
                                                            Services




   28


Tuesday, May 8, 12
Open Source



    29

Tuesday, May 8, 12
Open Source Advantage: moves faster

   § http://code.google.com/p/googleappengine/issues/detail?id=13




   • https://github.com/cloudfoundry/vcap/pull/25




   30


Tuesday, May 8, 12
Open Source Advantage: diverse communities

        § Juju Charms to setup a multi node Cloud Foundry in 10 minutes
        § See Brian Thomason & Juan Negron’s UDS 2011 session




  http://cloud.ubuntu.com/2011/09/from-zero-to-drawbridge-via-ubuntu-
  server-ensemble-and-cloudfoundry-in-less-than-10-minutes/

   31


Tuesday, May 8, 12
Open Source Advantage: more innovation




   32


Tuesday, May 8, 12
CloudFoundry.org




   33

Tuesday, May 8, 12
Cloud Foundry Open Source Workflow

                                         cloudfoundry.com


                                                     production updated ~2x/week

                                              github
                                     github.com/cloudfoundry

                                                     on +2 and ✓ change pushed to github

             Reviewers     +1/-1        Gerrit Code Review          +2/-2      Committers
                                     reviews.cloudfoundry.org

                 test verification score ✓ ✗                git push triggers test execution

                                        Jenkins CI
                                   ci.cloudfoundry.org
   34



Tuesday, May 8, 12
Multi Cloud



    35

Tuesday, May 8, 12
CloudFoundry.COM

                                 Cloud Foundry

             Runtimes & Frameworks

             Services

                                vCenter / vSphere




             Infrastructure




    36

Tuesday, May 8, 12
Cloud Foundry.ORG

                                      Cloud Foundry


                     The Source Code to Compile & Build Cloud Foundry



                                     vCenter / vSphere

              Download            Setup          Setup Scripts   Deploy
                 Code          Environment                       Behind
                                                                 Firewall




    37

Tuesday, May 8, 12
Micro Cloud Foundry




                           Micro




    38

Tuesday, May 8, 12
What is a Micro Cloud?




                                           Or




                     Entire Cloud Running inside of a single VM


    39

Tuesday, May 8, 12
What is in Micro Cloud Foundry?


                                                                            .COM




                             Dynamic Updating DNS


                       App Instances                             Services




                     Open source Platform as a Service project




                                                                 10.04



    40

Tuesday, May 8, 12
Cloud Foundry is 1 year old

  § Services
  • Caldecott – tunnel into your services, explore with standard client tools
  • PostgreSQL, RabbitMQ


  § Frameworks, Runtimes, and Tools
  • Java and Ruby Auto-Reconfiguration
  • Scala, node.JS 0.6.*, Erlang, JRuby, PHP, Python, .NET, Spring 3.1, Grails 2.0,
        Play 2.0
  • Multi-Node Chef based deployment tools
  • Maven Plugin, Eclipse Integration
  • VMC manifests, Java Debugging, Rails Console
  • Standalone applications


  § Micro Cloud Foundry x 3
   41


Tuesday, May 8, 12
Cloud Foundry is 1 year old

  § Services
  • Caldecott – tunnel into your services, explore with standard client tools
  • PostgreSQL, RabbitMQ


  § Frameworks, Runtimes, and Tools
  • Java and Ruby Auto-Reconfiguration
  • Scala, node.JS 0.6.*, Erlang, JRuby, PHP, Python, .NET, Spring 3.1, Grails 2.0,
        Play 2.0
  • Multi-Node Chef based deployment tools
  • Maven Plugin, Eclipse Integration
  • VMC manifests, Java Debugging, Rails Console
  • Standalone applications


  § Micro Cloud Foundry x 3
   41


Tuesday, May 8, 12
Cloud Foundry Ecosystem




   42


Tuesday, May 8, 12
Cloud Foundry Ecosystem




   43


Tuesday, May 8, 12
Register today

              http://cloudfoundry.com/signup
             Use Promo Code     CFOpenTour2012
              To avoid approval queue waiting time




    44

Tuesday, May 8, 12
Cloud Foundry
                  BOSH

    45

Tuesday, May 8, 12
Production Grade Cloud Foundry Clusters

  §    500 – 5,000 VMs                             cloudfoundry.com

  §    40+ unique node types
  §    75+ unique software packages
  §    75+ unique environments
  §    2x/week cf.com updates
  §    24x7x365 non-stop operation
  §    No-downtime deployments
  §    Reliable, robust, repeatable
        deployments, updates, capacity
        adjustments
  § Small teams manage many
        instances                        production, staging, stress, qa, dev


  Google style problem è                  Google style solution
   46

Tuesday, May 8, 12
Cloud Foundry BOSH

   § Cloud Foundry BOSH is an open source tool-chain for release
        engineering, deployment, and lifecycle management of large scale
        distributed services
        • Prescriptive way of creating releases and managing systems and services
        • It is not a collection of shell scripts, not a pile of Perl


   § Built to deploy and manage production-class, large scale clusters
        • Production grade Cloud Foundry clusters: 500+ VMs, 40+ jobs, 75+ packages
        • Multi-node, multi-tier, complex clusters: e.g., our Gerrit/Jenkins Cluster


   § Built for devops usage and scale by a crack team of veterans
        • A project, not a product: command line interface, YAML, etc.
        • Continuous improvement, iterative development, rough edges

             github.com/cloudfoundry/bosh
   47

Tuesday, May 8, 12
BOSH: under the hood


            BOSH User
                          “BOSH is deployed by BOSH”

     bosh cli           director            healthmon
                                                        cloudfoundry.com




       db                 redis                nats




                        workers           blobs          active jobs


                                                agent
                        IaaS CPI             stemcell      disk

48



 Tuesday, May 8, 12
IaaS neutral by design


   vSphere: battle tested implementation, thousands of
   deployments                                                               CPI: code complete
   vCloud Director: “work in progress”, 2H 2012                              functional status: “work in progress”




                                               Cloud Foundry BOSH


                                     Cloud Provider Interface (CPI)




                                                                              github.com/piston/openstack-bosh-cpi


                                        contribute: github.com/cloudfoundry/bosh

   49




Tuesday, May 8, 12
BOSH Resources
                     @DrNic
                     http://drnicwilliams.com/2012/04/16/creating-a-bosh-from-scratch-on-aws/




                      @BrianMMcClain
                     http://www.brianmmcclain.com/2012/05/08/using-bosh-with-vsphere-part-2/




    https://github.com/cloudfoundry/bosh

    https://groups.google.com/a/cloudfoundry.org/group/bosh-users/topics

    https://github.com/piston/openstack-bosh-cpi




   50

Tuesday, May 8, 12
Cloud for Developers: the true path is PaaS!




   51


Tuesday, May 8, 12
Development
                        As A
                       Service
    52

Tuesday, May 8, 12
Development

   §   Final frontier, happening now
   §   Not whole product yet
   §   Social Coding: Google code, Github
   §   Web IDEs: Cloud9, Exo, Orion
   §   Higher level case tools, Wavemaker, Orangescape, Runmyprocess
   §   Continuous Integration: Jenkins, Cloudbees, OpenShift
   §   Test: feature of cloud platforms
   §   Knowledge Sharing: StackOverflow




   53

Tuesday, May 8, 12
Lessons for
                     Developers

    54

Tuesday, May 8, 12
Predictions


   § Software is becoming like fashion, design rules
   § Welcome to Babel, use the best tool for the job, embrace multiple
        language & heterogeneity
   § Our jobs will change, build yourself out of your current job
   § Sysadmin jobs will morph, there will be less of them
   § Many opportunities open when you embrace change




   55


Tuesday, May 8, 12
Things to Forget

   §   First normal form
   §   Waterfall model
   §   Single server deployment
   §   Single language skill
   §   Build everything from scratch
   §   Build custom infrastructure




   56


Tuesday, May 8, 12
Things to Learn

        • Agile
        • Take risks, fail often, fail fast and learn
        • API Design: create the API first
        • UI Design, Javacript, HTML5, CSS3
        • A/B Testing
        • Open Source, Open Standards
        • Architecture, Distributed Computing (CAP theorem, 8 fallacies)
        • Cloud Platforms and APIs
        • Multiple types of languages (imperative, object, functional, logic)
        • Ability to encapsulate domain knowledge in a DSL
        • Build on the shoulders of giants: reuse, REST APIs
        • Pick your battles, choose what you need to build yourself to add value
        • Learn to live in a box (embrace platform limitations) to think outside the box
        • Use an App Store for distribution
        • Consider your career as a startup
   57


Tuesday, May 8, 12
Tuesday, May 8, 12
Such stuff as dreams are made on


   § Like a kid on a candy store: there's never been a better time to be a
        software developer!
   § Welcome to the Cloud: embrace change and reinvent yourselves
   § “The future is already there, not evenly distributed” Gibson
   § We Developers, invent the future today




   59


Tuesday, May 8, 12
Cloud Foundry Resources

     Primary Site : cloudfoundry.com
     Open Source Site : cloudfoundry.org


     Twitter : @cloudfoundry , hash tag #cfoundry
     Blog : blog.cloudfoundry.com
     FB : facebook.com/cloudfoundry


     Support : support.cloudfoundry.com
      • Documentation
      • Knowledge Base
      • Q & A / Forums
     We’re hiring: www.cloudfoundry.com/jobs



    60

Tuesday, May 8, 12
Questions




    61

Tuesday, May 8, 12
                     ?
Thank You!
               t @CloudFoundry


               t @chanezon

                     Website   : www.cloudfoundry.com
                     Blog      : blog.cloudfoundry.com
                     Forum     : support.cloudfoundry.com

Tuesday, May 8, 12
Books / Articles


   §   Nick Carr, The Big Switch
   §   Eric Raymond, The Art of Unix Programming
   §   Weinberg, Psychology of Computer Programming
   §   Wes python book
   §   Mark html5 book
   §   Kent Beck XP
   §   Hunt, Thomas, The Pragmatic Programmer
   §   Ade Oshineye, Apprenticeship Patterns
   §   Matt Cutt's Ignite Talk IO 2011, Trying different things
   §   Josh Bloch talk about api design
   §   Larry and Sergey, Anatomy of a Search Engine
   §   Rob Pike, The Practice of Programming

   63


Tuesday, May 8, 12
Papers / Talks


   §   Simon Wardley, Oscon 09 “Cloud - Why IT Matters”
   §   Tim O’Reilly article on internet os
   §   Peter Deutsch’s 8 Fallacies of Distributed Computing
   §   Brewer’s CAP Theorem
   §   Gregor Hohpe’s Starbucks Does Not Use Two-Phase Commit
   §   Stuff I tag http://www.delicious.com/chanezon/
   §   More specifically http://www.delicious.com/chanezon/cloudfoundry
   §   My previous Talks http://www.slideshare.net/chanezon
   §   My list of favorite books
        http://www.chanezon.com/pat/soft_books.html




   64


Tuesday, May 8, 12
Acknowledgement

   § Drawings from my daughters Eliette
   § Slides from Dave McCrory, Derek Collison, Duke Leto
   § Haiku from Addiss, Stephen; Yamamoto, Fumiko; Yamamoto,
        Fumiko Y.; Yamamoto, Akira Y. (2011-06-22). Haiku: An Anthology of
        Japanese Poems (Shambhala Library)
   § Painting Hiroshige, Sengai




   65


Tuesday, May 8, 12

More Related Content

PDF
Portrait of the Developer As "The Artist" - English Version
PDF
Cloud Foundry Japan Community Meetup
PDF
UDS 2011 - Cloud Foundry and Ubuntu, a marriage made in heaven
PDF
Interop 2011 - Scaling Platform As A Service
PDF
Tackling complexity in giant systems: approaches from several cloud providers
PDF
Cloud Foundry Bootcamp
PDF
Ruby conf2010 OpenPaaS
PDF
Global Netflix Platform
Portrait of the Developer As "The Artist" - English Version
Cloud Foundry Japan Community Meetup
UDS 2011 - Cloud Foundry and Ubuntu, a marriage made in heaven
Interop 2011 - Scaling Platform As A Service
Tackling complexity in giant systems: approaches from several cloud providers
Cloud Foundry Bootcamp
Ruby conf2010 OpenPaaS
Global Netflix Platform

What's hot (17)

PDF
Spring in the Cloud
PDF
Java For The Cloud Presentation @ AlphaCSP's JavaEdge 2008
PPSX
Drupal And The Non Profit Agency
PDF
Keeping Movies Running Amid Thunderstorms!
PDF
Acquia Managed Cloud: Highly Available Architecture for Highly Unpredictable ...
PDF
RESTing in the ALPS Mike Amundsen's Presentation from QCon London 2013
PDF
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
PDF
Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...
KEY
Cloud Computing & Scaling Web Apps
PDF
2012 Q4 Cooperative Support for CAS Update
PDF
Unicon CAS Update March 2013
PDF
Portrait of the developer as The Artist - SpringOne India 2012
PPTX
NetflixOSS Meetup
PDF
Netflix Architecture Tutorial at Gluecon
PDF
Joyent circa 2006 (Scale with Rails)
PDF
Netflix on Cloud - combined slides for Dev and Ops
PDF
Stay Connected - world IPv6 Launch
Spring in the Cloud
Java For The Cloud Presentation @ AlphaCSP's JavaEdge 2008
Drupal And The Non Profit Agency
Keeping Movies Running Amid Thunderstorms!
Acquia Managed Cloud: Highly Available Architecture for Highly Unpredictable ...
RESTing in the ALPS Mike Amundsen's Presentation from QCon London 2013
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...
Cloud Computing & Scaling Web Apps
2012 Q4 Cooperative Support for CAS Update
Unicon CAS Update March 2013
Portrait of the developer as The Artist - SpringOne India 2012
NetflixOSS Meetup
Netflix Architecture Tutorial at Gluecon
Joyent circa 2006 (Scale with Rails)
Netflix on Cloud - combined slides for Dev and Ops
Stay Connected - world IPv6 Launch
Ad

Similar to Cloud Foundry and Ubuntu - 2012 (20)

PDF
Cloud Foundry the Open PaaS - OpenTour Austin Keynote
PDF
Cloud Foundry OpenTour Kiev Keynote
PDF
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A Service
PDF
Cloud Foundry, the Open Platform As A Service
PDF
Cloud Foundry Introduction - Canada - October 2012
PDF
Portrait of the Developer as the Artist - OpenTour Sofia
PDF
NATO IST Symposium 2013
PDF
NCA GTUG 2012 - Cloud is such stuff as dreams are made on
PDF
Cloud Foundry, Spring and Vaadin
PDF
RubyWorld 2011
PDF
cloud-application-architectures-oreilly-media.pdf
PDF
Cloud Camp Chicago Dec 2012 - All presentations
PDF
Cloud Camp Chicago Dec 2012 Slides
PDF
Cf intro for spring devs
PDF
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
KEY
Cloud Foundry Bootcamp
PPTX
Web Scale Applications using NeflixOSS Cloud Platform
PDF
Flying on the cloud
PDF
Creating Cloud Communities
PDF
CloudCamp London #17 Intro
Cloud Foundry the Open PaaS - OpenTour Austin Keynote
Cloud Foundry OpenTour Kiev Keynote
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A Service
Cloud Foundry, the Open Platform As A Service
Cloud Foundry Introduction - Canada - October 2012
Portrait of the Developer as the Artist - OpenTour Sofia
NATO IST Symposium 2013
NCA GTUG 2012 - Cloud is such stuff as dreams are made on
Cloud Foundry, Spring and Vaadin
RubyWorld 2011
cloud-application-architectures-oreilly-media.pdf
Cloud Camp Chicago Dec 2012 - All presentations
Cloud Camp Chicago Dec 2012 Slides
Cf intro for spring devs
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
Cloud Foundry Bootcamp
Web Scale Applications using NeflixOSS Cloud Platform
Flying on the cloud
Creating Cloud Communities
CloudCamp London #17 Intro
Ad

More from Patrick Chanezon (20)

PPTX
KubeCon 2019 - Scaling your cluster (both ways)
PPTX
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
PPTX
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PPTX
Docker Enterprise Workshop - Intro
PPTX
Docker Enterprise Workshop - Technical
PPTX
The Tao of Docker - ITES 2018
PPTX
Moby KubeCon 2017
PPTX
Microsoft Techsummit Zurich Docker and Microsoft
PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
PPTX
Docker Meetup Feb 2018 Develop and deploy Kubernetes Apps with Docker
PPTX
DockerCon EU 2017 Recap
PPTX
Docker Innovation Culture
PPTX
The Tao of Docker - Devfest Nantes 2017
PPTX
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
PPTX
Moby Open Source Summit North America 2017
PPTX
Moby Introduction - June 2017
PPTX
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
PPTX
Weave User Group Talk - DockerCon 2017 Recap
PPTX
Oscon 2017: Build your own container-based system with the Moby project
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Docker Enterprise Workshop - Intro
Docker Enterprise Workshop - Technical
The Tao of Docker - ITES 2018
Moby KubeCon 2017
Microsoft Techsummit Zurich Docker and Microsoft
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Docker Meetup Feb 2018 Develop and deploy Kubernetes Apps with Docker
DockerCon EU 2017 Recap
Docker Innovation Culture
The Tao of Docker - Devfest Nantes 2017
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
Moby Open Source Summit North America 2017
Moby Introduction - June 2017
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
Weave User Group Talk - DockerCon 2017 Recap
Oscon 2017: Build your own container-based system with the Moby project

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
sap open course for s4hana steps from ECC to s4
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Programs and apps: productivity, graphics, security and other tools
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”

Cloud Foundry and Ubuntu - 2012

  • 1. Cloud Foundry and Ubuntu one year of bliss for a marriage made in heaven! Patrick Chanezon Senior Director Developer Relations chanezonp@vmware.com http://twitter.com/chanezon Ubuntu Cloud Summit, May 2012 Tuesday, May 8, 12
  • 2. P@ in a nutshell • French, based in San Francisco • Senior Director, Developer Relations,VMware • Software Plumber, API guy, mix of Enterprise and Consumer • 18 years writing software, backend guy with a taste for javascript • 2 y Accenture (Notes guru), 3 y Netscape/AOL (Servers, Portals), 5 y Sun (ecommerce, blogs, Portals, feeds, open source) • 6 years at Google, API guy (first hired, helped start the team) • Adwords, Checkout, Social, HTML5, Cloud Tuesday, May 8, 12
  • 3. Dreams Of my childhood 3 Tuesday, May 8, 12
  • 4. Accelerando / Singularity, in a Galaxy far far away § Even if we automate ourselves out of a job every 10 years § ...I don’t think the singularity is near! 4 Tuesday, May 8, 12
  • 5. Moore's Law is for Hardware Only § Does not apply to software § Productivity gains not keeping up with hardware and bandwidth § Writing software is hard, painful, and still very much a craft 5 Tuesday, May 8, 12
  • 6. Moore's Law’s free lunch is over § Herb Sutter, Welcome to the Jungle http://herbsutter.com/welcome-to-the-jungle/ 6 Tuesday, May 8, 12
  • 7. Future “The future is already here — it's just not very evenly distributed” William Gibson 7 Tuesday, May 8, 12
  • 8. Haiku - Skylark “Trampling on clouds, inhaling the mist, the skylark soars” —SHIKI 8 Tuesday, May 8, 12
  • 9. Haiku - Frog “Crouching, studying the clouds— a frog” CHIYO-JO 9 Tuesday, May 8, 12
  • 10. Architecture Changes: 60’s Mainframe Tuesday, May 8, 12
  • 11. Architecture Changes: 80’s Client-Server Tuesday, May 8, 12
  • 12. Architecture Changes: 90’s Web Tuesday, May 8, 12
  • 13. Architecture Changes: 2010’s Cloud, HTML5, Mobile Tuesday, May 8, 12
  • 14. Back to Client Server: Groovy Baby! 14 Tuesday, May 8, 12
  • 15. What is Cloud Computing? Cloud According to my daughter Eliette 15 Tuesday, May 8, 12
  • 16. Cloud Stack - Classic Pyramid Software As A Service Platform As A Service Infrastructure As A Service 16 Tuesday, May 8, 12
  • 17. Cloud Stack - By Value Software As A Service Platform As A Service Infrastructure As A Service 17 Tuesday, May 8, 12
  • 18. Cloud Stack - History § What does cloud mean, 4 main angles • Software 1994 Netscape • Infrastructure 2002 Amazon AWS • Platform 2008 Google • Development now! § Industrialization of hardware and software infrastructure like electricity beginning of 20th century § But software development itself is moving towards craftmanship 18 Tuesday, May 8, 12
  • 19. Cloud started at Consumer websites solving their needs • Google, Amazon, Yahoo, Facebook, Twitter • Large Data Sets • Storage Capacity growing faster than Moore’s Law • Fast Networks • Vertical -> Horizontal scalability • Open Source Software • Virtualization • Cloud is a productization of these infrastructures • Public Clouds Services: Google, Amazon • Open Source Software: Hadoop, Eucalyptus, Ubuntu, Cloud Foundry Tuesday, May 8, 12
  • 20. Infrastructure 20 Tuesday, May 8, 12
  • 21. IaaS/Virtualization getting mainstream § AWS, Joyent, Rackspace,... § Open Source projects: OpenStack, DeltaCloud, Eucalyptus § Automation: Chef, Juju § Standardization? DMTF § Inside the Firewall, Virtualization: VMware, Microsoft, Xen, KVM § 50% of workloads are virtualized § Easy to provision, manage instance...BUT § Still need to manage backups, software stacks, monitor, upgrades 21 Tuesday, May 8, 12
  • 22. With Infrastructure, you still need to build your own platform § Need to build a distributed platform on top of you infrastructure § Story of the AWS meltdown from last summer • http://blog.reddit.com/2011/03/why-reddit-was-down-for-6-of-last-24.html • http://www.readwriteweb.com/cloud/2010/12/chaos-monkey-how-netflix- uses.php • http://news.ycombinator.com/item?id=2477296 • http://stu.mp/2011/04/the-cloud-is-not-a-silver-bullet.html § Twilio, Smugmug, SimpleGeo survived it because they built their own distributed platform on top of IaaS § Enterprise customers want to consider Infrastructure like CDNs • Multi Cloud usage • Based on Open Source de facto standards, or full standards whenever that happens 22 Tuesday, May 8, 12
  • 23. Platforms Let the wild rumpus begin! 23 Tuesday, May 8, 12
  • 24. Platforms § Raise the Unit of currency to be application & services instead of infrastructure § Google App Engine, Cloud Foundry, SalesForce Heroku, Cloudbees, Amazon Elastic Beanstalk, Microsoft ex-Azure, AppFog § Single or a few languages, services § Start of Multi language Polyglot platforms § Enabler for Agile Developers -> Create Business value faster § Lack of standards: risk, vendor lock-in § Enterprise needs: • Control, customizability • Private/Hybrid Cloud • Avoid lock-in 24 Tuesday, May 8, 12
  • 26. Agility as a survival skill § Consumer software is becoming like fashion • Phone apps, social apps, short lifetime, fast lifecycles • Ab testing § Enterprise • Clay Shirky, rise of situational apps § Kent Beck, Usenix 2011 Talk, “Software G-Forces” change in software process when frequency grows § Cloud Platforms enables an Agile culture, driver for innovation • Scalability is built in the platforms • Can iterate faster • Focus on design § Cloud Platforms lets developers focus on driving business value 26 Tuesday, May 8, 12
  • 27. Main Risk: Lock-In Welcome to the hotel california Such a lovely place Such a lovely face Plenty of room at the hotel california Any time of year, you can find it here Last thing I remember, I was Running for the door I had to find the passage back To the place I was before ’relax,’ said the night man, We are programmed to receive. You can checkout any time you like, But you can never leave! 27 Tuesday, May 8, 12
  • 28. Cloud Foundry: The Open PaaS • Open Source: Apache 2 Licensed • multi language/frameworks • multi services • multi cloud Ap ce pli vFabric rfa Postgres Private ca nte Data Services tio Clouds rI n e Se Public vid vFabric RabbitMQTM rvi Cloud ro Msg Services ce dP Micro ou Other Cloud Cl Services 28 Tuesday, May 8, 12
  • 29. Open Source 29 Tuesday, May 8, 12
  • 30. Open Source Advantage: moves faster § http://code.google.com/p/googleappengine/issues/detail?id=13 • https://github.com/cloudfoundry/vcap/pull/25 30 Tuesday, May 8, 12
  • 31. Open Source Advantage: diverse communities § Juju Charms to setup a multi node Cloud Foundry in 10 minutes § See Brian Thomason & Juan Negron’s UDS 2011 session http://cloud.ubuntu.com/2011/09/from-zero-to-drawbridge-via-ubuntu- server-ensemble-and-cloudfoundry-in-less-than-10-minutes/ 31 Tuesday, May 8, 12
  • 32. Open Source Advantage: more innovation 32 Tuesday, May 8, 12
  • 33. CloudFoundry.org 33 Tuesday, May 8, 12
  • 34. Cloud Foundry Open Source Workflow cloudfoundry.com production updated ~2x/week github github.com/cloudfoundry on +2 and ✓ change pushed to github Reviewers +1/-1 Gerrit Code Review +2/-2 Committers reviews.cloudfoundry.org test verification score ✓ ✗ git push triggers test execution Jenkins CI ci.cloudfoundry.org 34 Tuesday, May 8, 12
  • 35. Multi Cloud 35 Tuesday, May 8, 12
  • 36. CloudFoundry.COM Cloud Foundry Runtimes & Frameworks Services vCenter / vSphere Infrastructure 36 Tuesday, May 8, 12
  • 37. Cloud Foundry.ORG Cloud Foundry The Source Code to Compile & Build Cloud Foundry vCenter / vSphere Download Setup Setup Scripts Deploy Code Environment Behind Firewall 37 Tuesday, May 8, 12
  • 38. Micro Cloud Foundry Micro 38 Tuesday, May 8, 12
  • 39. What is a Micro Cloud? Or Entire Cloud Running inside of a single VM 39 Tuesday, May 8, 12
  • 40. What is in Micro Cloud Foundry? .COM Dynamic Updating DNS App Instances Services Open source Platform as a Service project 10.04 40 Tuesday, May 8, 12
  • 41. Cloud Foundry is 1 year old § Services • Caldecott – tunnel into your services, explore with standard client tools • PostgreSQL, RabbitMQ § Frameworks, Runtimes, and Tools • Java and Ruby Auto-Reconfiguration • Scala, node.JS 0.6.*, Erlang, JRuby, PHP, Python, .NET, Spring 3.1, Grails 2.0, Play 2.0 • Multi-Node Chef based deployment tools • Maven Plugin, Eclipse Integration • VMC manifests, Java Debugging, Rails Console • Standalone applications § Micro Cloud Foundry x 3 41 Tuesday, May 8, 12
  • 42. Cloud Foundry is 1 year old § Services • Caldecott – tunnel into your services, explore with standard client tools • PostgreSQL, RabbitMQ § Frameworks, Runtimes, and Tools • Java and Ruby Auto-Reconfiguration • Scala, node.JS 0.6.*, Erlang, JRuby, PHP, Python, .NET, Spring 3.1, Grails 2.0, Play 2.0 • Multi-Node Chef based deployment tools • Maven Plugin, Eclipse Integration • VMC manifests, Java Debugging, Rails Console • Standalone applications § Micro Cloud Foundry x 3 41 Tuesday, May 8, 12
  • 43. Cloud Foundry Ecosystem 42 Tuesday, May 8, 12
  • 44. Cloud Foundry Ecosystem 43 Tuesday, May 8, 12
  • 45. Register today http://cloudfoundry.com/signup Use Promo Code CFOpenTour2012 To avoid approval queue waiting time 44 Tuesday, May 8, 12
  • 46. Cloud Foundry BOSH 45 Tuesday, May 8, 12
  • 47. Production Grade Cloud Foundry Clusters § 500 – 5,000 VMs cloudfoundry.com § 40+ unique node types § 75+ unique software packages § 75+ unique environments § 2x/week cf.com updates § 24x7x365 non-stop operation § No-downtime deployments § Reliable, robust, repeatable deployments, updates, capacity adjustments § Small teams manage many instances production, staging, stress, qa, dev Google style problem è Google style solution 46 Tuesday, May 8, 12
  • 48. Cloud Foundry BOSH § Cloud Foundry BOSH is an open source tool-chain for release engineering, deployment, and lifecycle management of large scale distributed services • Prescriptive way of creating releases and managing systems and services • It is not a collection of shell scripts, not a pile of Perl § Built to deploy and manage production-class, large scale clusters • Production grade Cloud Foundry clusters: 500+ VMs, 40+ jobs, 75+ packages • Multi-node, multi-tier, complex clusters: e.g., our Gerrit/Jenkins Cluster § Built for devops usage and scale by a crack team of veterans • A project, not a product: command line interface, YAML, etc. • Continuous improvement, iterative development, rough edges github.com/cloudfoundry/bosh 47 Tuesday, May 8, 12
  • 49. BOSH: under the hood BOSH User “BOSH is deployed by BOSH” bosh cli director healthmon cloudfoundry.com db redis nats workers blobs active jobs agent IaaS CPI stemcell disk 48 Tuesday, May 8, 12
  • 50. IaaS neutral by design vSphere: battle tested implementation, thousands of deployments CPI: code complete vCloud Director: “work in progress”, 2H 2012 functional status: “work in progress” Cloud Foundry BOSH Cloud Provider Interface (CPI) github.com/piston/openstack-bosh-cpi contribute: github.com/cloudfoundry/bosh 49 Tuesday, May 8, 12
  • 51. BOSH Resources @DrNic http://drnicwilliams.com/2012/04/16/creating-a-bosh-from-scratch-on-aws/ @BrianMMcClain http://www.brianmmcclain.com/2012/05/08/using-bosh-with-vsphere-part-2/ https://github.com/cloudfoundry/bosh https://groups.google.com/a/cloudfoundry.org/group/bosh-users/topics https://github.com/piston/openstack-bosh-cpi 50 Tuesday, May 8, 12
  • 52. Cloud for Developers: the true path is PaaS! 51 Tuesday, May 8, 12
  • 53. Development As A Service 52 Tuesday, May 8, 12
  • 54. Development § Final frontier, happening now § Not whole product yet § Social Coding: Google code, Github § Web IDEs: Cloud9, Exo, Orion § Higher level case tools, Wavemaker, Orangescape, Runmyprocess § Continuous Integration: Jenkins, Cloudbees, OpenShift § Test: feature of cloud platforms § Knowledge Sharing: StackOverflow 53 Tuesday, May 8, 12
  • 55. Lessons for Developers 54 Tuesday, May 8, 12
  • 56. Predictions § Software is becoming like fashion, design rules § Welcome to Babel, use the best tool for the job, embrace multiple language & heterogeneity § Our jobs will change, build yourself out of your current job § Sysadmin jobs will morph, there will be less of them § Many opportunities open when you embrace change 55 Tuesday, May 8, 12
  • 57. Things to Forget § First normal form § Waterfall model § Single server deployment § Single language skill § Build everything from scratch § Build custom infrastructure 56 Tuesday, May 8, 12
  • 58. Things to Learn • Agile • Take risks, fail often, fail fast and learn • API Design: create the API first • UI Design, Javacript, HTML5, CSS3 • A/B Testing • Open Source, Open Standards • Architecture, Distributed Computing (CAP theorem, 8 fallacies) • Cloud Platforms and APIs • Multiple types of languages (imperative, object, functional, logic) • Ability to encapsulate domain knowledge in a DSL • Build on the shoulders of giants: reuse, REST APIs • Pick your battles, choose what you need to build yourself to add value • Learn to live in a box (embrace platform limitations) to think outside the box • Use an App Store for distribution • Consider your career as a startup 57 Tuesday, May 8, 12
  • 60. Such stuff as dreams are made on § Like a kid on a candy store: there's never been a better time to be a software developer! § Welcome to the Cloud: embrace change and reinvent yourselves § “The future is already there, not evenly distributed” Gibson § We Developers, invent the future today 59 Tuesday, May 8, 12
  • 61. Cloud Foundry Resources Primary Site : cloudfoundry.com Open Source Site : cloudfoundry.org Twitter : @cloudfoundry , hash tag #cfoundry Blog : blog.cloudfoundry.com FB : facebook.com/cloudfoundry Support : support.cloudfoundry.com • Documentation • Knowledge Base • Q & A / Forums We’re hiring: www.cloudfoundry.com/jobs 60 Tuesday, May 8, 12
  • 62. Questions 61 Tuesday, May 8, 12 ?
  • 63. Thank You! t @CloudFoundry t @chanezon Website : www.cloudfoundry.com Blog : blog.cloudfoundry.com Forum : support.cloudfoundry.com Tuesday, May 8, 12
  • 64. Books / Articles § Nick Carr, The Big Switch § Eric Raymond, The Art of Unix Programming § Weinberg, Psychology of Computer Programming § Wes python book § Mark html5 book § Kent Beck XP § Hunt, Thomas, The Pragmatic Programmer § Ade Oshineye, Apprenticeship Patterns § Matt Cutt's Ignite Talk IO 2011, Trying different things § Josh Bloch talk about api design § Larry and Sergey, Anatomy of a Search Engine § Rob Pike, The Practice of Programming 63 Tuesday, May 8, 12
  • 65. Papers / Talks § Simon Wardley, Oscon 09 “Cloud - Why IT Matters” § Tim O’Reilly article on internet os § Peter Deutsch’s 8 Fallacies of Distributed Computing § Brewer’s CAP Theorem § Gregor Hohpe’s Starbucks Does Not Use Two-Phase Commit § Stuff I tag http://www.delicious.com/chanezon/ § More specifically http://www.delicious.com/chanezon/cloudfoundry § My previous Talks http://www.slideshare.net/chanezon § My list of favorite books http://www.chanezon.com/pat/soft_books.html 64 Tuesday, May 8, 12
  • 66. Acknowledgement § Drawings from my daughters Eliette § Slides from Dave McCrory, Derek Collison, Duke Leto § Haiku from Addiss, Stephen; Yamamoto, Fumiko; Yamamoto, Fumiko Y.; Yamamoto, Akira Y. (2011-06-22). Haiku: An Anthology of Japanese Poems (Shambhala Library) § Painting Hiroshige, Sengai 65 Tuesday, May 8, 12