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

  • 2,733 views
Uploaded on

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

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

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Thankss... http://www.turbopaylas.com/
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
2,733
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
54
Comments
1
Likes
6

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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. IT STARTS WITH AN EARTHQUAKE... 2006
  • 3. ...BIRDS...SNAKES...AN AEROPLANE...
  • 4. ...LENNY BRUCE IS NOT AFRAID.
  • 5. PaaSTHE GREAT ENABLER
  • 6. C10K The Problem
  • 7. MULTICLOUD?
  • 8. “NON-FUNCTIONAL” •Scale Up/Down •Health •Security •Promotion •Logging •Metrics
  • 9. SERVICES
  • 10. * An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy reasons
  • 11. ...LENNY BRUCE IS NOT AFRAID.
  • 12. HELLO WORLD Let’s PUSH some APPS!
  • 13. Java/Spring
  • 14. Java/Spring
  • 15. DEMO
  • 16. Ruby Gemfile
  • 17. Ruby config.ru
  • 18. Ruby app.rb
  • 19. DEMO
  • 20. Node.js package.json
  • 21. Node.js server.js
  • 22. DEMO
  • 23. SERVICE BINDING
  • 24. https://github.com/cloudfoundry-samples/spring-music
  • 25. SpringApplicationContextInitializer.java
  • 26. DEMO
  • 27. BUILDPACKS
  • 28. https://blog.heroku.com/archives/2012/7/17/buildpacks
  • 29. http://docs.cloudfoundry.com/docs/using/deploying-apps/buildpacks.html
  • 30. PLATFORM JAVA BUILDPACK RUBY BUILDPACK NODE.JS BUILDPACK APPLICATION APPLICATION APPLICATION
  • 31. https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
  • 32. detect
  • 33. compile
  • 34. release
  • 35. DEMO
  • 36. PLACES TO PUT YOUR STUFF!
  • 37. ORGANIZATIONS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG
  • 38. USERS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG
  • 39. DOMAINS PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG mktg.acme.com finance.acme.com eng.acme.com
  • 40. SPACES PLATFORM MARKETING ORG FINANCE ORG ENGINEERING ORG TESTDEV PROD TESTDEV PROD TESTDEV PROD
  • 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. 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. PROMOTION PIPELINE
  • 44. MARKETING ORG TESTDEV PROD SA S S
  • 45. MARKETING ORG TESTDEV PROD SA S SA
  • 46. MARKETING ORG TESTDEV PROD SA S SA A
  • 47. DEMO
  • 48. SCALING
  • 49. VM Router AppApp
  • 50. VM Router AppApp VM App VM App
  • 51. SCALING TO N •$$$$$$ •Inefficient •Slow
  • 52. DEA/Warden Router App App AppApp DEA/Warden
  • 53. DEMO
  • 54. HEALTH MANAGER
  • 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. DEMO
  • 57. BLUE-GREEN DEPLOYMENTS
  • 58. APP DEPLOYMENT •Cut-over is TRICKY! •Must be QUICK!
  • 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. BLUE PUSH AND MAP ROUTER BLUE-APP blue-app.cfapps.io app.cfapps.io
  • 61. GREEN PUSH ROUTER BLUE-APP GREEN-APP app.cfapps.io green-app.cfapps.io blue-app.cfapps.io
  • 62. GREEN MAP ROUTER BLUE-APP GREEN-APP app.cfapps.io green-app.cfapps.io blue-app.cfapps.io app.cfapps.io
  • 63. BLUE UN-MAP ROUTER BLUE-APP GREEN-APP green-app.cfapps.io blue-app.cfapps.io app.cfapps.io
  • 64. DEMO
  • 65. DEPLOYING CLOUD FOUNDRY!
  • 66. DEPLOYING CF http://docs.cloudfoundry.com/docs/running/deploying-cf/
  • 67. BOSH
  • 68. BOSH
  • 69. OPEN
  • 70. http://blog.cloudfoundry.com/2013/03/07/cloud-foundry-is-open-and-pivotal/
  • 71. http://blog.cloudfoundry.com/2013/05/16/want-to-contribute-to-cloud-foundry-come-on-in/
  • 72. THANK YOU! MATT STINE COMMUNITY ENGINEER, CLOUD FOUNDRY MSTINE@GOPIVOTAL.COM HTTP://WWW.CLOUDFOUNDRY.COM TWITTER: @MSTINE