SlideShare uma empresa Scribd logo
1 de 64
Baixar para ler offline
What’s New in Cloud Foundry
                                                                                  Jennifer Hickey
                                                                                 Ramnivas Laddad




             © 2012 SpringOne 2GX. All rights reserved. Do not distribute without permission.

Saturday, October 20, 2012
About Jennifer
        • Engineer @ Cloud Foundry
        • Focused on framework support
        • Long time SpringSource-er
        • Contributed to many Spring and SpringSource projects
        • Passionate about increasing developer productivity in the
          cloud.
          Contact Info
            Twitter: @jencompgeek
            Email: jhickey@vmware.com


              2
Saturday, October 20, 2012
About Ramnivas
        • Author, AspectJ in Action
        • Main interests: Cloud Computing, Aspect-oriented
          programming, Scala and functional programming
        • Active involvement in AspectJ, Spring, and Cloud Foundry
          since their early form


          Contact Info
            Twitter: @ramnivas
            Email: rladdad@vmware.com


              3
Saturday, October 20, 2012
Cloud Foundry Open PaaS

                                                                                                .js



                                       Ap
                                          p                                                           Private




                                                                                           ce
                                              lic
                                                                                                      Clouds




                                                                                          rfa
                                                at
                                                  io




                                                                                          te
                                                        n
                             Data Services




                                                                                        In
                                                        Se




                                                                                    er
                                                                                               Public
                                                           r




                                                                                   vid
                                                            vic

                                                                                               Clouds




                                                                                    o
                                                                e
                                               Msg




                                                                                 Pr
                                             Services
                                                               In
                                                                 te




                                                                            ud
                                                                    rfa




                                                                             o
                                                                                 Micro
                                                                          Cl
                                                                     ce


                                                         Other
                                                        Services
                                                                             Cloud Foundry
               Apache2 license
              4
Saturday, October 20, 2012
Cloud Foundry Turns One
        • Open sourced BOSH
              –A tool chain for release engineering, deployment and lifecycle
               management
              –Used to deploy cloudfoundry.com
        • New open source contribution process
        • More partners




              5
Saturday, October 20, 2012
Since the last SpringOne...



                             Themes




              6
Saturday, October 20, 2012
7
Saturday, October 20, 2012
8
Saturday, October 20, 2012
9
Saturday, October 20, 2012
10
Saturday, October 20, 2012
11
Saturday, October 20, 2012
Agenda
        • Frameworks and Runtimes
        • Security and Account Management
        • Services
        • Tools
        • Micro Cloud Foundry
        • CloudFoundry.com Commercial




             12
Saturday, October 20, 2012
What’s New



                              Frameworks
                             and Runtimes



             13
Saturday, October 20, 2012
Core Runtimes and Frameworks
        • Java
              –Spring
              –Grails
              –Lift
              –Play
        • Ruby
              –Rails
              –Sinatra
              –Rack
        • Node.js
             14
Saturday, October 20, 2012
Community and partners contributions
        • Python
              –Django
              –WSGI
        • Erlang OTP/Rebar
        • PHP
        • Perl
        • .NET



             15
Saturday, October 20, 2012
The Platinum Rule


                                 Treat each framework
                             the way it wants to be treated!




             16
Saturday, October 20, 2012
Common Framework Support
        • Command-line for application management
              –Create apps and services
              –Update bindings, memory etc.
              –Scale instances
        • Access service and app info through environment variables
              –Service host, port, credentials
              –App ip and port
        • A runtime library
              –Connect to services
              –Retrieve app info
             17
Saturday, October 20, 2012
Common Framework Support
        • Auto-reconfiguration for typical apps
        • Access to services through Caldecott
              –Creates tunnel for local clients
              –Mysql, Mongo, Redis CLIs, etc
        • Manifest support




             18
Saturday, October 20, 2012
Standalone: The “no framework” framework
        • Cloud Foundry now supports standalone applications!
        • Choose a runtime and provide a start command
                $ vmc push myapp
                Detected a Standalone Application, is this correct? [Yn]:
                1: java
                2: node
                3: ruby18
              – 4: ruby19
                Select Runtime [java]:
                Start Command: java -jar myapp.jar



             19
Saturday, October 20, 2012
Uses of Standalone Applications
        • Run worker processes
        • Use frameworks with Embedded Jetty or Netty
              –Unfiltered
              –Spray
              –vert.x




             20
Saturday, October 20, 2012
Scala on Cloud Foundry
        • Lift
        What’s New
        • Play
        • Bring your Own Container (Web Apps)
              –Scalatra
              –Blue Eyes
              –Unfiltered
              –Spray
        • Standalone support
              –Akka
             21
Saturday, October 20, 2012
Play Framework
        • Supports Play 2.0
        • Push Play app to CloudFoundry.com
                $ play dist
                $ vmc push --path=dist/dist.zip

        • Automatically applies evolutions
        • Automatically switches database to Postgres or MySQL
        • Props available in CF environment for service connections
              –${?cloud.services.mongo.connection.host}
        • cloudfoundry-runtime lib for programmatic service
          connections
             22
Saturday, October 20, 2012
Demo
                      Play!ing with Cloud Foundry




Saturday, October 20, 2012
Scala Support: Coming Soon
        • Scala wrapper for cloudfoundry-runtime library
        • SBT plugin for Cloud Foundry deployment
              –Already have maven plugin
        • giter8 template
              –Blue Eyes for configuring web port and Mongo
              –Others?
        • Additional Play auto-reconfig
        • Scala wrapper for cloudfoundry-client-lib
        • ???

             24
Saturday, October 20, 2012
Node.js on Cloud Foundry
       • Node 0.4 and 0.6 runtimes


         What’s New
       • Node 0.8
       • NPM Support
              –Downloads and installs modules from npm-shrinkwrap.json
              –Brand new support for git modules
              –Modules with native dependencies installed correctly regardless
               of local packaging

             25
Saturday, October 20, 2012
Node.js: Auto-reconfiguration and cf-runtime
        • Apps using common node modules automatically connected
          to CF services
              –Great for CF quick start with existing apps
        • cf-runtime module for finer control over svc connections
              –Methods for obtaining app/service props and connections




             26
Saturday, October 20, 2012
Node Support: Coming Soon
        • cf-runtime and auto-reconfig for blob service
        • ???




             27
Saturday, October 20, 2012
Java on Cloud Foundry
        • Spring, Grails, Java Web Apps with Java 6
        • Auto-reconfiguration for Spring and Grails
         What’s New
        • Java 7
        • Standalone support
              –Spring Integration and Batch Workers
              –vert.x
              –Tomcat 7
              –Clojure, Groovy scripts, etc
        • JRuby
             28
Saturday, October 20, 2012
Demo
                      Running workers on Cloud
                      Foundry with Spring




Saturday, October 20, 2012
Java Support: Coming Soon
        • Auto-reconfiguration of standalone Spring apps
        • Auto-reconfiguration and cf-runtime for blob service
        • Choose container for Java web apps
              –i.e. Tomcat 6 or Tomcat 7
        • ???




             30
Saturday, October 20, 2012
Runtimes and Frameworks: Coming Soon
        • Runtime deprecation policy
        • Automatic runtime upgrades
        • More frequent runtime upgrades
        • More frequent addition of new runtimes
        • Serve static assets directly from nginx
        • TMPDIR set for all applications




             31
Saturday, October 20, 2012
What’s New



                                 Security and
                             Account Management



             32
Saturday, October 20, 2012
Cloud Controller NG
        • Cloud Controller rewrite using Sinatra/Sequel
        • More RESTful interaction
              –Navigation through hyperlink in payload
        • Ability to pull in dependent objects in one call
              –Reduce roundtrips needed




             33
Saturday, October 20, 2012
DEA NG
        • Uses “warden” to to provide container for app execution
              –Uses Linux cgroups
              –Primary goals: Isolation and Resource Control
              –Isolates CPU usage, memory usage, disk usage, and network
               access




             34
Saturday, October 20, 2012
UAA (User Account and Authentication)
        • Web app built with Spring and Spring Security
        • Oauth2
        • Pluggable authentication provider model
        • Now running on CloudFoundry.com




             35
Saturday, October 20, 2012
UAA High Level Features
        • Centralized Identity Management
        • Single Sign On
        • Delegating Access to Services
        • User Account Management
        • Client Application Registration




             36
Saturday, October 20, 2012
What’s New



                             Services




             37
Saturday, October 20, 2012
Cloud Foundry Services
        • CloudFoundry.com




        • github.com/cloudfoundry
                                    Filesystem

                             Blob




             38
Saturday, October 20, 2012
Backup
                                                                    Service
        • Periodic data dump to secure storage                      Gateway
              –Use service’s utilities to respect transactions, etc
        • Automatic rotation
        • Invisible to users                              Service             Service
                                                                              …
                                                          Node                Node
        • Running today on cloudfoundry.com




                                                              secure storage
             39
Saturday, October 20, 2012
Snapshots
        • User-visible upload/download of service instance
                                                                     Service
              –Take a snapshot
                                                                     Gateway
              –Enumerate snapshots
              –Download a snapshot
                                                                              …
              –Upload a snapshot (locally, cloud-to-cloud) Service         Service
                                                           Node            Node
              –Switch to a snapshot


        • Coming soon to CloudFoundry.com

                                                               secure storage
             40
Saturday, October 20, 2012
Warden
        • Run each service in a sandbox to protect from a service’s
          security flaws
        • Warden: client/server on top of “cgroups”
        • Services base library makes it easy to “wardenize” new
          services

        • Coming soon to CloudFoundry.com        Service Node




             41
Saturday, October 20, 2012
Versions
        • Service gateways advertise different versions of a service to
          controller
        • Service nodes advertise which versions they support to
          gateway
        • User selects which version they want
        • Gateway routes provision based on requested version
          (similar to plans)

        • In progress on CloudFoundry.com

             42
Saturday, October 20, 2012
What’s New



                             Tools




             43
Saturday, October 20, 2012
Introducing....vmc-ng
        • Next generation of VMC, the CLI for Cloud Foundry
        • Many interaction and architecture improvements
        • Still under development
        • gem install vmc --pre
        • mkdir ~/.vmc/use-ng




             44
Saturday, October 20, 2012
vmc-ng: Improved interaction
        • Shorter questions
        • Tab completion
        • Rewinding
        • Better scripting support
        • Better progress indicators




             45
Saturday, October 20, 2012
vmc-ng: Improved architecture
        • Small core delegating to a separate high-level library
              –High level = “cfoundry” gem
              –cfoundry provides Object layer instead of parsed JSON
        • Plugin architecture for extensions
              –Keeps vmc codebase clean and simple
              –Examples
                     • caldecott
                     • manifests




             46
Saturday, October 20, 2012
STS
        • Deploy and debug Java web, Spring, Grails, Lift apps

         What’s New
        • Deploy and debug standalone Java apps
              –Including Scala and Groovy
        • Caldecott support
              –Tunnel to all services directly from STS




             47
Saturday, October 20, 2012
Demo
                      Deploying a standalone app with
                      STS




Saturday, October 20, 2012
Other Tools for Your Toolbox
        • Java
              –cloudfoundry-client-lib
                     • Java client to cc REST API
              –cloufoundry-maven-plugin
              –CF Gradle Plugin
              –cloudfoundry-caldecott-lib
                     • Java library for tunneling to services
              –cloudfoundry-runtime
        • Node
              –cf-runtime module
             49
Saturday, October 20, 2012
What’s New



                                Micro
                             Cloud Foundry




             50
Saturday, October 20, 2012
Micro Cloud Foundry
        • Run a complete instance of CF on your computer using a
          VM image
          Coming Soon
        • New release - up to date with latest cf.com
        • Improved process for more frequent releases
        • Update mechanism
        • REST API for configuration management
              –Functionality previously available in the MCF console
                     • Password, DNS, Network, Service management
              –Manage MCF using vmc or other tools
             51
Saturday, October 20, 2012
What’s New



                              CloudFoundry.com
                             Commercial Availability



             52
Saturday, October 20, 2012
CloudFoundry.com is coming out of beta
        • Getting close to commercial availability of
          CloudFoundry.com
        • Target: self-sufficient teams - 3-20 people
          –Designed for collaborative operation of applications
          –Including developers, architects, admins, QA, Ops, etc.
        • Paid tier provides
          –Additional capacity, features
          –Paid by credit card
        • Retain free tier
        • Best place to deploy your Spring and Grails apps
             53
Saturday, October 20, 2012
Create, Collaborate, Control
        • Web-based portal
        • Collaboration capabilities
        • Control cost




             54
Saturday, October 20, 2012
Web-based portal
        • Create teams, assign roles
        • Manage applications instances
        • Provision an increased catalog of services
        • Audit events and activities




             55
Saturday, October 20, 2012
Operational Collaboration
                                                       Organization               Account                 $


                             John’s Space     Mary’s Space        QA Space          Production Space
                             Other dev apps   Other dev apps      Other QA apps     Other Prod apps

                             App1             App1                App1               App1
                             John’s dev ver   Mary’s dev ver      QA version         Production version
                             Development                          QA                Production




             56
Saturday, October 20, 2012
Collaboration Model
                                                                 User
                                                                User
                                     Organization               User




                                         User
                                        User                  Permission
                                       Space




                              User
                             User                     User
                                                     User
                             App                    Service


             57
Saturday, October 20, 2012
vmc-ng: Orgs and Spaces




             58
Saturday, October 20, 2012
Cost Management
        • Manage your spending and resource consumption
        • Configurable spending alerts across




             59
Saturday, October 20, 2012
Plans
        • vmc create-service mysql --plan <plan>
        • Plan = set of service parameters, configuration, options:
              –Size
              –Maximum concurrent connections               Service
                                                            Gateway
              –Query timeouts
              –Query cache size
        • Service gateway route provision       Servic       Servic      Servic
                                                Service      Service      Service
          requests based on plan                e Node
                                                  Service
                                                Node         e Service
                                                               Node
                                                             Node        eService
                                                                           Node
                                                                          Node
                                                  Node         Node       Node




                                                     …
        • Coming soon to cloudfoundry.com
             60
Saturday, October 20, 2012
Single-Tenant Instances
        • Today, cloudfoundry.com service nodes are multi-tenant
                                                         Service
          (many instances hosted on a one node)          Gateway
        • Large/secure users might require that their service instance
          runs on their own dedicated node
        • Plan parameter:                    Service     Service   Service
                                                   Service
                                                  Node        Service
                                                              Node       Service
              –capacity = max number of instances Node
                                                    Service    Service
                                                              Node
                                                                         Node
                                                                          Service
                                                                         Node
                                                    Node       Node       Node
        • Single-tenant Instances:




                                                        …
               capacity = 1

        • Coming soon to cloudfoundry.com
             61
Saturday, October 20, 2012
Platform to Grow with You
        • Development Memory and Services
              –Inexpensive
              –Low performance
        • Production Memory and Services
              –Paid option
              –Better performance




             62
Saturday, October 20, 2012
Demos
        • Play!
              –https://github.com/playframework/Play20/tree/master/samples/
               java/zentasks
        • Spring Integration Workers
              –https://github.com/cloudfoundry-samples/twitter-rabbit-socks-
               sample
        • Unfiltered
              –https://github.com/cloudfoundry-samples/bitshow



             63
Saturday, October 20, 2012
Questions?




             64
Saturday, October 20, 2012

Mais conteúdo relacionado

Semelhante a What's New in Cloud Foundry

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
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundrymartinlippert
 
Cloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeCloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeChris Richardson
 
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
 
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 Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Patrick Chanezon
 
Hands On CloudFoundry
Hands On CloudFoundryHands On CloudFoundry
Hands On CloudFoundryEric Bottard
 
Spring Data and MongoDB
Spring Data and MongoDBSpring Data and MongoDB
Spring Data and MongoDBOliver Gierke
 
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
 
Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Lode Vermeiren
 
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
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionAndy Piper
 
Building an Open Cloud Ecosystem with Cloud Foundry
Building an Open Cloud Ecosystem with Cloud FoundryBuilding an Open Cloud Ecosystem with Cloud Foundry
Building an Open Cloud Ecosystem with Cloud FoundryAndy Piper
 
Making a Cleaner Cloud with Open Source
Making a Cleaner Cloud with Open SourceMaking a Cleaner Cloud with Open Source
Making a Cleaner Cloud with Open SourceAndy Piper
 
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
 
Cloud Foundry and Ubuntu - 2012
Cloud Foundry and Ubuntu - 2012Cloud Foundry and Ubuntu - 2012
Cloud Foundry and Ubuntu - 2012Patrick Chanezon
 
Breaking through the Clouds
Breaking through the CloudsBreaking through the Clouds
Breaking through the CloudsAndy Piper
 

Semelhante a What's New in Cloud Foundry (20)

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
 
PaaS Parade - Cloud Foundry
PaaS Parade - Cloud FoundryPaaS Parade - Cloud Foundry
PaaS Parade - Cloud Foundry
 
Cloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCodeCloud Foundry bootcamp at ContributingCode
Cloud Foundry bootcamp at ContributingCode
 
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
 
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 ...
 
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012
 
RubyWorld 2011
RubyWorld 2011RubyWorld 2011
RubyWorld 2011
 
Hands On CloudFoundry
Hands On CloudFoundryHands On CloudFoundry
Hands On CloudFoundry
 
Spring Data and MongoDB
Spring Data and MongoDBSpring Data and MongoDB
Spring Data and MongoDB
 
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
 
Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121
 
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
 
Cloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning IntroductionCloud Foundry - A Lightning Introduction
Cloud Foundry - A Lightning Introduction
 
Building an Open Cloud Ecosystem with Cloud Foundry
Building an Open Cloud Ecosystem with Cloud FoundryBuilding an Open Cloud Ecosystem with Cloud Foundry
Building an Open Cloud Ecosystem with Cloud Foundry
 
Making a Cleaner Cloud with Open Source
Making a Cleaner Cloud with Open SourceMaking a Cleaner Cloud with Open Source
Making a Cleaner Cloud with Open Source
 
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
 
Cloud Foundry and Ubuntu - 2012
Cloud Foundry and Ubuntu - 2012Cloud Foundry and Ubuntu - 2012
Cloud Foundry and Ubuntu - 2012
 
Breaking through the Clouds
Breaking through the CloudsBreaking through the Clouds
Breaking through the Clouds
 

Último

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneUiPathCommunity
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 

Último (20)

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyone
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 

What's New in Cloud Foundry

  • 1. What’s New in Cloud Foundry Jennifer Hickey Ramnivas Laddad © 2012 SpringOne 2GX. All rights reserved. Do not distribute without permission. Saturday, October 20, 2012
  • 2. About Jennifer • Engineer @ Cloud Foundry • Focused on framework support • Long time SpringSource-er • Contributed to many Spring and SpringSource projects • Passionate about increasing developer productivity in the cloud. Contact Info Twitter: @jencompgeek Email: jhickey@vmware.com 2 Saturday, October 20, 2012
  • 3. About Ramnivas • Author, AspectJ in Action • Main interests: Cloud Computing, Aspect-oriented programming, Scala and functional programming • Active involvement in AspectJ, Spring, and Cloud Foundry since their early form Contact Info Twitter: @ramnivas Email: rladdad@vmware.com 3 Saturday, October 20, 2012
  • 4. Cloud Foundry Open PaaS .js Ap p Private ce lic Clouds rfa at io te n Data Services In Se er Public r vid vic Clouds o e Msg Pr Services In te ud rfa o Micro Cl ce Other Services Cloud Foundry Apache2 license 4 Saturday, October 20, 2012
  • 5. Cloud Foundry Turns One • Open sourced BOSH –A tool chain for release engineering, deployment and lifecycle management –Used to deploy cloudfoundry.com • New open source contribution process • More partners 5 Saturday, October 20, 2012
  • 6. Since the last SpringOne... Themes 6 Saturday, October 20, 2012
  • 12. Agenda • Frameworks and Runtimes • Security and Account Management • Services • Tools • Micro Cloud Foundry • CloudFoundry.com Commercial 12 Saturday, October 20, 2012
  • 13. What’s New Frameworks and Runtimes 13 Saturday, October 20, 2012
  • 14. Core Runtimes and Frameworks • Java –Spring –Grails –Lift –Play • Ruby –Rails –Sinatra –Rack • Node.js 14 Saturday, October 20, 2012
  • 15. Community and partners contributions • Python –Django –WSGI • Erlang OTP/Rebar • PHP • Perl • .NET 15 Saturday, October 20, 2012
  • 16. The Platinum Rule Treat each framework the way it wants to be treated! 16 Saturday, October 20, 2012
  • 17. Common Framework Support • Command-line for application management –Create apps and services –Update bindings, memory etc. –Scale instances • Access service and app info through environment variables –Service host, port, credentials –App ip and port • A runtime library –Connect to services –Retrieve app info 17 Saturday, October 20, 2012
  • 18. Common Framework Support • Auto-reconfiguration for typical apps • Access to services through Caldecott –Creates tunnel for local clients –Mysql, Mongo, Redis CLIs, etc • Manifest support 18 Saturday, October 20, 2012
  • 19. Standalone: The “no framework” framework • Cloud Foundry now supports standalone applications! • Choose a runtime and provide a start command $ vmc push myapp Detected a Standalone Application, is this correct? [Yn]: 1: java 2: node 3: ruby18 – 4: ruby19 Select Runtime [java]: Start Command: java -jar myapp.jar 19 Saturday, October 20, 2012
  • 20. Uses of Standalone Applications • Run worker processes • Use frameworks with Embedded Jetty or Netty –Unfiltered –Spray –vert.x 20 Saturday, October 20, 2012
  • 21. Scala on Cloud Foundry • Lift What’s New • Play • Bring your Own Container (Web Apps) –Scalatra –Blue Eyes –Unfiltered –Spray • Standalone support –Akka 21 Saturday, October 20, 2012
  • 22. Play Framework • Supports Play 2.0 • Push Play app to CloudFoundry.com $ play dist $ vmc push --path=dist/dist.zip • Automatically applies evolutions • Automatically switches database to Postgres or MySQL • Props available in CF environment for service connections –${?cloud.services.mongo.connection.host} • cloudfoundry-runtime lib for programmatic service connections 22 Saturday, October 20, 2012
  • 23. Demo Play!ing with Cloud Foundry Saturday, October 20, 2012
  • 24. Scala Support: Coming Soon • Scala wrapper for cloudfoundry-runtime library • SBT plugin for Cloud Foundry deployment –Already have maven plugin • giter8 template –Blue Eyes for configuring web port and Mongo –Others? • Additional Play auto-reconfig • Scala wrapper for cloudfoundry-client-lib • ??? 24 Saturday, October 20, 2012
  • 25. Node.js on Cloud Foundry • Node 0.4 and 0.6 runtimes What’s New • Node 0.8 • NPM Support –Downloads and installs modules from npm-shrinkwrap.json –Brand new support for git modules –Modules with native dependencies installed correctly regardless of local packaging 25 Saturday, October 20, 2012
  • 26. Node.js: Auto-reconfiguration and cf-runtime • Apps using common node modules automatically connected to CF services –Great for CF quick start with existing apps • cf-runtime module for finer control over svc connections –Methods for obtaining app/service props and connections 26 Saturday, October 20, 2012
  • 27. Node Support: Coming Soon • cf-runtime and auto-reconfig for blob service • ??? 27 Saturday, October 20, 2012
  • 28. Java on Cloud Foundry • Spring, Grails, Java Web Apps with Java 6 • Auto-reconfiguration for Spring and Grails What’s New • Java 7 • Standalone support –Spring Integration and Batch Workers –vert.x –Tomcat 7 –Clojure, Groovy scripts, etc • JRuby 28 Saturday, October 20, 2012
  • 29. Demo Running workers on Cloud Foundry with Spring Saturday, October 20, 2012
  • 30. Java Support: Coming Soon • Auto-reconfiguration of standalone Spring apps • Auto-reconfiguration and cf-runtime for blob service • Choose container for Java web apps –i.e. Tomcat 6 or Tomcat 7 • ??? 30 Saturday, October 20, 2012
  • 31. Runtimes and Frameworks: Coming Soon • Runtime deprecation policy • Automatic runtime upgrades • More frequent runtime upgrades • More frequent addition of new runtimes • Serve static assets directly from nginx • TMPDIR set for all applications 31 Saturday, October 20, 2012
  • 32. What’s New Security and Account Management 32 Saturday, October 20, 2012
  • 33. Cloud Controller NG • Cloud Controller rewrite using Sinatra/Sequel • More RESTful interaction –Navigation through hyperlink in payload • Ability to pull in dependent objects in one call –Reduce roundtrips needed 33 Saturday, October 20, 2012
  • 34. DEA NG • Uses “warden” to to provide container for app execution –Uses Linux cgroups –Primary goals: Isolation and Resource Control –Isolates CPU usage, memory usage, disk usage, and network access 34 Saturday, October 20, 2012
  • 35. UAA (User Account and Authentication) • Web app built with Spring and Spring Security • Oauth2 • Pluggable authentication provider model • Now running on CloudFoundry.com 35 Saturday, October 20, 2012
  • 36. UAA High Level Features • Centralized Identity Management • Single Sign On • Delegating Access to Services • User Account Management • Client Application Registration 36 Saturday, October 20, 2012
  • 37. What’s New Services 37 Saturday, October 20, 2012
  • 38. Cloud Foundry Services • CloudFoundry.com • github.com/cloudfoundry Filesystem Blob 38 Saturday, October 20, 2012
  • 39. Backup Service • Periodic data dump to secure storage Gateway –Use service’s utilities to respect transactions, etc • Automatic rotation • Invisible to users Service Service … Node Node • Running today on cloudfoundry.com secure storage 39 Saturday, October 20, 2012
  • 40. Snapshots • User-visible upload/download of service instance Service –Take a snapshot Gateway –Enumerate snapshots –Download a snapshot … –Upload a snapshot (locally, cloud-to-cloud) Service Service Node Node –Switch to a snapshot • Coming soon to CloudFoundry.com secure storage 40 Saturday, October 20, 2012
  • 41. Warden • Run each service in a sandbox to protect from a service’s security flaws • Warden: client/server on top of “cgroups” • Services base library makes it easy to “wardenize” new services • Coming soon to CloudFoundry.com Service Node 41 Saturday, October 20, 2012
  • 42. Versions • Service gateways advertise different versions of a service to controller • Service nodes advertise which versions they support to gateway • User selects which version they want • Gateway routes provision based on requested version (similar to plans) • In progress on CloudFoundry.com 42 Saturday, October 20, 2012
  • 43. What’s New Tools 43 Saturday, October 20, 2012
  • 44. Introducing....vmc-ng • Next generation of VMC, the CLI for Cloud Foundry • Many interaction and architecture improvements • Still under development • gem install vmc --pre • mkdir ~/.vmc/use-ng 44 Saturday, October 20, 2012
  • 45. vmc-ng: Improved interaction • Shorter questions • Tab completion • Rewinding • Better scripting support • Better progress indicators 45 Saturday, October 20, 2012
  • 46. vmc-ng: Improved architecture • Small core delegating to a separate high-level library –High level = “cfoundry” gem –cfoundry provides Object layer instead of parsed JSON • Plugin architecture for extensions –Keeps vmc codebase clean and simple –Examples • caldecott • manifests 46 Saturday, October 20, 2012
  • 47. STS • Deploy and debug Java web, Spring, Grails, Lift apps What’s New • Deploy and debug standalone Java apps –Including Scala and Groovy • Caldecott support –Tunnel to all services directly from STS 47 Saturday, October 20, 2012
  • 48. Demo Deploying a standalone app with STS Saturday, October 20, 2012
  • 49. Other Tools for Your Toolbox • Java –cloudfoundry-client-lib • Java client to cc REST API –cloufoundry-maven-plugin –CF Gradle Plugin –cloudfoundry-caldecott-lib • Java library for tunneling to services –cloudfoundry-runtime • Node –cf-runtime module 49 Saturday, October 20, 2012
  • 50. What’s New Micro Cloud Foundry 50 Saturday, October 20, 2012
  • 51. Micro Cloud Foundry • Run a complete instance of CF on your computer using a VM image Coming Soon • New release - up to date with latest cf.com • Improved process for more frequent releases • Update mechanism • REST API for configuration management –Functionality previously available in the MCF console • Password, DNS, Network, Service management –Manage MCF using vmc or other tools 51 Saturday, October 20, 2012
  • 52. What’s New CloudFoundry.com Commercial Availability 52 Saturday, October 20, 2012
  • 53. CloudFoundry.com is coming out of beta • Getting close to commercial availability of CloudFoundry.com • Target: self-sufficient teams - 3-20 people –Designed for collaborative operation of applications –Including developers, architects, admins, QA, Ops, etc. • Paid tier provides –Additional capacity, features –Paid by credit card • Retain free tier • Best place to deploy your Spring and Grails apps 53 Saturday, October 20, 2012
  • 54. Create, Collaborate, Control • Web-based portal • Collaboration capabilities • Control cost 54 Saturday, October 20, 2012
  • 55. Web-based portal • Create teams, assign roles • Manage applications instances • Provision an increased catalog of services • Audit events and activities 55 Saturday, October 20, 2012
  • 56. Operational Collaboration Organization Account $ John’s Space Mary’s Space QA Space Production Space Other dev apps Other dev apps Other QA apps Other Prod apps App1 App1 App1 App1 John’s dev ver Mary’s dev ver QA version Production version Development QA Production 56 Saturday, October 20, 2012
  • 57. Collaboration Model User User Organization User User User Permission Space User User User User App Service 57 Saturday, October 20, 2012
  • 58. vmc-ng: Orgs and Spaces 58 Saturday, October 20, 2012
  • 59. Cost Management • Manage your spending and resource consumption • Configurable spending alerts across 59 Saturday, October 20, 2012
  • 60. Plans • vmc create-service mysql --plan <plan> • Plan = set of service parameters, configuration, options: –Size –Maximum concurrent connections Service Gateway –Query timeouts –Query cache size • Service gateway route provision Servic Servic Servic Service Service Service requests based on plan e Node Service Node e Service Node Node eService Node Node Node Node Node … • Coming soon to cloudfoundry.com 60 Saturday, October 20, 2012
  • 61. Single-Tenant Instances • Today, cloudfoundry.com service nodes are multi-tenant Service (many instances hosted on a one node) Gateway • Large/secure users might require that their service instance runs on their own dedicated node • Plan parameter: Service Service Service Service Node Service Node Service –capacity = max number of instances Node Service Service Node Node Service Node Node Node Node • Single-tenant Instances: … capacity = 1 • Coming soon to cloudfoundry.com 61 Saturday, October 20, 2012
  • 62. Platform to Grow with You • Development Memory and Services –Inexpensive –Low performance • Production Memory and Services –Paid option –Better performance 62 Saturday, October 20, 2012
  • 63. Demos • Play! –https://github.com/playframework/Play20/tree/master/samples/ java/zentasks • Spring Integration Workers –https://github.com/cloudfoundry-samples/twitter-rabbit-socks- sample • Unfiltered –https://github.com/cloudfoundry-samples/bitshow 63 Saturday, October 20, 2012
  • 64. Questions? 64 Saturday, October 20, 2012