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.

The Cloud Foundry Bootcamp

1,884 views

Published on

Today's developers have enough problems. Focus on the things that are important- such as delivering business value - and leave the rest - infrastructure, services and management - to the first and best open-source PaaS from VMWare, Cloud Foundry

Published in: Technology
  • Be the first to comment

The Cloud Foundry Bootcamp

  1. 1. Cloud Foundry BootcampJava2Days 2012Josh LongSpring Developer Advocatejosh.long@springsource.com© 2012 VMware, Inc. All rights reserved
  2. 2. Josh LongSpring Developer Advocate About Josh Longjosh.long@springsource.com CONFIDENTIAL
  3. 3. About Josh LongContributor To:• Spring Integration• Spring Batch• Spring Hadoop• Activiti Workflow Engine CONFIDENTIAL
  4. 4. getting started with Cloud Foundry... CONFIDENTIAL
  5. 5. Register http://cloudfoundry.com/signup Use promo code CFOpenTour2012 CONFIDENTIAL
  6. 6. Welcome email CONFIDENTIAL
  7. 7. Ways to use Cloud Foundry CONFIDENTIAL
  8. 8. Ways to use Cloud Foundry CONFIDENTIAL
  9. 9. Ways to use Cloud Foundry CONFIDENTIAL
  10. 10. Ways to use Cloud Foundry CONFIDENTIAL
  11. 11. Ways to use Cloud Foundry CONFIDENTIAL
  12. 12. Ways to use Cloud Foundry CONFIDENTIAL
  13. 13. Installing vmc on Windows CONFIDENTIAL
  14. 14. Installing vmc on Windows Install the vmc gem CONFIDENTIAL
  15. 15. Installing vmc on Mac OSX Use Ruby Version Manager http://beginrescueend.com/$ bash -s stable <<(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)$ rvm install 1.9.2$ rvm use 1.9.2$ gem install vmc CONFIDENTIAL
  16. 16. what doesCloud Foundry offer? CONFIDENTIAL
  17. 17. Cloud Foundry: Choice of Runtimes CONFIDENTIAL
  18. 18. 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 CONFIDENTIAL
  19. 19. Cloud Foundry: Choice of Clouds CONFIDENTIAL
  20. 20. 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 CONFIDENTIAL
  21. 21. Open Source Advantage CONFIDENTIAL
  22. 22. Open Source Advantage CONFIDENTIAL
  23. 23. Cloud Foundry.org CONFIDENTIAL
  24. 24. 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 CONFIDENTIAL
  25. 25. Micro Cloud Foundry (beta) CONFIDENTIAL
  26. 26. Cloud Foundry.org CONFIDENTIAL
  27. 27. Cloud Foundry: Services CONFIDENTIAL
  28. 28. 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 CONFIDENTIAL
  29. 29. Accessing Your Services Debugging and accessing the data locally • Caldecott --> Service tunneling. Access your Cloud Foundry service as if it was local. CONFIDENTIAL
  30. 30. Demo: logging in, asking questions, & deploying from the CLI CONFIDENTIAL
  31. 31. Demo: Using the tunnel to talk to your services CONFIDENTIAL
  32. 32. Demo: developing with Eclipse & STS CONFIDENTIAL
  33. 33. Josh Long | josh.long@springsource.com twitter: @starbuxman Questions? CONFIDENTIAL

×