IT’S THE END OF THE CLOUD
AS WE KNOW IT
MATT STINE
COMMUNITY ENGINEER, CLOUD FOUNDRY
MSTINE@GOPIVOTAL.COM
HTTP://WWW.CLOUD...
IT STARTS WITH AN EARTHQUAKE...
2006
...BIRDS...SNAKES...AN AEROPLANE...
...LENNY BRUCE IS NOT AFRAID.
PaaSTHE GREAT ENABLER
C10K
The
Problem
MULTICLOUD?
“NON-FUNCTIONAL”
•Scale Up/Down
•Health
•Security
•Promotion
•Logging
•Metrics
SERVICES
* An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy reasons
...LENNY BRUCE IS NOT AFRAID.
HELLO WORLD
Let’s PUSH some APPS!
Java/Spring
Java/Spring
DEMO
Ruby
Gemfile
Ruby
config.ru
Ruby
app.rb
DEMO
Node.js
package.json
Node.js
server.js
DEMO
SERVICE BINDING
https://github.com/cloudfoundry-samples/spring-music
SpringApplicationContextInitializer.java
DEMO
BUILDPACKS
https://blog.heroku.com/archives/2012/7/17/buildpacks
http://docs.cloudfoundry.com/docs/using/deploying-apps/buildpacks.html
PLATFORM
JAVA BUILDPACK RUBY BUILDPACK NODE.JS BUILDPACK
APPLICATION APPLICATION APPLICATION
https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
detect
compile
release
DEMO
PLACES TO PUT
YOUR STUFF!
ORGANIZATIONS
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
USERS
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
DOMAINS
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
mktg.acme.com finance.acme.com eng.acme.com
SPACES
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
TESTDEV PROD TESTDEV PROD TESTDEV PROD
APPS & SERVICES
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
TESTDEV PROD TESTDEV PROD TESTDEV PROD
A S S S A S A S ...
ROUTES
PLATFORM
MARKETING ORG FINANCE ORG ENGINEERING ORG
TESTDEV PROD TESTDEV PROD TESTDEV PROD
A S S S A S A S A A A
ROU...
PROMOTION
PIPELINE
MARKETING ORG
TESTDEV PROD
SA S S
MARKETING ORG
TESTDEV PROD
SA S SA
MARKETING ORG
TESTDEV PROD
SA S SA A
DEMO
SCALING
VM
Router
AppApp
VM
Router
AppApp
VM
App
VM
App
SCALING TO N
•$$$$$$
•Inefficient
•Slow
DEA/Warden
Router
App
App
AppApp
DEA/Warden
DEMO
HEALTH MANAGER
App
App
App
Desired
State
App
App
App
Actual
State
HARMONIZER
Cloud
Controller
DEA
NATSBulk API
SCHEDULER
NUDGER
NATS
NATS...
DEMO
BLUE-GREEN
DEPLOYMENTS
APP DEPLOYMENT
•Cut-over is TRICKY!
•Must be QUICK!
BLUE-GREEN
•Ensure parallel existence of 2 identical
environments
•At time t, only one (blue) services traffic
•New deploym...
BLUE PUSH AND MAP
ROUTER BLUE-APP
blue-app.cfapps.io
app.cfapps.io
GREEN PUSH
ROUTER
BLUE-APP
GREEN-APP
app.cfapps.io
green-app.cfapps.io
blue-app.cfapps.io
GREEN MAP
ROUTER
BLUE-APP
GREEN-APP
app.cfapps.io
green-app.cfapps.io
blue-app.cfapps.io
app.cfapps.io
BLUE UN-MAP
ROUTER
BLUE-APP
GREEN-APP
green-app.cfapps.io
blue-app.cfapps.io
app.cfapps.io
DEMO
DEPLOYING CLOUD
FOUNDRY!
DEPLOYING CF
http://docs.cloudfoundry.com/docs/running/deploying-cf/
BOSH
BOSH
OPEN
http://blog.cloudfoundry.com/2013/03/07/cloud-foundry-is-open-and-pivotal/
http://blog.cloudfoundry.com/2013/05/16/want-to-contribute-to-cloud-foundry-come-on-in/
THANK YOU!
MATT STINE
COMMUNITY ENGINEER, CLOUD FOUNDRY
MSTINE@GOPIVOTAL.COM
HTTP://WWW.CLOUDFOUNDRY.COM
TWITTER: @MSTINE
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
It's the End of the Cloud as We Know It
Upcoming SlideShare
Loading in...5
×

It's the End of the Cloud as We Know It

2,946

Published on

Why PaaS in general, and Cloud Foundry in particular, provides the necessary tools to change the way we develop and deploy applications.

Published in: Technology, Business
1 Comment
6 Likes
Statistics
Notes
  • Thankss... http://www.turbopaylas.com/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,946
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
55
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

It's the End of the Cloud as We Know It

  1. 1. IT’S THE END OF THE CLOUD AS WE KNOW IT MATT STINE COMMUNITY ENGINEER, CLOUD FOUNDRY MSTINE@GOPIVOTAL.COM HTTP://WWW.CLOUDFOUNDRY.COM TWITTER: @MSTINE
  2. 2. IT STARTS WITH AN EARTHQUAKE... 2006
  3. 3. ...BIRDS...SNAKES...AN AEROPLANE...
  4. 4. ...LENNY BRUCE IS NOT AFRAID.
  5. 5. PaaSTHE GREAT ENABLER
  6. 6. C10K The Problem
  7. 7. MULTICLOUD?
  8. 8. “NON-FUNCTIONAL” •Scale Up/Down •Health •Security •Promotion •Logging •Metrics
  9. 9. SERVICES
  10. 10. * An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy reasons
  11. 11. ...LENNY BRUCE IS NOT AFRAID.
  12. 12. HELLO WORLD Let’s PUSH some APPS!
  13. 13. Java/Spring
  14. 14. Java/Spring
  15. 15. DEMO
  16. 16. Ruby Gemfile
  17. 17. Ruby config.ru
  18. 18. Ruby app.rb
  19. 19. DEMO
  20. 20. Node.js package.json
  21. 21. Node.js server.js
  22. 22. DEMO
  23. 23. SERVICE BINDING
  24. 24. https://github.com/cloudfoundry-samples/spring-music
  25. 25. SpringApplicationContextInitializer.java
  26. 26. DEMO
  27. 27. BUILDPACKS
  28. 28. https://blog.heroku.com/archives/2012/7/17/buildpacks
  29. 29. http://docs.cloudfoundry.com/docs/using/deploying-apps/buildpacks.html
  30. 30. PLATFORM JAVA BUILDPACK RUBY BUILDPACK NODE.JS BUILDPACK APPLICATION APPLICATION APPLICATION
  31. 31. https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
  32. 32. detect
  33. 33. compile
  34. 34. release
  35. 35. DEMO
  36. 36. PLACES TO PUT YOUR STUFF!
  37. 37. ORGANIZATIONS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG
  38. 38. USERS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG
  39. 39. DOMAINS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG mktg.acme.com finance.acme.com eng.acme.com
  40. 40. SPACES PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG TESTDEV PROD TESTDEV PROD TESTDEV PROD
  41. 41. APPS & SERVICES PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG TESTDEV PROD TESTDEV PROD TESTDEV PROD A S S S A S A S A A A
  42. 42. ROUTES PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG TESTDEV PROD TESTDEV PROD TESTDEV PROD A S S S A S A S A A A ROUTER app1.m ktg.acm e.com app3.finance.acme.com app2.eng.acm e.com
  43. 43. PROMOTION PIPELINE
  44. 44. MARKETING ORG TESTDEV PROD SA S S
  45. 45. MARKETING ORG TESTDEV PROD SA S SA
  46. 46. MARKETING ORG TESTDEV PROD SA S SA A
  47. 47. DEMO
  48. 48. SCALING
  49. 49. VM Router AppApp
  50. 50. VM Router AppApp VM App VM App
  51. 51. SCALING TO N •$$$$$$ •Inefficient •Slow
  52. 52. DEA/Warden Router App App AppApp DEA/Warden
  53. 53. DEMO
  54. 54. HEALTH MANAGER
  55. 55. App App App Desired State App App App Actual State HARMONIZER Cloud Controller DEA NATSBulk API SCHEDULER NUDGER NATS NATS Observes Observes Schedule Observation Trigger Harmonization HealthManager
  56. 56. DEMO
  57. 57. BLUE-GREEN DEPLOYMENTS
  58. 58. APP DEPLOYMENT •Cut-over is TRICKY! •Must be QUICK!
  59. 59. BLUE-GREEN •Ensure parallel existence of 2 identical environments •At time t, only one (blue) services traffic •New deployments made to other (green) environment •When ready, route traffic to green •Stop routing traffic to blue
  60. 60. BLUE PUSH AND MAP ROUTER BLUE-APP blue-app.cfapps.io app.cfapps.io
  61. 61. GREEN PUSH ROUTER BLUE-APP GREEN-APP app.cfapps.io green-app.cfapps.io blue-app.cfapps.io
  62. 62. GREEN MAP ROUTER BLUE-APP GREEN-APP app.cfapps.io green-app.cfapps.io blue-app.cfapps.io app.cfapps.io
  63. 63. BLUE UN-MAP ROUTER BLUE-APP GREEN-APP green-app.cfapps.io blue-app.cfapps.io app.cfapps.io
  64. 64. DEMO
  65. 65. DEPLOYING CLOUD FOUNDRY!
  66. 66. DEPLOYING CF http://docs.cloudfoundry.com/docs/running/deploying-cf/
  67. 67. BOSH
  68. 68. BOSH
  69. 69. OPEN
  70. 70. http://blog.cloudfoundry.com/2013/03/07/cloud-foundry-is-open-and-pivotal/
  71. 71. http://blog.cloudfoundry.com/2013/05/16/want-to-contribute-to-cloud-foundry-come-on-in/
  72. 72. THANK YOU! MATT STINE COMMUNITY ENGINEER, CLOUD FOUNDRY MSTINE@GOPIVOTAL.COM HTTP://WWW.CLOUDFOUNDRY.COM TWITTER: @MSTINE
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×