CloudFoundry Bootcamp springone2gx

666 views

Published on

Published in: Technology

CloudFoundry Bootcamp springone2gx

  1. 1. Cloud Foundry Bootcamp Josh Long Eric Bottard Spring Developer Advocate Developer Advocate josh.long@springsource.com ebottard@vmware.com @starbuxman @ebottard © 2012 VMware, Inc. All rights reservedmardi 16 octobre 12
  2. 2. Josh Long Spring Developer Advocate About Josh Long josh.long@springsource.com @starbuxman @starbuxman @ebottard CONFIDENTIAL 2mardi 16 octobre 12
  3. 3. Eric Bottard • Developer Advocate VMware • @ebottard • ebottard@vmware.commardi 16 octobre 12
  4. 4. What does Cloud Foundry offer? @starbuxman @ebottard CONFIDENTIAL 4mardi 16 octobre 12
  5. 5. Cloud Foundry: Choice of Runtimes @starbuxman @ebottard CONFIDENTIALmardi 16 octobre 12
  6. 6. Frameworks and Runtimes Supported • Out of the Box • Java (.WAR files, on Tomcat. Spring’s an ideal choice here, of course..) • Scala (Lift, Play!) • Ruby (Rails, Sinatra, etc.) • Node.js • Ecosystem Partners • .NET (Uhuru, Tier3) • Python (Stackato) • PHP (AppFog) • Haskell (1) • Erlang (2) 1) http://www.cakesolutions.net/teamblogs/2011/11/25/haskell-happstack-on-cloudfoundry/ 2) https://github.com/cloudfoundry/vcap/pull/20 @starbuxman @ebottard CONFIDENTIALmardi 16 octobre 12
  7. 7. Cloud Foundry: Choice of Clouds @starbuxman @ebottard CONFIDENTIAL 7mardi 16 octobre 12
  8. 8. 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! -the Eagles @starbuxman @ebottard CONFIDENTIAL 8mardi 16 octobre 12
  9. 9. Open Source Advantage @starbuxman @ebottard CONFIDENTIAL 9mardi 16 octobre 12
  10. 10. Open Source Advantage @starbuxman @ebottard CONFIDENTIALmardi 16 octobre 12
  11. 11. Cloud Foundry.org @starbuxman @ebottard CONFIDENTIAL 11mardi 16 octobre 12
  12. 12. Cloud Foundry.org @starbuxman @ebottard CONFIDENTIAL 12mardi 16 octobre 12
  13. 13. Cloud Foundry: Clouds § AppFog.com • community lead for PHP • PaaS for PHP § Joyent • community lead for Node.js § ActiveState • community lead for Python, Perl • Providers of Stackato private PaaS @starbuxman @ebottard CONFIDENTIAL 13mardi 16 octobre 12
  14. 14. Micro Cloud Foundry (beta) @starbuxman @ebottard CONFIDENTIAL 14mardi 16 octobre 12
  15. 15. Cloud Foundry: Services @starbuxman @ebottard CONFIDENTIAL 15mardi 16 octobre 12
  16. 16. Cloud Foundry: Services § Take Advantage of Services • they cost nothing to setup • they deliver value § They Encourage Better Architectures • Need a fast read-write cache? Redis is ready to go! • Need to store long-tail documents? Give MongoDB a try • Need to decouple what applications do from when they do it? Use messaging and RabbitMQ @starbuxman @ebottard CONFIDENTIAL 16mardi 16 octobre 12
  17. 17. Demo: logging in, asking questions, & deploying from the CLI @starbuxman @ebottard CONFIDENTIAL 17mardi 16 octobre 12
  18. 18. Accessing Your Services § Debugging and accessing the data locally • Caldecott --> Service tunneling. Access your Cloud Foundry service as if it was local. @starbuxman @ebottard CONFIDENTIAL 18mardi 16 octobre 12
  19. 19. Demo: Using the tunnel to talk to your services @starbuxman @ebottard CONFIDENTIAL 19mardi 16 octobre 12
  20. 20. Demo: developing with Eclipse & STS @starbuxman @ebottard CONFIDENTIAL 20mardi 16 octobre 12
  21. 21. Getting started with Cloud Foundry... @starbuxman @ebottard CONFIDENTIAL 21mardi 16 octobre 12
  22. 22. Register http://cloudfoundry.com/signup Use promo code SpringOne2012 @starbuxman @ebottard CONFIDENTIAL 22mardi 16 octobre 12
  23. 23. Welcome email @starbuxman @ebottard CONFIDENTIAL 23mardi 16 octobre 12
  24. 24. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  25. 25. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  26. 26. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  27. 27. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  28. 28. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  29. 29. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24mardi 16 octobre 12
  30. 30. Installing vmc on Windows @starbuxman @ebottard CONFIDENTIAL 25mardi 16 octobre 12
  31. 31. Installing vmc on Windows Install the vmc gem @starbuxman @ebottard CONFIDENTIAL 25mardi 16 octobre 12
  32. 32. Installing vmc on Mac OSX Use Ruby Version Manager http://beginrescueend.com/ $ curl -L https://get.rvm.io | bash -s stable --ruby $ rvm install 1.9.2 $ rvm use 1.9.2 You need: $ gem install vmc Command Line Tools for OSX or XCode 4.1!! @starbuxman @ebottard CONFIDENTIAL 26mardi 16 octobre 12
  33. 33. Josh Long | josh.long@springsource.com Eric Bottard | ebottard@vmware.com Questions? CloudFoundry.com signup promo code: SpringOne2012 @starbuxman @ebottard CONFIDENTIALmardi 16 octobre 12

×