SlideShare uma empresa Scribd logo
1 de 33
Baixar para ler offline
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 reserved

mardi 16 octobre 12
Josh Long
 Spring Developer Advocate
  About Josh Long
 josh.long@springsource.com @starbuxman




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              2
mardi 16 octobre 12
Eric Bottard

   • Developer Advocate VMware
   •   @ebottard
   •   ebottard@vmware.com




mardi 16 octobre 12
What does
                      Cloud Foundry
                          offer?


                        @starbuxman @ebottard
                               CONFIDENTIAL


                                                4
mardi 16 octobre 12
Cloud Foundry: Choice of Runtimes




                      @starbuxman @ebottard
                             CONFIDENTIAL



mardi 16 octobre 12
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
                                               CONFIDENTIAL



mardi 16 octobre 12
Cloud Foundry: Choice of Clouds




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              7
mardi 16 octobre 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!

                                                            -the Eagles

                      @starbuxman @ebottard
                             CONFIDENTIAL


                                                                          8
mardi 16 octobre 12
Open Source Advantage




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              9
mardi 16 octobre 12
Open Source Advantage




                      @starbuxman @ebottard
                             CONFIDENTIAL



mardi 16 octobre 12
Cloud Foundry.org




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              11
mardi 16 octobre 12
Cloud Foundry.org




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              12
mardi 16 octobre 12
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


                                                               13
mardi 16 octobre 12
Micro Cloud Foundry (beta)




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              14
mardi 16 octobre 12
Cloud Foundry: Services




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              15
mardi 16 octobre 12
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


                                                                      16
mardi 16 octobre 12
Demo: logging in,
        asking questions, &
        deploying from the CLI




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              17
mardi 16 octobre 12
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


                                                                                                    18
mardi 16 octobre 12
Demo: Using the tunnel to talk to your services




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                                19
mardi 16 octobre 12
Demo: developing with Eclipse & STS




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              20
mardi 16 octobre 12
Getting started with
               Cloud Foundry...



                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              21
mardi 16 octobre 12
Register            http://cloudfoundry.com/signup




                                                       Use promo code

                                                       SpringOne2012




                              @starbuxman @ebottard
                                        CONFIDENTIAL


                                                                    22
mardi 16 octobre 12
Welcome email




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              23
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Ways to use Cloud Foundry




                      @starbuxman @ebottard
                             CONFIDENTIAL


                                              24
mardi 16 octobre 12
Installing vmc on Windows




                      @starbuxman @ebottard
                             CONFIDENTIAL

                                              25
mardi 16 octobre 12
Installing vmc on Windows




                                            Install the vmc gem




                      @starbuxman @ebottard
                             CONFIDENTIAL

                                                                  25
mardi 16 octobre 12
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


                                                                      26
mardi 16 octobre 12
Josh Long | josh.long@springsource.com
                          Eric Bottard | ebottard@vmware.com




                                     Questions?
                      CloudFoundry.com signup promo code: SpringOne2012
                                 @starbuxman @ebottard
                                         CONFIDENTIAL



mardi 16 octobre 12

Mais conteúdo relacionado

Semelhante a CloudFoundry Bootcamp springone2gx

GitHub Notable OSS Project
GitHub  Notable OSS ProjectGitHub  Notable OSS Project
GitHub Notable OSS Project
roumia
 
Cloud Foundry Japan Community Meetup
Cloud Foundry Japan Community MeetupCloud Foundry Japan Community Meetup
Cloud Foundry Japan Community Meetup
Patrick Chanezon
 

Semelhante a CloudFoundry Bootcamp springone2gx (7)

Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
GitHub Notable OSS Project
GitHub  Notable OSS ProjectGitHub  Notable OSS Project
GitHub Notable OSS Project
 
BETA: "Cloud Developers DHARMA: Redefining 'done' for Cloud applications"
BETA: "Cloud Developers DHARMA: Redefining 'done' for Cloud applications"BETA: "Cloud Developers DHARMA: Redefining 'done' for Cloud applications"
BETA: "Cloud Developers DHARMA: Redefining 'done' for Cloud applications"
 
Architecting large Node.js applications
Architecting large Node.js applicationsArchitecting large Node.js applications
Architecting large Node.js applications
 
Cloud Foundry Japan Community Meetup
Cloud Foundry Japan Community MeetupCloud Foundry Japan Community Meetup
Cloud Foundry Japan Community Meetup
 
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A Service
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A ServiceJapan Developer Summit (en) - Cloud Foundry, the Open Platform As A Service
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A Service
 
Cloud Foundry, Spring and Vaadin
Cloud Foundry, Spring and VaadinCloud Foundry, Spring and Vaadin
Cloud Foundry, Spring and Vaadin
 

Último

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
Victor Rentea
 
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
Victor Rentea
 

Último (20)

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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.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...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
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)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

CloudFoundry Bootcamp springone2gx

  • 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 reserved mardi 16 octobre 12
  • 2. Josh Long Spring Developer Advocate About Josh Long josh.long@springsource.com @starbuxman @starbuxman @ebottard CONFIDENTIAL 2 mardi 16 octobre 12
  • 3. Eric Bottard • Developer Advocate VMware • @ebottard • ebottard@vmware.com mardi 16 octobre 12
  • 4. What does Cloud Foundry offer? @starbuxman @ebottard CONFIDENTIAL 4 mardi 16 octobre 12
  • 5. Cloud Foundry: Choice of Runtimes @starbuxman @ebottard CONFIDENTIAL mardi 16 octobre 12
  • 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 CONFIDENTIAL mardi 16 octobre 12
  • 7. Cloud Foundry: Choice of Clouds @starbuxman @ebottard CONFIDENTIAL 7 mardi 16 octobre 12
  • 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 8 mardi 16 octobre 12
  • 9. Open Source Advantage @starbuxman @ebottard CONFIDENTIAL 9 mardi 16 octobre 12
  • 10. Open Source Advantage @starbuxman @ebottard CONFIDENTIAL mardi 16 octobre 12
  • 11. Cloud Foundry.org @starbuxman @ebottard CONFIDENTIAL 11 mardi 16 octobre 12
  • 12. Cloud Foundry.org @starbuxman @ebottard CONFIDENTIAL 12 mardi 16 octobre 12
  • 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 13 mardi 16 octobre 12
  • 14. Micro Cloud Foundry (beta) @starbuxman @ebottard CONFIDENTIAL 14 mardi 16 octobre 12
  • 15. Cloud Foundry: Services @starbuxman @ebottard CONFIDENTIAL 15 mardi 16 octobre 12
  • 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 16 mardi 16 octobre 12
  • 17. Demo: logging in, asking questions, & deploying from the CLI @starbuxman @ebottard CONFIDENTIAL 17 mardi 16 octobre 12
  • 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 18 mardi 16 octobre 12
  • 19. Demo: Using the tunnel to talk to your services @starbuxman @ebottard CONFIDENTIAL 19 mardi 16 octobre 12
  • 20. Demo: developing with Eclipse & STS @starbuxman @ebottard CONFIDENTIAL 20 mardi 16 octobre 12
  • 21. Getting started with Cloud Foundry... @starbuxman @ebottard CONFIDENTIAL 21 mardi 16 octobre 12
  • 22. Register http://cloudfoundry.com/signup Use promo code SpringOne2012 @starbuxman @ebottard CONFIDENTIAL 22 mardi 16 octobre 12
  • 23. Welcome email @starbuxman @ebottard CONFIDENTIAL 23 mardi 16 octobre 12
  • 24. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 25. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 26. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 27. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 28. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 29. Ways to use Cloud Foundry @starbuxman @ebottard CONFIDENTIAL 24 mardi 16 octobre 12
  • 30. Installing vmc on Windows @starbuxman @ebottard CONFIDENTIAL 25 mardi 16 octobre 12
  • 31. Installing vmc on Windows Install the vmc gem @starbuxman @ebottard CONFIDENTIAL 25 mardi 16 octobre 12
  • 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 26 mardi 16 octobre 12
  • 33. Josh Long | josh.long@springsource.com Eric Bottard | ebottard@vmware.com Questions? CloudFoundry.com signup promo code: SpringOne2012 @starbuxman @ebottard CONFIDENTIAL mardi 16 octobre 12