Russ miles-cloudfoundry-deep-dive

1,911 views

Published on

Russ miles-cloudfoundry-deep-dive

  1. 1. Cloud FoundryUnder the skin of VMware’s Open Cloud Platform
  2. 2. First, two apologies...@russmiles | russ.miles@opencredo.com
  3. 3. OSJ Ed. 1@russmiles | russ.miles@opencredo.com
  4. 4. PAAS and Lock-in@russmiles | russ.miles@opencredo.com
  5. 5. Times have changed@russmiles | russ.miles@opencredo.com
  6. 6. A Short History@russmiles | russ.miles@opencredo.com
  7. 7. CloudFoundry 1.0@russmiles | russ.miles@opencredo.com
  8. 8. Running on AWS@russmiles | russ.miles@opencredo.com
  9. 9. Java, WAR-Based Apps@russmiles | russ.miles@opencredo.com
  10. 10. Common, Cost- Sensitive Topology@russmiles | russ.miles@opencredo.com
  11. 11. Some Downsides...@russmiles | russ.miles@opencredo.com
  12. 12. Management & Monitoring was minimal@russmiles | russ.miles@opencredo.com
  13. 13. Expensive Accidents Possible...@russmiles | russ.miles@opencredo.com
  14. 14. But it worked!@russmiles | russ.miles@opencredo.com
  15. 15. Or did it...@russmiles | russ.miles@opencredo.com
  16. 16. JVM-only!?@russmiles | russ.miles@opencredo.com
  17. 17. MySQL Only!?@russmiles | russ.miles@opencredo.com
  18. 18. AWS Only?!@russmiles | russ.miles@opencredo.com
  19. 19. Private/Hybrid?@russmiles | russ.miles@opencredo.com
  20. 20. Open Source?@russmiles | russ.miles@opencredo.com
  21. 21. Thought we were getting...@russmiles | russ.miles@opencredo.com
  22. 22. Started to look like...@russmiles | russ.miles@opencredo.com
  23. 23. Why were we bothering?@russmiles | russ.miles@opencredo.com
  24. 24. The Provisioning Story @cread @tastapod http://www.infoq.com/presentations/Agile- Operations-Optimizing-Business@russmiles | russ.miles@opencredo.com
  25. 25. Continuous Delivery “We’re entering a world where continuous delivery will be the norm”@russmiles | russ.miles@opencredo.com
  26. 26. Enabling DevOps flexibility@russmiles | russ.miles@opencredo.com
  27. 27. And for what?@russmiles | russ.miles@opencredo.com
  28. 28. V1 (Hope) V1 (Reality) V2? “Cloud Foundry” is re-imagined@russmiles | russ.miles@opencredo.com
  29. 29. CloudFoundry 2.0@russmiles | russ.miles@opencredo.com
  30. 30. A Platform@russmiles | russ.miles@opencredo.com
  31. 31. Open PAAS@russmiles | russ.miles@opencredo.com
  32. 32. The Currency is the ‘App’@russmiles | russ.miles@opencredo.com
  33. 33. Cloud Developer Bill of Rights http://www.developerrights.org@russmiles | russ.miles@opencredo.com
  34. 34. Cloud Developer Bill of Rights@russmiles | russ.miles@opencredo.com
  35. 35. Your Rights • The Right to Code • The Right to Build Applications • The Right to Cloud Portability • The Right to a Choice of Frameworks • The Right to a Choice of Application Services • The Right to Platform Transparency • The Right to Emigrate • The Right of Ownership The Right to Open Source! • The Right to be Left Alone@russmiles | russ.miles@opencredo.com
  36. 36. Pragmatic Productivity: Productivity comes from the best runtime/language/libraries/ services for the situation Including Skills & Context!@russmiles | russ.miles@opencredo.com
  37. 37. Time for some action@russmiles | russ.miles@opencredo.com
  38. 38. Demos Using the Public Face of Cloud Foundry@russmiles | russ.miles@opencredo.com
  39. 39. Demos Spring Apps@russmiles | russ.miles@opencredo.com
  40. 40. Demos Ruby (& Rails) Apps VMC Command-Line in Action@russmiles | russ.miles@opencredo.com
  41. 41. Demos Node.js Apps@russmiles | russ.miles@opencredo.com
  42. 42. What’s under the skin?@russmiles | russ.miles@opencredo.com
  43. 43. Cloud Foundry Architecture@russmiles | russ.miles@opencredo.com
  44. 44. VCAP@russmiles | russ.miles@opencredo.com
  45. 45. VCAP NATS@russmiles | russ.miles@opencredo.com
  46. 46. VCAP Routers & Load Balancing NATS@russmiles | russ.miles@opencredo.com
  47. 47. VCAP Routers & Cloud Load Balancing Controller NATS@russmiles | russ.miles@opencredo.com
  48. 48. VCAP Routers & Cloud Load Balancing Controller NATS DEA@russmiles | russ.miles@opencredo.com
  49. 49. VCAP Routers & Cloud Load Balancing Controller NATS Droplet DEA@russmiles | russ.miles@opencredo.com
  50. 50. VCAP Routers & Cloud Load Balancing Controller NATS Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  51. 51. VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  52. 52. Architecture In Action@russmiles | russ.miles@opencredo.com
  53. 53. “vmc target” In Action@russmiles | russ.miles@opencredo.com
  54. 54. > vmc target VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  55. 55. > vmc targetget http://api.cloudfoundry.com/info VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager @russmiles | russ.miles@opencredo.com
  56. 56. > vmc target VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  57. 57. > vmc target VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  58. 58. > vmc target JSON VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  59. 59. “vmc login” In Action@russmiles | russ.miles@opencredo.com
  60. 60. > vmc login VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  61. 61. > vmc login VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  62. 62. > vmc login VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  63. 63. > vmc login VCAP Routers & Security Token Cloud Load Balancing ~2 weeks lease Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  64. 64. > vmc login VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  65. 65. > vmc login Token Cached VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  66. 66. “vmc push” In Action@russmiles | russ.miles@opencredo.com
  67. 67. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  68. 68. > vmc push <appname> Security Token VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  69. 69. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  70. 70. > vmc push <appname> VCAP Routers & Cloud Load Balancing Validates Token Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  71. 71. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  72. 72. > vmc push <appname> Does Diffs VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  73. 73. > vmc push <appname>Compressed Package of Changes VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager @russmiles | russ.miles@opencredo.com
  74. 74. > vmc push <appname> VCAP Routers & Cloud App Package Load Balancing Diff Manifest Controller Security Token NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  75. 75. > vmc push <appname> VCAP Routers & Validates Cloud Load Balancing Uncompresses Adds Missing Files Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  76. 76. > vmc push <appname> VCAP Routers & “Gold App Package” Cloud Load Balancing Recompressed Saved to shared dir Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  77. 77. > vmc push <appname>“Push Status: OK” VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  78. 78. > vmc push <appname> Start App & poll VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  79. 79. > vmc push <appname> VCAP Routers & Decide on necessary runtimes, Cloud Load Balancing frameworks and Controller services NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  80. 80. > vmc push <appname> VCAP Routers & App Package Staged Cloud Load Balancing Compressed Versioned Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  81. 81. > vmc push <appname>“Staging Application: OK” VCAP Routers & Cloud Load Balancing Controller NATS Services Health DEA Manager@russmiles | russ.miles@opencredo.com
  82. 82. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Broadcast app requirements Health DEA Manager@russmiles | russ.miles@opencredo.com
  83. 83. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Health Meets App DEA Requirements? Manager@russmiles | russ.miles@opencredo.com
  84. 84. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services “I can start it!” Health DEA Manager@russmiles | russ.miles@opencredo.com
  85. 85. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Staged App Info Fingerprint Where to get it Health DEA Manager Droplet@russmiles | russ.miles@opencredo.com
  86. 86. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health Extract Package DEA Boots environment Manager@russmiles | russ.miles@opencredo.com
  87. 87. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Binds Services Manager@russmiles | russ.miles@opencredo.com
  88. 88. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Starts App Manager@russmiles | russ.miles@opencredo.com
  89. 89. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Broadcast “App Started” Health DEA Manager@russmiles | russ.miles@opencredo.com
  90. 90. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet “I’m Alive” Health DEA Manager@russmiles | russ.miles@opencredo.com
  91. 91. > vmc push <appname>App Started? Poll VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager @russmiles | russ.miles@opencredo.com
  92. 92. > vmc push <appname> VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  93. 93. > vmc push <appname>“Starting Application: OK” VCAP Routers & Cloud Load Balancing Controller NATS Services Droplet Health DEA Manager@russmiles | russ.miles@opencredo.com
  94. 94. What about R.Y.O?@russmiles | russ.miles@opencredo.com
  95. 95. Local Demos@russmiles | russ.miles@opencredo.com
  96. 96. “You’re not from round here are ya...” Demo: Local Cloud Foundry@russmiles | russ.miles@opencredo.com
  97. 97. Why did it take so long?@russmiles | russ.miles@opencredo.com
  98. 98. Timing is everything@russmiles | russ.miles@opencredo.com
  99. 99. Convergence on App Deployment Stories@russmiles | russ.miles@opencredo.com
  100. 100. Open Source Drives Innovation (again)@russmiles | russ.miles@opencredo.com
  101. 101. Some ‘Missing’ Pieces@russmiles | russ.miles@opencredo.com
  102. 102. Scaling is easy...@russmiles | russ.miles@opencredo.com
  103. 103. OSGi?@russmiles | russ.miles@opencredo.com
  104. 104. Python?@russmiles | russ.miles@opencredo.com
  105. 105. Summary@russmiles | russ.miles@opencredo.com
  106. 106. Glad to be wrong!@russmiles | russ.miles@opencredo.com
  107. 107. “Can I run my app, pleeeaase!”@russmiles | russ.miles@opencredo.com
  108. 108. Continuous Delivery@russmiles | russ.miles@opencredo.com
  109. 109. DevOps@russmiles | russ.miles@opencredo.com
  110. 110. To From Finally the App Server has Grown Up!@russmiles | russ.miles@opencredo.com
  111. 111. Use the source VCAP https://github.com/cloudfoundry/vcap Samples https://github.com/SpringSource/ cloudfoundry-samples@russmiles | russ.miles@opencredo.com
  112. 112. Definitely!@russmiles | russ.miles@opencredo.com
  113. 113. Thanks for your time! & Any Questions? @russmiles russ.miles@opencredo.com

×