IT’S THE END OF THE CLOUD
AS WE KNOW IT

MATT STINE
COMMUNITY ENGINEER, CLOUD FOUNDRY
MSTINE@GOPIVOTAL.COM
HTTP://WWW.CLOU...
2006

IT STARTS WITH AN EARTHQUAKE...
...BIRDS...SNAKES...AN AEROPLANE...
...LENNY BRUCE IS NOT AFRAID.
PaaS

THE GREAT ENABLER
The

C10K
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
APPLICATION

APPLICATION

APPLICATION

JAVA BUILDPACK

RUBY BUILDPACK

NODE.JS BUILDPACK

PLATFORM
https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
detect
compile
release
DEMO
PLACES TO PUT
YOUR STUFF!
ORGANIZATIONS
MARKETING ORG

FINANCE ORG

PLATFORM

ENGINEERING ORG
USERS
MARKETING ORG

FINANCE ORG

PLATFORM

ENGINEERING ORG
DOMAINS
MARKETING ORG

FINANCE ORG

ENGINEERING ORG

mktg.acme.com

finance.acme.com

eng.acme.com

PLATFORM
SPACES
MARKETING ORG

DEV

TEST

PROD

FINANCE ORG

DEV

TEST

PROD

PLATFORM

ENGINEERING ORG

DEV

TEST

PROD
APPS & SERVICES
MARKETING ORG

DEV
A

S

TEST
S

ENGINEERING ORG

FINANCE ORG

PROD
S

DEV
A

S

TEST
A

S

PROD

DEV
A

P...
ROUTES
e.
co
m
g.
ac
m
ap
p1
.m
kt

A

S

TEST
S

m
co
e.

DEV

m
ac
g.

MARKETING ORG

n
.e
p2
ap

app3.finance.acme.co
m
...
PROMOTION
PIPELINE
MARKETING ORG

TEST

DEV

A

S

PROD

S

S
MARKETING ORG

TEST

DEV

A

S

A

PROD

S

S
MARKETING ORG

TEST

DEV

A

S

A

PROD

S

A

S
DEMO
SCALING
Router

App

App

VM
Router

App

App

VM

App

VM

App

VM
SCALING TO N
•$$$$$$
•Inefficient
•Slow
Router

App

App

App

App

DEA/Warden

DEA/Warden
DEMO
HEALTH MANAGER
HealthManager
SCHEDULER
App

App
Schedule
Observation

App

App

HARMONIZER
Observes

Observes

App

Trigger
Harmonization...
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 deploy...
BLUE PUSH AND MAP

ROUTER

blue-app.cfapps.io
app.cfapps.io

BLUE-APP
GREEN PUSH
ROUTER

blue-app.cfapps.io
app.cfapps.io

gre
e

BLUE-APP

n-a
pp
.cf
ap
ps
.io

GREEN-APP
GREEN MAP
ROUTER

blue-app.cfapps.io
app.cfapps.io

BLUE-APP

ap
p.c
gre
fap
en
ps
.io
-ap
p.c
fap
ps
.io

GREEN-APP
BLUE UN-MAP
ROUTER

blue-app.cfapps.io

BLUE-APP

ap
p.c
gre
fap
en
ps
.io
-ap
p.c
fap
ps
.io

GREEN-APP
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
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Itstheendofthecloud 130718184420-phpapp02
Upcoming SlideShare
Loading in...5
×

Itstheendofthecloud 130718184420-phpapp02

67

Published on

Some of the Slideshare presentations that I have uploaded were not created by me. They are all worth having a look at. I am Stephen Darori on Linkedin. If you think we have or could have some synergy now or in the future.do Send me an invitation to connect on Linkedin

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
67
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Itstheendofthecloud 130718184420-phpapp02

  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. 2006 IT STARTS WITH AN EARTHQUAKE...
  3. 3. ...BIRDS...SNAKES...AN AEROPLANE...
  4. 4. ...LENNY BRUCE IS NOT AFRAID.
  5. 5. PaaS THE GREAT ENABLER
  6. 6. The C10K 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. APPLICATION APPLICATION APPLICATION JAVA BUILDPACK RUBY BUILDPACK NODE.JS BUILDPACK PLATFORM
  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 MARKETING ORG FINANCE ORG PLATFORM ENGINEERING ORG
  38. 38. USERS MARKETING ORG FINANCE ORG PLATFORM ENGINEERING ORG
  39. 39. DOMAINS MARKETING ORG FINANCE ORG ENGINEERING ORG mktg.acme.com finance.acme.com eng.acme.com PLATFORM
  40. 40. SPACES MARKETING ORG DEV TEST PROD FINANCE ORG DEV TEST PROD PLATFORM ENGINEERING ORG DEV TEST PROD
  41. 41. APPS & SERVICES MARKETING ORG DEV A S TEST S ENGINEERING ORG FINANCE ORG PROD S DEV A S TEST A S PROD DEV A PLATFORM A TEST PROD A
  42. 42. ROUTES e. co m g. ac m ap p1 .m kt A S TEST S m co e. DEV m ac g. MARKETING ORG n .e p2 ap app3.finance.acme.co m ROUTER FINANCE ORG PROD S DEV A S TEST A S ENGINEERING ORG PROD DEV A PLATFORM A TEST PROD A
  43. 43. PROMOTION PIPELINE
  44. 44. MARKETING ORG TEST DEV A S PROD S S
  45. 45. MARKETING ORG TEST DEV A S A PROD S S
  46. 46. MARKETING ORG TEST DEV A S A PROD S A S
  47. 47. DEMO
  48. 48. SCALING
  49. 49. Router App App VM
  50. 50. Router App App VM App VM App VM
  51. 51. SCALING TO N •$$$$$$ •Inefficient •Slow
  52. 52. Router App App App App DEA/Warden DEA/Warden
  53. 53. DEMO
  54. 54. HEALTH MANAGER
  55. 55. HealthManager SCHEDULER App App Schedule Observation App App HARMONIZER Observes Observes App Trigger Harmonization Desired State NUDGER Bulk API App Actual State NATS NATS Cloud Controller NATS DEA
  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.cfapps.io app.cfapps.io BLUE-APP
  61. 61. GREEN PUSH ROUTER blue-app.cfapps.io app.cfapps.io gre e BLUE-APP n-a pp .cf ap ps .io GREEN-APP
  62. 62. GREEN MAP ROUTER blue-app.cfapps.io app.cfapps.io BLUE-APP ap p.c gre fap en ps .io -ap p.c fap ps .io GREEN-APP
  63. 63. BLUE UN-MAP ROUTER blue-app.cfapps.io BLUE-APP ap p.c gre fap en ps .io -ap p.c fap ps .io GREEN-APP
  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.

×