SlideShare une entreprise Scribd logo
1  sur  25
Cloud Foundry



Peter Ledbrook
Grails Advocate, SpringSource




                                NOT CONFIDENTIAL -- TELL EVERYONE
The story so far...




         Development and deployment
             of Java applications




                      NOT CONFIDENTIAL -- TELL EVERYONE   2
Where do I host my application?


         Shared                Dedicated                             Own

• Cheapest              • Delegate infra.                • Full control
                            management
                        •   Better performing
                            than shared
                        •   Control of resources

• ...but not as cheap as • Not cheap                     • Not cheap
    LAMP                                                 • You’re responsible for
•   Reliability                                              server management
•   Poor performance                                     •   Capital cost +
                                                             depreciation




                                 NOT CONFIDENTIAL -- TELL EVERYONE             3
Where do I host my application?




      ...and scaling?


                 NOT CONFIDENTIAL -- TELL EVERYONE   4
In the enterprise




            Dev                                         Ops


• Time to set up                     • Manual management of
  environment                          clustering...
• Provisioning delays                • ...and load balancing
                                     • Manage all datastores,
                                       message brokers, etc.
                                     • Dedicated hardware
                                       expensive + overhead

                        NOT CONFIDENTIAL -- TELL EVERYONE     5
Application deployment




                 NOT CONFIDENTIAL -- TELL EVERYONE   6
The promise of PaaS


          App 1              App 2                   App 3




                           Platform
       Servlet Container   Database            Other services


                       Infrastructure
               CPU          Memory                 OS


     • Zero config
     • Automatic provisioning
                           NOT CONFIDENTIAL -- TELL EVERYONE    7
Introducing...




         • It’s a PaaS
         • It’s open source
         • It’s provider agnostic
         • Has a local micro cloud




                   NOT CONFIDENTIAL -- TELL EVERYONE   8
Choice of frameworks


                                 .js




                 NOT CONFIDENTIAL -- TELL EVERYONE   9
Choice of services


                                                                              .js
                        Ap
                           pli
                              ca
                                tio
                                       n




     Data Services
                                         Se
                                           rv
                                              ice
                                                     In t




                     Msg Services
                                                      er
                                                         fa
                                                            ce




                                    Other Services




                                                              NOT CONFIDENTIAL -- TELL EVERYONE   10
Choice of clouds


                                                                              .js
                        Ap
                           pli




                                                                                       ce
                              ca




                                                                                        fa
                                                                                     er
                                tio




                                                                                 nt
                                                                                             Private
                                       n




     Data Services




                                                                                  I
                                                                                             Clouds
                                         Se




                                                                               er
                                                                                                              …
                                           rv




                                                                                id
                                                                             ov
                                              ice




                                                                                        Public


                                                                          Pr
                                                     In t




                     Msg Services                                                       Clouds
                                                                         d
                                                                        ou
                                                      er
                                                         fa




                                                                      Cl
                                                                                                       .COM
                                                                               Micro
                                                            ce




                                                                               Clouds
                                    Other Services




                                                              NOT CONFIDENTIAL -- TELL EVERYONE                   11
Available services




                     NOT CONFIDENTIAL -- TELL EVERYONE   12
...and coming




                NOT CONFIDENTIAL -- TELL EVERYONE   13
Java Developer Perspective

• Program to standard APIs
  – JDBC, Hibernate, MongoDB, etc.
• Either
  – Pull connection settings from VCAP_SERVICES
• Or
  – from http://maven.springframework.org/milestone:


<dependency>
  <groupId>org.cloudfoundry</groupId>
  <artifactId>cloudfoundry-runtime</artifactId>
  <version>0.7.0</version>
</dependency>




                                   NOT CONFIDENTIAL -- TELL EVERYONE   14
Java Developer Perspective

• Deploy application to cloud using
  – vmc command line tool (install via RubyGems);
  – Eclipse/STS Cloud Foundry plugin;
  – Spring Roo Cloud Foundry add-on; or
  – Grails Cloud Foundry plugin
• Create and bind services
• Restart application
• and...erm...that’s it




                             NOT CONFIDENTIAL -- TELL EVERYONE   15
The Spring advantage

• Auto-staging and reconfiguration
  – Connection settings automatically configured at runtime
  – No need to read VCAP_SERVICES
• Spring 3.1
  – “cloud” profile enabled
  – PropertySource injected
• Easier APIs
  – Spring Data
  – Spring AMQP




                              NOT CONFIDENTIAL -- TELL EVERYONE   16
MicroCloud

• Run a Cloud Foundry instance locally
  – Not yet available for download
  – ...but you can build your own

     https://github.com/cloudfoundry/vcap

• Test cloud deployment


                                                       PaaS


                              NOT CONFIDENTIAL -- TELL EVERYONE   17
CloudFoundry.com

• VMware CloudFoundry provider
  – In open beta
  – You can sign up at http://www.cloudfoundry.com/signup
• Expect other providers
  – Cloud Foundry is an open PaaS




                             NOT CONFIDENTIAL -- TELL EVERYONE   18
A sample cloud deployment


                                                                Create WAR



vmc target api.cloudfoundry.com
                                                             vmc push myApp
                                     Then


          vmc login
                                                                Bind services




                                                             Point browser at
                                                     http://myApp.cloudfoundry.com/



                                  NOT CONFIDENTIAL -- TELL EVERYONE              19
Quick peek under the hood

                                                         browser
  vmc client          STS plugin                    (user app access)




                                    Router




         Cloud Controller                    user apps              user apps    Health Manager




  Services: core, ecosystem, etc.             DEA: execution environment




                                             Infrastructure




                                             NOT CONFIDENTIAL -- TELL EVERYONE                    20
Demo domain model




               NOT CONFIDENTIAL -- TELL EVERYONE   21
Demo




       NOT CONFIDENTIAL -- TELL EVERYONE
Summary

• Cloud Foundry is an open PaaS
  – Infrastructure no longer your problem
  – Move your apps between CF providers
• Multiple language & framework support
• Service model
• CloudFoundry.com is a hosting provider
  – Currently in extended beta
  – RightScale announced beta CF template for AWS
  – You can still sign up!
• Restrictions
  – No persistent file system
  – Only HTTP(S) outbound traffic

                             NOT CONFIDENTIAL -- TELL EVERYONE   23
More info

• Cloud Foundry links:
  – CloudFoundry.org & CloudFoundry.com
  – https://github.com/cloudfoundry
  – https://github.com/SpringSource/cloudfoundry-samples
• General Information:
  – http://youtube.com/SpringSourceDev
  – http://blog.springsource.com/category/springsource/vmware-
    springsource/cloud-foundry/
  – Spring Data: http://springsource.org/spring-data/
  – Spring: http://springframework.org/




                             NOT CONFIDENTIAL -- TELL EVERYONE   24
Q&A




      NOT CONFIDENTIAL -- TELL EVERYONE

Contenu connexe

Tendances

Deep dive network requirementsfor enterprise video conferencing
Deep dive   network requirementsfor enterprise video conferencingDeep dive   network requirementsfor enterprise video conferencing
Deep dive network requirementsfor enterprise video conferencing
Interop
 
Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209   Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209
SURFnet
 
TBIZ2011 - Juniper. Next Generation Data Center
TBIZ2011 - Juniper. Next Generation Data Center TBIZ2011 - Juniper. Next Generation Data Center
TBIZ2011 - Juniper. Next Generation Data Center
TechnologyBIZ
 
MMS Profile for Web Services
MMS Profile for Web ServicesMMS Profile for Web Services
MMS Profile for Web Services
Abhijeet Ranadive
 

Tendances (13)

Deep dive network requirementsfor enterprise video conferencing
Deep dive   network requirementsfor enterprise video conferencingDeep dive   network requirementsfor enterprise video conferencing
Deep dive network requirementsfor enterprise video conferencing
 
Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209   Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209
 
Private Cloud reduces risk calculations by 50%
Private Cloud reduces risk calculations by 50%Private Cloud reduces risk calculations by 50%
Private Cloud reduces risk calculations by 50%
 
An Execution Engine For Semantic Business Processes
An Execution Engine For Semantic Business ProcessesAn Execution Engine For Semantic Business Processes
An Execution Engine For Semantic Business Processes
 
NoSQL Databases for Implementing Data Services – Should I Care?
NoSQL Databases for Implementing Data Services – Should I Care?NoSQL Databases for Implementing Data Services – Should I Care?
NoSQL Databases for Implementing Data Services – Should I Care?
 
TBIZ2011 - Juniper. Next Generation Data Center
TBIZ2011 - Juniper. Next Generation Data Center TBIZ2011 - Juniper. Next Generation Data Center
TBIZ2011 - Juniper. Next Generation Data Center
 
There is NO CLOUD: For Non-Geeks
There is NO CLOUD: For Non-GeeksThere is NO CLOUD: For Non-Geeks
There is NO CLOUD: For Non-Geeks
 
There is NO CLOUD: Geeky Version
There is NO CLOUD: Geeky VersionThere is NO CLOUD: Geeky Version
There is NO CLOUD: Geeky Version
 
MMS Profile for Web Services
MMS Profile for Web ServicesMMS Profile for Web Services
MMS Profile for Web Services
 
Greener hostinG
Greener hostinGGreener hostinG
Greener hostinG
 
OSGi Remote Services With Sca
OSGi Remote Services With ScaOSGi Remote Services With Sca
OSGi Remote Services With Sca
 
SOA & Big Data
SOA & Big DataSOA & Big Data
SOA & Big Data
 
Cim 20070701 jul_2007
Cim 20070701 jul_2007Cim 20070701 jul_2007
Cim 20070701 jul_2007
 

Similaire à Cloud Foundry for Java devs

Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012
Patrick Chanezon
 
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
trisberg
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning Introduction
Andy Piper
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundry
martinlippert
 
Portrait of the Developer As "The Artist" - English Version
Portrait of the Developer As "The Artist" - English VersionPortrait of the Developer As "The Artist" - English Version
Portrait of the Developer As "The Artist" - English Version
Patrick Chanezon
 
Portrait of the Developer as the Artist - OpenTour Sofia
Portrait of the Developer as the Artist - OpenTour SofiaPortrait of the Developer as the Artist - OpenTour Sofia
Portrait of the Developer as the Artist - OpenTour Sofia
Patrick Chanezon
 
Cloud Computing And Soa Convergence Linthicum 02 09 10
Cloud Computing And Soa Convergence Linthicum 02 09 10Cloud Computing And Soa Convergence Linthicum 02 09 10
Cloud Computing And Soa Convergence Linthicum 02 09 10
David Linthicum
 
Automating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it SafeAutomating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it Safe
CloudPassage
 
Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011
Software Park Thailand
 

Similaire à Cloud Foundry for Java devs (20)

Cloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeCloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCode
 
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012
 
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
 
Portrait of the developer as The Artist - SpringOne India 2012
Portrait of the developer as The Artist - SpringOne India 2012Portrait of the developer as The Artist - SpringOne India 2012
Portrait of the developer as The Artist - SpringOne India 2012
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning Introduction
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundry
 
RubyWorld 2011
RubyWorld 2011RubyWorld 2011
RubyWorld 2011
 
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud FoundryThinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
 
MongoSF 2012
MongoSF 2012MongoSF 2012
MongoSF 2012
 
What's New in Cloud Foundry
What's New in Cloud FoundryWhat's New in Cloud Foundry
What's New in Cloud Foundry
 
Cloud Foundry: Inside the Machine
Cloud Foundry: Inside the MachineCloud Foundry: Inside the Machine
Cloud Foundry: Inside the Machine
 
Portrait of the Developer As "The Artist" - English Version
Portrait of the Developer As "The Artist" - English VersionPortrait of the Developer As "The Artist" - English Version
Portrait of the Developer As "The Artist" - English Version
 
Cloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentationCloud foundry - the building of the open paas presentation
Cloud foundry - the building of the open paas presentation
 
OSCON 2011
OSCON 2011OSCON 2011
OSCON 2011
 
Portrait of the Developer as the Artist - OpenTour Sofia
Portrait of the Developer as the Artist - OpenTour SofiaPortrait of the Developer as the Artist - OpenTour Sofia
Portrait of the Developer as the Artist - OpenTour Sofia
 
Spring Data and MongoDB
Spring Data and MongoDBSpring Data and MongoDB
Spring Data and MongoDB
 
Migrating to CloudFoundry
Migrating to CloudFoundryMigrating to CloudFoundry
Migrating to CloudFoundry
 
Cloud Computing And Soa Convergence Linthicum 02 09 10
Cloud Computing And Soa Convergence Linthicum 02 09 10Cloud Computing And Soa Convergence Linthicum 02 09 10
Cloud Computing And Soa Convergence Linthicum 02 09 10
 
Automating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it SafeAutomating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it Safe
 
Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011
 

Plus de Peter Ledbrook

Open source-and-you-gr8conf-us-2013
Open source-and-you-gr8conf-us-2013Open source-and-you-gr8conf-us-2013
Open source-and-you-gr8conf-us-2013
Peter Ledbrook
 

Plus de Peter Ledbrook (11)

Why Gradle?
Why Gradle?Why Gradle?
Why Gradle?
 
Improving your Gradle builds
Improving your Gradle buildsImproving your Gradle builds
Improving your Gradle builds
 
Why your build matters
Why your build mattersWhy your build matters
Why your build matters
 
Groovy for Java Developers
Groovy for Java DevelopersGroovy for Java Developers
Groovy for Java Developers
 
Application Architectures in Grails
Application Architectures in GrailsApplication Architectures in Grails
Application Architectures in Grails
 
Open source-and-you-gr8conf-us-2013
Open source-and-you-gr8conf-us-2013Open source-and-you-gr8conf-us-2013
Open source-and-you-gr8conf-us-2013
 
Groovy & Grails for Spring/Java developers
Groovy & Grails for Spring/Java developersGroovy & Grails for Spring/Java developers
Groovy & Grails for Spring/Java developers
 
Grails & the World of Tomorrow
Grails & the World of TomorrowGrails & the World of Tomorrow
Grails & the World of Tomorrow
 
Migrating to Cloud Foundry
Migrating to Cloud FoundryMigrating to Cloud Foundry
Migrating to Cloud Foundry
 
Grails 2.0 Update
Grails 2.0 UpdateGrails 2.0 Update
Grails 2.0 Update
 
Grails and the World of Tomorrow
Grails and the World of TomorrowGrails and the World of Tomorrow
Grails and the World of Tomorrow
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Cloud Foundry for Java devs

  • 1. Cloud Foundry Peter Ledbrook Grails Advocate, SpringSource NOT CONFIDENTIAL -- TELL EVERYONE
  • 2. The story so far... Development and deployment of Java applications NOT CONFIDENTIAL -- TELL EVERYONE 2
  • 3. Where do I host my application? Shared Dedicated Own • Cheapest • Delegate infra. • Full control management • Better performing than shared • Control of resources • ...but not as cheap as • Not cheap • Not cheap LAMP • You’re responsible for • Reliability server management • Poor performance • Capital cost + depreciation NOT CONFIDENTIAL -- TELL EVERYONE 3
  • 4. Where do I host my application? ...and scaling? NOT CONFIDENTIAL -- TELL EVERYONE 4
  • 5. In the enterprise Dev Ops • Time to set up • Manual management of environment clustering... • Provisioning delays • ...and load balancing • Manage all datastores, message brokers, etc. • Dedicated hardware expensive + overhead NOT CONFIDENTIAL -- TELL EVERYONE 5
  • 6. Application deployment NOT CONFIDENTIAL -- TELL EVERYONE 6
  • 7. The promise of PaaS App 1 App 2 App 3 Platform Servlet Container Database Other services Infrastructure CPU Memory OS • Zero config • Automatic provisioning NOT CONFIDENTIAL -- TELL EVERYONE 7
  • 8. Introducing... • It’s a PaaS • It’s open source • It’s provider agnostic • Has a local micro cloud NOT CONFIDENTIAL -- TELL EVERYONE 8
  • 9. Choice of frameworks .js NOT CONFIDENTIAL -- TELL EVERYONE 9
  • 10. Choice of services .js Ap pli ca tio n Data Services Se rv ice In t Msg Services er fa ce Other Services NOT CONFIDENTIAL -- TELL EVERYONE 10
  • 11. Choice of clouds .js Ap pli ce ca fa er tio nt Private n Data Services I Clouds Se er … rv id ov ice Public Pr In t Msg Services Clouds d ou er fa Cl .COM Micro ce Clouds Other Services NOT CONFIDENTIAL -- TELL EVERYONE 11
  • 12. Available services NOT CONFIDENTIAL -- TELL EVERYONE 12
  • 13. ...and coming NOT CONFIDENTIAL -- TELL EVERYONE 13
  • 14. Java Developer Perspective • Program to standard APIs – JDBC, Hibernate, MongoDB, etc. • Either – Pull connection settings from VCAP_SERVICES • Or – from http://maven.springframework.org/milestone: <dependency> <groupId>org.cloudfoundry</groupId> <artifactId>cloudfoundry-runtime</artifactId> <version>0.7.0</version> </dependency> NOT CONFIDENTIAL -- TELL EVERYONE 14
  • 15. Java Developer Perspective • Deploy application to cloud using – vmc command line tool (install via RubyGems); – Eclipse/STS Cloud Foundry plugin; – Spring Roo Cloud Foundry add-on; or – Grails Cloud Foundry plugin • Create and bind services • Restart application • and...erm...that’s it NOT CONFIDENTIAL -- TELL EVERYONE 15
  • 16. The Spring advantage • Auto-staging and reconfiguration – Connection settings automatically configured at runtime – No need to read VCAP_SERVICES • Spring 3.1 – “cloud” profile enabled – PropertySource injected • Easier APIs – Spring Data – Spring AMQP NOT CONFIDENTIAL -- TELL EVERYONE 16
  • 17. MicroCloud • Run a Cloud Foundry instance locally – Not yet available for download – ...but you can build your own https://github.com/cloudfoundry/vcap • Test cloud deployment PaaS NOT CONFIDENTIAL -- TELL EVERYONE 17
  • 18. CloudFoundry.com • VMware CloudFoundry provider – In open beta – You can sign up at http://www.cloudfoundry.com/signup • Expect other providers – Cloud Foundry is an open PaaS NOT CONFIDENTIAL -- TELL EVERYONE 18
  • 19. A sample cloud deployment Create WAR vmc target api.cloudfoundry.com vmc push myApp Then vmc login Bind services Point browser at http://myApp.cloudfoundry.com/ NOT CONFIDENTIAL -- TELL EVERYONE 19
  • 20. Quick peek under the hood browser vmc client STS plugin (user app access) Router Cloud Controller user apps user apps Health Manager Services: core, ecosystem, etc. DEA: execution environment Infrastructure NOT CONFIDENTIAL -- TELL EVERYONE 20
  • 21. Demo domain model NOT CONFIDENTIAL -- TELL EVERYONE 21
  • 22. Demo NOT CONFIDENTIAL -- TELL EVERYONE
  • 23. Summary • Cloud Foundry is an open PaaS – Infrastructure no longer your problem – Move your apps between CF providers • Multiple language & framework support • Service model • CloudFoundry.com is a hosting provider – Currently in extended beta – RightScale announced beta CF template for AWS – You can still sign up! • Restrictions – No persistent file system – Only HTTP(S) outbound traffic NOT CONFIDENTIAL -- TELL EVERYONE 23
  • 24. More info • Cloud Foundry links: – CloudFoundry.org & CloudFoundry.com – https://github.com/cloudfoundry – https://github.com/SpringSource/cloudfoundry-samples • General Information: – http://youtube.com/SpringSourceDev – http://blog.springsource.com/category/springsource/vmware- springsource/cloud-foundry/ – Spring Data: http://springsource.org/spring-data/ – Spring: http://springframework.org/ NOT CONFIDENTIAL -- TELL EVERYONE 24
  • 25. Q&A NOT CONFIDENTIAL -- TELL EVERYONE