BUILT  FOR  THE SPEED  OF  BUSINESS
The Cloud Foundry Story
On Openstack
Stuart Charlton
Field Engineering, Western Canada
2©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
Why?
Where?
What  Is  It?
Who  Makes  It?
How  does  it  work?
3©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
“Cloud  is  about  how  computing  
is  done,  not  where”
Paul  Maritz
CEO,  Pivotal
4©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
Members  of  the  Cloud  Foundry  Foundation
PLATINUM
GOLD
SILVER
5©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
What  do we  mean  by  “Platform”?
6©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential. 6©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
Pivotal  Cloud  Platform  Demonstration
The Developer Experience
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Value to Developers
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
• Deploy  to  different  geographies
• 30-­60  second  turnaround
• Automated  config  management
• Automated  rapid  scale  out
• Debug  across  your  cluster
• Validate  high  availability
• Easy  integration  with  APM
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
https://run.pivotal.io
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
1. Download the CLI
according to your OS
2. Target the cloud
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
https://github.com/Pivotal-­Field-­Engineering/PCF-­demo
Login  to  the  CLI
Clone  the  app
Push  the  app
Verify  app  is  running
Application push
cf api api.run.pivotal.io
cf login
$
$
Email:
Password:
me@me.com
**************
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
https://github.com/Pivotal-­Field-­Engineering/PCF-­demo
Clone or Download
Login  to  the  CLI
Clone  the  app
Push  the  app
Verify  app  is  running
Application push
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  push
Login  to  the  CLI
Clone  the  app
Push  the  app
Verify  app  is  running
Application push
cd PCF-demo
cf push
$
PCF-demo$
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Login  to  the  CLI
Clone  the  app
Push  the  app
Verify  app  is  running
Application push
Navigate to the PWS Web Console
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Click on "Marketplace"
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Choose “Cloud AMQP” (RabbitMQ)
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Select the free plan
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Give it a name and bind it to the app
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create  Service
Bind  service
Restart  App
Verify
Give it a name and bind it to the app
Service creation and bind
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Click here
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
Heat Map gets
activated as
orders come
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create  Service
Bind  service
Restart  App
Verify
cf env pcfdemo$
Service creation and bind
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
$
Service creation and bind
Create  Service
Bind  service
Restart  App
Verify
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Magic is in Spring Cloud Connectors
http://cloud.spring.io/spring-­cloud-­connectors
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Cloud  Foundry
Connector
Heroku
Connector
Core
Spring  Service
Connector
Spring
Cloud
Connectors
Modules
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
From VCAP_SERVICES to Connection Bean
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Scale  instances
Verify
Scale my App
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Scale my App
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Scale  instances
Verify
Scale my App
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Scale  instances
Verify
Scale my App
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
cf logs pcfdemo$
Logs, Events and Health Management
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
cf events pcfdemo$
Logs, Events and Health Management
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Logs, Events and Health Management
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Logs and Health Management
cf  logs
Kill  app
Verify  fail-­over  
Recover  failed  instance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Logs and Health Management
cf  logs
Kill  app
Verify  fail-­over  
Recover  failed  instance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
Click me!
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
but… App is still up !!!
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
Refresh page and
see IP changing
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
Few seconds and all
instances areback again.
No intervention needed.
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
cf  logs
cf  events
Kill  app
Verify  fail-­over  
Recover  failed  instance
Logs, Events and Health Management
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
The Developer Experience
• Target  My  Cloud  Foundry  Provider
• Push  My  App
• Bind  My  App  to  Backing  Services
• Scale  My  App
• Monitor  My  App’s  Logs
• Monitor  My  App’s  Health
• Monitor  My  App’s  Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
cf pushPCF-demo$
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
©  Copyright   2015 Pivotal.  All  rights   reserved.     Confidential.
Create/Bind  New  Relic
Re-­push  app
Check  New  Relic
Monitor App Performance
62©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential. 62©   Copyright   2015   Pivotal.   All   rights   reserved.     Confidential.
Cloud  Foundry  
Architecture  
in  Five  Steps
63Pivotal   Confidential
Prerequisite:    An  Infrastructure  Cloud
Google
vSphere AmazonOpenStack
Fast,  Consistent  API  Access  to  
Resources
Servers,  Networks,  Storage,  Images
vCloud
Azure
64Pivotal   Confidential
1.    BOSH:  Provision  &  Deploy  Consistently
Google
Cloud  Foundry  BOSH
vSphere AmazonOpenStack
Multi-­Cloud  Declarative  
Service  Deployment,  
Operations
Prefabricated  &  Disposable  Infrastructure:
VM  Images  are  minimal  OS  (“stemcells”)
VMs  run  &  replicate  jobs  &  packages
VMs  are  disposed  and  recreated  for  job  changes/upgrades
Persistent  disks  are  managed,  resized,  attached/detached
Result:
Automatic  health  management
No  more  managing  individual  servers  
Rolling  /  canary  updates
vCloud
Azure
65Pivotal   Confidential
2.  Data,  CI,  and  Mobile  Services  
Others
Jenkins  
Service
(CI)
Google
Mobile
Services
Cloud  Foundry  BOSH
MySQL
vSphere AmazonOpenStack
Multi-­Cloud  Declarative  
Service  Deployment,  
Operations
All  scaled  and  managed  
by  CF  BOSH  Redis,
Rabbit  
MQ
vCloud
Azure
66Pivotal   Confidential
3.    Elastic  Runtime  (Containers)
Elastic  
Runtime
Agile    
Microservices
in
Containers
Others
Jenkins  
Service
(CI)
Google
Cloud  Foundry  BOSH
MySQL
vSphere AmazonOpenStack
Multi-­Cloud  Declarative  
Service  Deployment,  
Operations
Elastic  managed  runtime  
service  integrated  into  
leading  data  services;;  all  
scaled  and  managed  by  
CF  BOSH  
vCloud
Azure
Mobile
Services
Redis,
Rabbit  
MQ
67Pivotal   Confidential
4.    Service  Marketplace
Elastic  
Runtime
Agile    
Microservices
In
Containers
Others
Jenkins  
Service
(CI)
Google
Cloud  Foundry  BOSH
MySQL
vSphere AmazonOpenStack
Multi-­Cloud  Declarative  
Service  Deployment,  
Operations
Elastic  managed  runtime  
service  integrated  into  
leading  data  services;;  all  
scaled  and  managed  by  
CF  BOSH  
vCloud
Azure
Service  Broker  Marketplace
Mobile
Services
Redis,
Rabbit  
MQ
Expose  services  in  
platform  marketplace  for
sharing
68Pivotal   Confidential
5.  Multi-­Tenant  Cloud  Control
Elastic  
Runtime
Agile    
Microservices
In
Containers
Others
Jenkins  
Service
(CI)
Google
Cloud  Foundry  BOSH
MySQL
vSphere AmazonOpenStack
Multi-­Cloud  Declarative  
Service  Deployment,  
Operations
Elastic  managed  runtime  
service  integrated  into  
leading  data  services;;  all  
scaled  and  managed  by  
CF  BOSH  
vCloud
Azure
Service  Broker  Marketplace
Mobile
Services
Redis,
Rabbit  
MQ
Expose  apps,  services  
for rapid  deployment  &  
sharing  among  teams
Cloud  Foundry  API
69Pivotal   Confidential
Cloud  Foundry  on  Open  Stack
Neutron
BOSH  Release
Keystone Nova CinderGlance
Swift
(optional)
Job
Job
Job
Source  Package
Stemcell
(Base  OS  Image)
Cloud  Foundry  BOSH  (Glance  Image)
BOSH  
Release  …
70Pivotal   Confidential
The  Cloud  Foundry  Difference
Ÿ Freedom  of  deployment  options
Ÿ Rapid  responsiveness  with  container  architecture
Ÿ Open  community  extension  &  innovation
– Submit  a  PR,  sign  the  CLA,  if  it  passes  CI  it  likely  will  be  accepted
– Cloud  Foundry  Dojo  – gain  committer  access  through  6  weeks  of  
immersion  with  Pivotal  R&D  
Ÿ Rich  database  &  messaging  services
Ÿ PaaS Comparison  (2014,  slightly  out  of  date):  
http://www.slideshare.net/Pivotal/paa-­s-­comparison2014v08
A  NEW  PLATFORM  FOR  A  NEW  ERA

The Cloud Foundry Story on OpenStack

  • 1.
    BUILT  FOR  THESPEED  OF  BUSINESS The Cloud Foundry Story On Openstack Stuart Charlton Field Engineering, Western Canada
  • 2.
    2©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. Why? Where? What  Is  It? Who  Makes  It? How  does  it  work?
  • 3.
    3©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. “Cloud  is  about  how  computing   is  done,  not  where” Paul  Maritz CEO,  Pivotal
  • 4.
    4©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. Members  of  the  Cloud  Foundry  Foundation PLATINUM GOLD SILVER
  • 5.
    5©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. What  do we  mean  by  “Platform”?
  • 6.
    6©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. 6©   Copyright   2015   Pivotal.   All   rights   reserved.    Confidential. Pivotal  Cloud  Platform  Demonstration The Developer Experience
  • 7.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 8.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Value to Developers • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance • Deploy  to  different  geographies • 30-­60  second  turnaround • Automated  config  management • Automated  rapid  scale  out • Debug  across  your  cluster • Validate  high  availability • Easy  integration  with  APM
  • 9.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. https://run.pivotal.io
  • 10.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. 1. Download the CLI according to your OS 2. Target the cloud
  • 11.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 12.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. https://github.com/Pivotal-­Field-­Engineering/PCF-­demo Login  to  the  CLI Clone  the  app Push  the  app Verify  app  is  running Application push cf api api.run.pivotal.io cf login $ $ Email: Password: me@me.com **************
  • 13.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. https://github.com/Pivotal-­Field-­Engineering/PCF-­demo Clone or Download Login  to  the  CLI Clone  the  app Push  the  app Verify  app  is  running Application push
  • 14.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  push Login  to  the  CLI Clone  the  app Push  the  app Verify  app  is  running Application push cd PCF-demo cf push $ PCF-demo$
  • 15.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Login  to  the  CLI Clone  the  app Push  the  app Verify  app  is  running Application push Navigate to the PWS Web Console
  • 16.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential.
  • 17.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential.
  • 18.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential.
  • 19.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 20.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Click on "Marketplace"
  • 21.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Choose “Cloud AMQP” (RabbitMQ)
  • 22.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Select the free plan
  • 23.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Give it a name and bind it to the app
  • 24.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create  Service Bind  service Restart  App Verify Give it a name and bind it to the app Service creation and bind
  • 25.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify
  • 26.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify
  • 27.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Click here
  • 28.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify Heat Map gets activated as orders come
  • 29.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Service creation and bind Create  Service Bind  service Restart  App Verify
  • 30.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create  Service Bind  service Restart  App Verify cf env pcfdemo$ Service creation and bind
  • 31.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. $ Service creation and bind Create  Service Bind  service Restart  App Verify
  • 32.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Magic is in Spring Cloud Connectors http://cloud.spring.io/spring-­cloud-­connectors
  • 33.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Cloud  Foundry Connector Heroku Connector Core Spring  Service Connector Spring Cloud Connectors Modules
  • 34.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. From VCAP_SERVICES to Connection Bean
  • 35.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 36.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Scale  instances Verify Scale my App
  • 37.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Scale my App
  • 38.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential.
  • 39.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Scale  instances Verify Scale my App
  • 40.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Scale  instances Verify Scale my App
  • 41.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 42.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance cf logs pcfdemo$ Logs, Events and Health Management
  • 43.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance cf events pcfdemo$ Logs, Events and Health Management
  • 44.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Logs, Events and Health Management cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance
  • 45.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Logs and Health Management cf  logs Kill  app Verify  fail-­over   Recover  failed  instance
  • 46.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Logs and Health Management cf  logs Kill  app Verify  fail-­over   Recover  failed  instance
  • 47.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management Click me!
  • 48.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential.
  • 49.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management but… App is still up !!!
  • 50.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management Refresh page and see IP changing
  • 51.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management
  • 52.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management Few seconds and all instances areback again. No intervention needed.
  • 53.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. cf  logs cf  events Kill  app Verify  fail-­over   Recover  failed  instance Logs, Events and Health Management
  • 54.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. The Developer Experience • Target  My  Cloud  Foundry  Provider • Push  My  App • Bind  My  App  to  Backing  Services • Scale  My  App • Monitor  My  App’s  Logs • Monitor  My  App’s  Health • Monitor  My  App’s  Performance
  • 55.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 56.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 57.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 58.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance cf pushPCF-demo$
  • 59.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 60.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 61.
    ©  Copyright  2015 Pivotal.  All  rights   reserved.    Confidential. Create/Bind  New  Relic Re-­push  app Check  New  Relic Monitor App Performance
  • 62.
    62©   Copyright  2015   Pivotal.   All   rights   reserved.    Confidential. 62©   Copyright   2015   Pivotal.   All   rights   reserved.    Confidential. Cloud  Foundry   Architecture   in  Five  Steps
  • 63.
    63Pivotal   Confidential Prerequisite:   An  Infrastructure  Cloud Google vSphere AmazonOpenStack Fast,  Consistent  API  Access  to   Resources Servers,  Networks,  Storage,  Images vCloud Azure
  • 64.
    64Pivotal   Confidential 1.   BOSH:  Provision  &  Deploy  Consistently Google Cloud  Foundry  BOSH vSphere AmazonOpenStack Multi-­Cloud  Declarative   Service  Deployment,   Operations Prefabricated  &  Disposable  Infrastructure: VM  Images  are  minimal  OS  (“stemcells”) VMs  run  &  replicate  jobs  &  packages VMs  are  disposed  and  recreated  for  job  changes/upgrades Persistent  disks  are  managed,  resized,  attached/detached Result: Automatic  health  management No  more  managing  individual  servers   Rolling  /  canary  updates vCloud Azure
  • 65.
    65Pivotal   Confidential 2. Data,  CI,  and  Mobile  Services   Others Jenkins   Service (CI) Google Mobile Services Cloud  Foundry  BOSH MySQL vSphere AmazonOpenStack Multi-­Cloud  Declarative   Service  Deployment,   Operations All  scaled  and  managed   by  CF  BOSH  Redis, Rabbit   MQ vCloud Azure
  • 66.
    66Pivotal   Confidential 3.   Elastic  Runtime  (Containers) Elastic   Runtime Agile     Microservices in Containers Others Jenkins   Service (CI) Google Cloud  Foundry  BOSH MySQL vSphere AmazonOpenStack Multi-­Cloud  Declarative   Service  Deployment,   Operations Elastic  managed  runtime   service  integrated  into   leading  data  services;;  all   scaled  and  managed  by   CF  BOSH   vCloud Azure Mobile Services Redis, Rabbit   MQ
  • 67.
    67Pivotal   Confidential 4.   Service  Marketplace Elastic   Runtime Agile     Microservices In Containers Others Jenkins   Service (CI) Google Cloud  Foundry  BOSH MySQL vSphere AmazonOpenStack Multi-­Cloud  Declarative   Service  Deployment,   Operations Elastic  managed  runtime   service  integrated  into   leading  data  services;;  all   scaled  and  managed  by   CF  BOSH   vCloud Azure Service  Broker  Marketplace Mobile Services Redis, Rabbit   MQ Expose  services  in   platform  marketplace  for sharing
  • 68.
    68Pivotal   Confidential 5. Multi-­Tenant  Cloud  Control Elastic   Runtime Agile     Microservices In Containers Others Jenkins   Service (CI) Google Cloud  Foundry  BOSH MySQL vSphere AmazonOpenStack Multi-­Cloud  Declarative   Service  Deployment,   Operations Elastic  managed  runtime   service  integrated  into   leading  data  services;;  all   scaled  and  managed  by   CF  BOSH   vCloud Azure Service  Broker  Marketplace Mobile Services Redis, Rabbit   MQ Expose  apps,  services   for rapid  deployment  &   sharing  among  teams Cloud  Foundry  API
  • 69.
    69Pivotal   Confidential Cloud Foundry  on  Open  Stack Neutron BOSH  Release Keystone Nova CinderGlance Swift (optional) Job Job Job Source  Package Stemcell (Base  OS  Image) Cloud  Foundry  BOSH  (Glance  Image) BOSH   Release  …
  • 70.
    70Pivotal   Confidential The Cloud  Foundry  Difference Ÿ Freedom  of  deployment  options Ÿ Rapid  responsiveness  with  container  architecture Ÿ Open  community  extension  &  innovation – Submit  a  PR,  sign  the  CLA,  if  it  passes  CI  it  likely  will  be  accepted – Cloud  Foundry  Dojo  – gain  committer  access  through  6  weeks  of   immersion  with  Pivotal  R&D   Ÿ Rich  database  &  messaging  services Ÿ PaaS Comparison  (2014,  slightly  out  of  date):   http://www.slideshare.net/Pivotal/paa-­s-­comparison2014v08
  • 71.
    A  NEW  PLATFORM FOR  A  NEW  ERA