A presentation at Devoxx UK 2014 in in London, UK by Holly Cummins
The Lazy Developer’s Guide to Cloud Foundry Holly Cummins @holly_cummins Document number © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins ? © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins A model for excellence in public speaking © 2014 IBM Corporation
@holly_cummins Cloud Foundry
cf push © 2014 IBM Corporation
Any questions? © 2014 IBM Corporation
@holly_cummins ? © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins IaaS © 2014 IBM Corporation
@holly_cummins PaaS © 2014 IBM Corporation
@holly_cummins SaaS © 2014 IBM Corporation
@holly_cummins The joy of cloud © 2014 IBM Corporation
@holly_cummins Introducing Cloud Foundry © 2014 IBM Corporation
@holly_cummins The Cloud Foundry Foundation © 2014 IBM Corporation
@holly_cummins The Cloud Foundry Foundation © 2014 IBM Corporation
@holly_cummins Public or private cloud? © 2014 IBM Corporation
@holly_cummins Public cloud © 2014 IBM Corporation
@holly_cummins Public cloud © 2014 IBM Corporation
@holly_cummins Public cloud This is supposed to show it’s easy to get going. © 2014 IBM Corporation
@holly_cummins Public cloud This is supposed to show it’s easy to get going. It’s a bad graphic but a great benefit. © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins System capacity still matters © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins Security © 2014 IBM Corporation
@holly_cummins Security is not just physical ▪Who has access to the data? ▪Who manages the servers? ▪What’s the patching policy? © 2014 IBM Corporation
@holly_cummins Hybrid cloud © 2014 IBM Corporation
@holly_cummins Public or private cloud? © 2014 IBM Corporation
@holly_cummins How big is your organisation? © 2014 IBM Corporation
@holly_cummins How big is your organisation? © 2014 IBM Corporation
@holly_cummins How big is your organisation? © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins Can we hear more about Cloud Foundry now, please? © 2014 IBM Corporation
@holly_cummins Public or private Cloud Foundry? © 2014 IBM Corporation
@holly_cummins Public or private Cloud Foundry? © 2014 IBM Corporation
@holly_cummins Public or private Cloud Foundry? © 2014 IBM Corporation
@holly_cummins Cloud Foundry
cf push © 2014 IBM Corporation
Putting your demo where your mouth is © 2014 IBM Corporation
@holly_cummins No really, that was cool © 2014 IBM Corporation
@holly_cummins No really, that was cool © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins © 2014 IBM Corporation
@holly_cummins Remember that I said it was easy to get going? © 2014 IBM Corporation
@holly_cummins Buildpacks © 2014 IBM Corporation
@holly_cummins Buildpacks © 2014 IBM Corporation
@holly_cummins Out of the box © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java ▪Node.js © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java ▪Node.js ▪PHP © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java ▪Node.js ▪PHP ▪Python © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java ▪Node.js ▪PHP ▪Python ▪Ruby © 2014 IBM Corporation
@holly_cummins Out of the box ▪Java ▪Node.js ▪PHP ▪Python ▪Ruby ▪Go © 2014 IBM Corporation
@holly_cummins Bring your own © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala ▪That thing you saw Greg Young talk about yesterday © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala ▪That thing you saw Greg Young talk about yesterday – Erlang © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala ▪That thing you saw Greg Young talk about yesterday – Erlang ▪The dark side © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala ▪That thing you saw Greg Young talk about yesterday – Erlang ▪The dark side – .NET © 2014 IBM Corporation
@holly_cummins Bring your own ▪Your preferred app server flavour – WebSphere Liberty Profile (of course!) – Jetty – nginx ▪The functional language to impress your colleagues with – Haskell – Clojure – Scala ▪That thing you saw Greg Young talk about yesterday – Erlang ▪The dark side – .NET ▪…. © 2014 IBM Corporation
@holly_cummins Bring someone else’s © 2014 IBM Corporation
@holly_cummins Bring someone else’s © 2014 IBM Corporation
@holly_cummins No really, bring your own ▪Start with someone else’s. ▪Cut, paste, fork. © 2014 IBM Corporation
@holly_cummins buildpack: http:// my.cool.pack.git © 2014 IBM Corporation
@holly_cummins Life of a buildpack © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect – Do I understand this application? © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect – Do I understand this application? ▪Compile © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect – Do I understand this application? ▪Compile – I do understand this application! Let’s package it up into a selfcontained unit (“droplet”) © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect – Do I understand this application? ▪Compile – I do understand this application! Let’s package it up into a selfcontained unit (“droplet”) ▪Release © 2014 IBM Corporation
@holly_cummins Life of a buildpack ▪Detect – Do I understand this application? ▪Compile – I do understand this application! Let’s package it up into a selfcontained unit (“droplet”) ▪Release – Ok, let’s go! © 2014 IBM Corporation
@holly_cummins Services © 2014 IBM Corporation
@holly_cummins Services ▪You didn’t want to provide an app server … © 2014 IBM Corporation
@holly_cummins Services ▪You didn’t want to provide an app server … ▪… so you don’t want to provide the database … © 2014 IBM Corporation
@holly_cummins Services ▪You didn’t want to provide an app server … ▪… so you don’t want to provide the database … ▪… or the email provider … © 2014 IBM Corporation
@holly_cummins Services ▪You didn’t want to provide an app server … ▪… so you don’t want to provide the database … ▪… or the email provider … ▪… or the monitoring © 2014 IBM Corporation
@holly_cummins Some are generic © 2014 IBM Corporation
@holly_cummins Some are not … © 2014 IBM Corporation
@holly_cummins … and there are a lot © 2014 IBM Corporation
@holly_cummins Binding services services:! - instance_ABC! - instance_XYZ © 2014 IBM Corporation
@holly_cummins Using a bound service © 2014 IBM Corporation
@holly_cummins Using a bound service System.getProperty(VCAP_SERVICES);! ! {! sqldb”: [! {! “name”: “SQLDB-myDB”,! “label”: “sqldb”! “plan”: “sqldb_small”! “credentials”: {! “hostname”: “75.126.155.139”,! “host”: “75.126.155.139”,! “port”: 50000,! “username”: “u123456”,! “password”: “CasDQ5v72u”,! “db”: “I_012345”,! “jdbcurl”: “jdbc:db2://75.126.155.139:50000/I_012345”,! “uri”: “db2://u123:CasD@75.126.155.139:50000/I_012345”! }! }! ]! }! © 2014 IBM Corporation
@holly_cummins Docker © 2014 IBM Corporation
@holly_cummins Decker © 2014 IBM Corporation
@holly_cummins Decker + © 2014 IBM Corporation
@holly_cummins Decker
cf push © 2014 IBM Corporation
@holly_cummins Decker
cf push © 2014 IBM Corporation
@holly_cummins Decker
cf push © 2014 IBM Corporation
@holly_cummins In the future © 2014 IBM Corporation
@holly_cummins In the future ▪More convergence © 2014 IBM Corporation
@holly_cummins In the future ▪More convergence ▪Cloud Foundry will have first class support for pushing docker images © 2014 IBM Corporation
@holly_cummins In the future ▪More convergence ▪Cloud Foundry will have first class support for pushing docker images ▪Cloud Foundry will use Docker’s lib container internally © 2014 IBM Corporation
Thank you. Any questions? @holly_cummins © 2014 IBM Corporation
Here’s what was said about this presentation on social media.
Nice @holly_cummins talk on clouds #devoxxuk pic.twitter.com/ikDKwgUZka
— andypiper 😷 (@andypiper) June 13, 2014
More love for @IBMBlueMix at #DevoxxUK by @holly_cummins pic.twitter.com/5f3lebvXbC
— James Thomas (@thomasj) June 13, 2014