Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cloudcamp Ghent - Cloud foundry-20111121

1,746 views

Published on

Talk given at Cloud Camp Ghent around Cloud Foundry, VMware's Open Platform As A Services

Published in: Technology, Business
  • Be the first to comment

Cloudcamp Ghent - Cloud foundry-20111121

  1. 1. t ical intr oduct ion t oa prac
  2. 2. t ical intr oduct ion t oa prac Lode Vermeiren @lode lvermeiren@vmware.com
  3. 3. . .but first some theory
  4. 4. MOVING APPS INTO THE CLOUD ERA & other frameworks vFabric 5 Build a GemFire, SQLFire (beta), Modernize Postgres, Data Driector DatavFabric 5 Applications Fabrictc Server,RabbitMQ,ERS, Hyperic, EM4J Deploy & Scale w/PaaS
  5. 5. WHAT’S NEW FOR APPS?
  6. 6. WHAT’S NEW FOR APPS?New frameworks & languages • Increase developer productivity • Reduce time to market
  7. 7. WHAT’S NEW FOR APPS?New frameworks & languages • Increase developer productivity • Reduce time to marketNew devices and domains • Mobile, social, and SaaS integration
  8. 8. WHAT’S NEW FOR APPS?New frameworks & languages • Increase developer productivity • Reduce time to marketNew devices and domains • Mobile, social, and SaaS integrationNew data types and requirements • Data deluge driving data tier elasticity • Flexible NoSQL data solutions • Realtime data
  9. 9. WHAT’S NEW FOR APPS?New frameworks & languages • Increase developer productivity • Reduce time to marketNew devices and domains • Mobile, social, and SaaS integrationNew data types and requirements • Data deluge driving data tier elasticity • Flexible NoSQL data solutions • Realtime dataNew infrastructures • Virtualization, Cloud, PaaS
  10. 10. CHALLENGES DEVELOPING &OPERATING APPS load balancer load balancer appserver appserver appserver worker messaging database cache model Manage Deploy Virtual Datacenter / IaaS infrastructure
  11. 11. WHAT DO DEVELOPERS & OPERATIONS WANT? Friction free application deployment/mgmt • Self service end-to-end • Deploy, manage, update, scale up/down • Integrated health, management, policy enforcement • Simple API, CLI, DSL that expresses intent$ vmc push my_front_end$ vmc push my_back_end • System automatically creates and maintains all connections$ bind services? Yes • Services are easy to consume, provided “aaS” • Integrated elasticity: $ vmc instances my-app +4 Maximize developer productivity, minimize opex Cloud Foundry Virtual Datacenter / IaaS infrastructure
  12. 12. CLOUD FOUNDRY OPEN PAASIt’s all about ChoiceChoice of clouds for deploymentChoice of industry-standard frameworksChoice of application infrastructure servicesExtensible architecture to “digest” future cloud innovationAvailable as open source
  13. 13. CHOICE OF FRAMEWORKS
  14. 14. CHOICE OF APPLICATION SERVICESvFabric ApPostgres p lic at Data io Services n Se rv ice Msg In Services te rfa ce Other Services
  15. 15. CHOICE OF CLOUDSvFabric ApPostgres p ce lic Private rfa at Data Clouds te io Services In n Se er rv id ov ice Public Pr Msg In Services Clouds ud te rfa o Cl ce Micro Other Services Clouds
  16. 16. CHOICE OF CLOUDSvFabric ApPostgres p ce lic Private rfa at Data Clouds te io Services In n Se er rv id ov ice Public Pr Msg In Services Clouds Partners ud te rfa o Cl .COM ce Micro Other Services Clouds
  17. 17. MAKING MULTI-CLOUD A REALITY Choice of Private Choice of Public Choice of CloudCloud Distributions Cloud Providers Infrastructure .COM Bare metal Project “Bento”
  18. 18. CLOUDFOUNDRY.COM Cloud FoundryRuntimes & FrameworksServices vCenter / vSphereInfrastructure
  19. 19. MICRO CLOUD FOUNDRY™ Cloud FoundryRuntimes & FrameworksServices Your Laptop
  20. 20. MICRO CLOUD FOUNDRY™ Cloud FoundryRuntimes & FrameworksServices Your Laptop (that’s it!)
  21. 21. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry Your infrastructure Setup Deploy Download Behind Code Environment Firewall Apache 2 license
  22. 22. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  23. 23. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  24. 24. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  25. 25. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  26. 26. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  27. 27. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  28. 28. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  29. 29. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  30. 30. CLOUDFOUNDRY.ORG - COMMUNITYPROJECT Cloud Foundry
  31. 31. demo time!
  32. 32. require ‘rubygems’require ‘sinatra’get ‘/’ do host = ENV[‘VMC_APP_HOST’] port = ENV[‘VMC_APP_PORT’] “Hello from CCG MCF Demo – Node : #{host}:#{port}”end
  33. 33. 1.unzip2.check NAT3.register dns4.vmc target5.vmc register6.vmc login7.vmc push8.change target9.vmc push require ‘rubygems’ require ‘sinatra’ get ‘/’ do host = ENV[‘VMC_APP_HOST’] port = ENV[‘VMC_APP_PORT’] “Hello from CCG MCF Demo – Node : #{host}:#{port}” end
  34. 34. Getting to your stuff: vmc tunnelhttp://blog.cloudfoundry.com/post/12928974099/now-you-can-tunnel-into-any-cloud-foundry-data-service
  35. 35. TRY IT OUTTODAY1. MICRO CLOUD USB STICKS2. CLOUDFOUNDRY.COM ACCOUNT:Use Promo Code “cloudcampgh” and skipthe queue. (Code expires nov 26)
  36. 36. TRY IT OUTTODAY write t his down !1. MICRO CLOUD USB STICKS2. CLOUDFOUNDRY.COM ACCOUNT:Use Promo Code “cloudcampgh” and skipthe queue. (Code expires nov 26)
  37. 37. THX!@lodeslideshare.net/lodevcloudfoundry.com - cloudfoundry.orggithub.com/cloudfoundry
  38. 38. THX!@lodeslideshare.net/lodev slides wit h extra linkscloudfoundry.com - cloudfoundry.orggithub.com/cloudfoundry
  39. 39. LINKS• Getting started: http://support.cloudfoundry.com/home• Background story: http://www.wired.com/wiredenterprise/2011/11/ cloud-foundry/• Code: http://github.com/cloudfoundry• PaaS: http://cloudfoundry.com• Project: http://cloudfoundry.org• Twitter: #cfoundry• Facebook: http://facebook.com/cloudfoundry• Working offline with Micro Cloud Foundry: http:// blog.cloudfoundry.com/post/9962996319/working-offline-with- micro-cloud-foundry• Environment variables: http://hello-spring-cli.cloudfoundry.com/env• Redis demo: http://support.cloudfoundry.com/entries/20320253- introduction-to-using-micro-cloud-foundry• Other links: https://pinboard.in/u:lode/t:cloudfoundry/ (coming in the following days as I find them :))

×