SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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 conferencingInterop
 
Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209   Webinar dnssec for cnrs - 20120209
Webinar dnssec for cnrs - 20120209 SURFnet
 
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%SAS
 
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 ProcessesTammo van Lessen
 
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?Guido Schmutz
 
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
 
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-GeeksOpen Spectrum Inc
 
There is NO CLOUD: Geeky Version
There is NO CLOUD: Geeky VersionThere is NO CLOUD: Geeky Version
There is NO CLOUD: Geeky VersionOpen Spectrum Inc
 
MMS Profile for Web Services
MMS Profile for Web ServicesMMS Profile for Web Services
MMS Profile for Web ServicesAbhijeet Ranadive
 
OSGi Remote Services With Sca
OSGi Remote Services With ScaOSGi Remote Services With Sca
OSGi Remote Services With Scamfrancis
 

Was ist angesagt? (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
 

Ähnlich wie Cloud Foundry for Java devs

Cloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeCloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeChris Richardson
 
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Patrick 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
 
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 2012Patrick Chanezon
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionAndy Piper
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundrymartinlippert
 
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 FoundryJennifer Hickey
 
What's New in Cloud Foundry
What's New in Cloud FoundryWhat's New in Cloud Foundry
What's New in Cloud FoundryJennifer Hickey
 
Cloud Foundry: Inside the Machine
Cloud Foundry: Inside the MachineCloud Foundry: Inside the Machine
Cloud Foundry: Inside the MachineDerek Collison
 
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 VersionPatrick Chanezon
 
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 presentationXianzhu Yue
 
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 SofiaPatrick Chanezon
 
Spring Data and MongoDB
Spring Data and MongoDBSpring Data and MongoDB
Spring Data and MongoDBOliver Gierke
 
Migrating to CloudFoundry
Migrating to CloudFoundryMigrating to CloudFoundry
Migrating to CloudFoundryGR8Conf
 
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 10David 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 SafeCloudPassage
 
Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011Oracle+cloud+computing+ +iasa+thailand+2011
Oracle+cloud+computing+ +iasa+thailand+2011Software Park Thailand
 

Ähnlich wie 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
 

Mehr von Peter Ledbrook

Improving your Gradle builds
Improving your Gradle buildsImproving your Gradle builds
Improving your Gradle buildsPeter Ledbrook
 
Why your build matters
Why your build mattersWhy your build matters
Why your build mattersPeter Ledbrook
 
Groovy for Java Developers
Groovy for Java DevelopersGroovy for Java Developers
Groovy for Java DevelopersPeter Ledbrook
 
Application Architectures in Grails
Application Architectures in GrailsApplication Architectures in Grails
Application Architectures in GrailsPeter 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-2013Peter Ledbrook
 
Groovy & Grails for Spring/Java developers
Groovy & Grails for Spring/Java developersGroovy & Grails for Spring/Java developers
Groovy & Grails for Spring/Java developersPeter Ledbrook
 
Grails & the World of Tomorrow
Grails & the World of TomorrowGrails & the World of Tomorrow
Grails & the World of TomorrowPeter Ledbrook
 
Migrating to Cloud Foundry
Migrating to Cloud FoundryMigrating to Cloud Foundry
Migrating to Cloud FoundryPeter Ledbrook
 
Grails and the World of Tomorrow
Grails and the World of TomorrowGrails and the World of Tomorrow
Grails and the World of TomorrowPeter Ledbrook
 

Mehr von 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
 

Kürzlich hochgeladen

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 

Kürzlich hochgeladen (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 

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