1© Copyright 2015 EMC Corporation. All rights reserved.
IT’s WHAT’S ON THE STACK THAT
MATTERS: CloudFoundry
RAGHAVAN N. SRINIVAS @ragss
2© Copyright 2015 EMC Corporation. All rights reserved.
•  Rags (not to Riches) and work for EMC CODE
•  Middleware and Application programmer
•  Architect and Evangelist
•  Part time teaching at UML and writing at InfoQ
•  Philosophy: It’s better to have an unanswered question than a
unquestioned answer
Who am I?
3© Copyright 2015 EMC Corporation. All rights reserved.
•  Overview and Architecture
•  Deploying and Managing CloudFoundry
•  Applications and Services
•  Health Management – Applications and Platform
•  Resources and Summary
Agenda
4© Copyright 2015 EMC Corporation. All rights reserved.
Business Expectations Exceed IT
Capabilities
Cloud
IT Technology Eras
Mainframe Client-Server
The exponential
increase in
business
expectations is
unsustainable for
IT
MILLIONS OF
APPS BILLIONS
OF USERS
* Source: Gartner, 2013: “Hunting and Harvesting in a Digital World: The 2013 CIO Agenda”
$ $ $ $ $ $
ABILITY OF IT TO
DELIVER S/W
STEADY IT
BUDGETS*
BUSINESS
EXPECTATIONS
5© Copyright 2015 EMC Corporation. All rights reserved.
PaaS (On Premise & Off Premise)
Traditional IT
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
YouManage
O/S
IaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
YouManage
IaaS
Business	
  Value,	
  Agility	
  &	
  
Cost	
  Savings	
  
PaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
O/S Cloud
Foundry
+
OpenStack
You
Manage
6© Copyright 2015 EMC Corporation. All rights reserved.
•  Microservices: a radical departure from traditional
monolithic applications
•  12 Factor Linux applications
•  In both cases, the enterprise is
forced to “think different.”
Microservices Architectures
7© Copyright 2015 EMC Corporation. All rights reserved.
Provision	
  VM	
  
Install	
  Applica;on	
  Run;me	
  
Deploy	
  Applica;on	
  
Configure	
  Load	
  Balancer	
  
Configure	
  Service	
  Connec;vity	
  
Configure	
  Firewall	
  
cf	
  push	
  
Configure	
  SSL	
  Termina;on	
  
cf	
  scale	
  
Application Development – IaaS vs PaaS
8© Copyright 2015 EMC Corporation. All rights reserved.
DEVELOPERS OPERATORS
App Deployment: 30-90 seconds
target <my cloud>
push <my app>
bind <my services>
scale <my app>
+1000
Cloud Deployment: 2-4 hours
provision cloud <Public/Private>
provision service <MySQL,Hadoop...>
upgrade/update <my cloud>
scale <my cloud>
CloudFoundry way
9© Copyright 2015 EMC Corporation. All rights reserved.
Cloud Foundry
Enterprise Capabilities At A Glance
Application Containerization
Monitoring, Logs
and Performance
as-a-Service
Integrated
Services: Data, Mobile,
Platform
High Availability and
Scaling
Network Isolation
and Security
Groups
Automatic Middleware
Configuration
Simple
Service Binding
Automatic IaaS
Provisioning
Roles and Policy
Management
Running on top of
10© Copyright 2015 EMC Corporation. All rights reserved.
Gold
Silver
CloudFoundry Foundation
11© Copyright 2015 EMC Corporation. All rights reserved.
CloudFoundry Runtime Architecture
Ops	
  Manager	
  UI	
  
Ops	
  Manager	
  Director	
  
Operations Manager
Service
Service	
  Broker	
  
Service	
  Nodes	
  
Service	
  Broker	
  
Service	
  Nodes	
  
Service
App	
  Log	
  Aggregator	
  
Login	
  Server	
  
Dynamic	
  Router	
  
Cloud	
  Controller	
  
UAA	
  
Health	
  Manager	
  
DEA	
  Pool	
  
Messaging	
  (NATS)	
  
Apps	
  
Metrics	
  Collec;on	
  
Apps	
  
HA	
  Proxy	
  LB	
  
Elastic Runtime
12© Copyright 2015 EMC Corporation. All rights reserved.
Deploying and Managing
CloudFoundry
13© Copyright 2015 EMC Corporation. All rights reserved.
BOSH DB
Blob
Store
Worker NATS
Health
Monitor
CPI
DirectorCLI
Inner
shell
Outer
shell
Agents
When you deploy Cloud Foundry the
following sequence of steps occur:
1.  Target a BOSH director using CLI
2.  Upload a Stemcell
3.  Get a Release from a repo
4.  Create a deployment manifest
5.  BOSH Deploy Cloud Foundry:
•  Prepare deployment
•  Compile packages
•  Create and bind VMs
•  Pull in job configurations
•  Create needed job
instances – this is where
things get pushed live
14© Copyright 2015 EMC Corporation. All rights reserved.
Message Bus
Behind the Scenes - BOSH
IaaS	
  
DB
BOSH
Director
Blobs
Health
Monitor
Deploy
Worker VMs
Messaging
Target VMHealth Manager
Target VMCloud Controller
Target VM
PaaS
Ops
Deployment
•  Packages
•  Blobs
•  Source
•  Jobs
•  Manifest
15© Copyright 2015 EMC Corporation. All rights reserved.
Apps and Services
16© Copyright 2015 EMC Corporation. All rights reserved.
Stage an Application
Router	
  
Blobstore DB
DEA
Detect Compile Upload
NoYes
System
Buildpacks
+ =
Cloud
Controller
App
Ops
Pivotal	
  CF	
  
Elas;c	
  Run;me	
  
17© Copyright 2015 EMC Corporation. All rights reserved.
Application Deployment Overview
App
Ops
①  Upload app
bits and
metadata
push app
Router	
  
②  Create and bind services
③  Stage application
④  Deploy application
CloudFoundry	
  
Elas;c	
  Run;me	
  
Blobstore DB
Cloud
Controller
Service
Broker
Node(s)
DEA
DEA
DEA
DEA
+ app MD
+ =
Service
credentials
18© Copyright 2015 EMC Corporation. All rights reserved.
Creating and Binding a Service
Router	
  
Cloud	
  Foundry	
  
Run;me	
  (ERS)	
  
DB
Service
credentials
reserve resources
create service
(HTTP)
create service
(HTTP)
bind service
(HTTP)
bind service
(HTTP)
obtain connection
data
CLI Cloud
Controller
Service
Broker
Data
Service
App
Ops
19© Copyright 2015 EMC Corporation. All rights reserved.
DEA	
  
Apps	
  
Service	
  Broker	
  
Service	
  Nodes	
  
Cloud	
  Controller	
  
create
bind
Service Brokers generate
connection details and credentials
for managed services
CC encrypts and stores
credentials in CCDB
Credentials are exposed to bound
applications via
VCAP_SERVICES environment
variable
connect
Managed Services
20© Copyright 2015 EMC Corporation. All rights reserved.
VCAP_SERVICES
environment variable is
visible only to members
of the org and space
containing the service
instance
VCAP_SERVICES=" {
"p-mysql": [
{
"name": "music-db",
"label": "p-mysql",
"tags": [ "mysql", "relational” ],
"plan": "100mb-dev",
"credentials": {
"hostname": "192.168.1.147",
"port": 3306,
"name": "cf_aceae021_7f27_48db_9844_d7c151f29195",
"username": "Tr12ZI4hPu4OPJPY",
"password": "fuTWBqpGeyvv0qge",
"uri": "mysql://Tr12ZI4hPu4OPJPY:fuTWBqpGeyvv0qge@192.168.1.147:3306/
cf_aceae021_7f27_48db_9844_d7c151f29195?reconnect=true”
}
}
]
} "
Managed Services
21© Copyright 2015 EMC Corporation. All rights reserved.
Health Management
Applications and Platform
22© Copyright 2015 EMC Corporation. All rights reserved.
Multiple Availability Zones for HA
requirements
•  Application and the Platform
itself are automatically balanced
across availability zones
–  Enhanced availability for
applications
–  Tolerate significant infrastructure
failures with continuous
availability
23© Copyright 2015 EMC Corporation. All rights reserved.
Application Instances and Availability
Zones
Router	
  
DEA
DEA
DEA
DEA
DEA
DEA
Zone 1 Zone 2 Application
instances are
evenly distributed
over two availability
zones.
Losing an AZ keeps
instances running
and available.
App
Ops
CF	
  Elas;c	
  
Run;me	
  
24© Copyright 2015 EMC Corporation. All rights reserved.
Router	
  
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health
Manager
Actual StateDesired State
Messaging
(NATS)
DEA DEA DEA
App
Ops
CF	
  Elas;c	
  
Run;me	
  
25© Copyright 2015 EMC Corporation. All rights reserved.
Monitoring CF Components
Cloud
Controller
Health Monitor
Messaging
(NATS)
Collector
DEA
/varz
/varz
/varz
/varz
Customer
Monitoring JMX-
compatible tool of
choice
Datadog
(~1.0)
JMX (1.1)
PaaS
Ops
CF	
  Elas;c	
  
Run;me	
  
26© Copyright 2015 EMC Corporation. All rights reserved.
Message Bus
Monitoring Processes (Elastic Runtime
Example)
IaaS	
  
Health
Monitor Health Manager
DEA
Cloud Controller
Responder
s:
pager
email
monitoring
…
PaaS
Ops
	
  
Opera;on	
  Manager	
  
27© Copyright 2015 EMC Corporation. All rights reserved.
Message Bus
Monitoring VMs (Elastic Runtime Example)
IaaS	
  
Health
Monitor Messaging
Cloud Controller
DEA
Responder
s:
pager
email
monitoring
resurrector
…
BOSH
Director
(CPI)
Actual StateDesired State
DEA
PaaS
Ops
Opera;on	
  Manager	
  
28© Copyright 2015 EMC Corporation. All rights reserved.
Log Aggregation
Cloud
Controller
Health Monitor
Messaging
(NATS)
Syslog
Aggregator
DEA
Syslog
Syslog
Syslog
Syslog
Logstash
Splunk
…
•  Log files from /var/vcap/sys/log
•  Support for external syslog endpoints in PCF 1.2
PaaS
Ops
Pivotal	
  CF	
  
Elas;c	
  Run;me	
  
29© Copyright 2015 EMC Corporation. All rights reserved.
Resources and Summary
30© Copyright 2015 EMC Corporation. All rights reserved.
https://ace.ng.bluemix.net/
http://www.hpcloud.com/products-services/
application-paas
http://www.anynines.com/
https://run.pivotal.io/
Resources
OS + CF Austin meetup

More Related Content

PDF
Scala dayssrinivas v3
PDF
Cloud expo 2015_rags
PDF
Sydney cloud foundry meetup - Service Brokers
PPTX
Cloud Foundry - How Service broker integrates with AppDirect to provide catal...
PPTX
Hybrid Cloud Integration is Coming: Are You Ready? | MuleSoft
PDF
What’s behind a high quality web API? Ensure your APIs are more than just a ...
PDF
MuCon 2015 - Microservices in Integration Architecture
PDF
Differentiating between web APIs, SOA, & integration …and why it matters
Scala dayssrinivas v3
Cloud expo 2015_rags
Sydney cloud foundry meetup - Service Brokers
Cloud Foundry - How Service broker integrates with AppDirect to provide catal...
Hybrid Cloud Integration is Coming: Are You Ready? | MuleSoft
What’s behind a high quality web API? Ensure your APIs are more than just a ...
MuCon 2015 - Microservices in Integration Architecture
Differentiating between web APIs, SOA, & integration …and why it matters

What's hot (20)

PDF
Unified Mobile Application to Integrate SalesForce, Oracle EBS, Taleo, Outloo...
PDF
Rapid cloudapplicationdevelopmentwithlimeds
PPTX
Microsoft Windows Azure Platform Appfabric for Technical Decision Makers
PDF
Building enterprise depth APIs with the IBM hybrid integration portfolio
PDF
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
PDF
Placement of BPM runtime components in an SOA environment
PPTX
Devoxx Ukraine - Going beyond the 12 factors
PDF
AppSphere 15 - Containers and Microservices Create New Performance Challenges
PDF
Hogan Kusnadi - Cloud Computing Secutity
PPTX
Microservice Lifecycle Demo Presentation
PDF
PaaS Emerging Technologies - October 2015
PDF
Where can you use serverless?  How does it relate to APIs, integration and mi...
PPTX
Oracle integration cloud service (ICS) best practices learned from the field ...
PPTX
WSO2Con 2011: Introduction to Stratos
PPTX
Presentation oracle exalogic elastic cloud
PDF
WSO2Con EU 2015: Keynote - System of Systems - Building a Connected Business
PDF
Building Better Mobile Backends with Oracle Mobile Cloud Service
PPT
Cloud foundry meetup 12112013
PDF
Enterprise Application Integration Technologies
PDF
Cloud Foundry May 1 2014
Unified Mobile Application to Integrate SalesForce, Oracle EBS, Taleo, Outloo...
Rapid cloudapplicationdevelopmentwithlimeds
Microsoft Windows Azure Platform Appfabric for Technical Decision Makers
Building enterprise depth APIs with the IBM hybrid integration portfolio
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
Placement of BPM runtime components in an SOA environment
Devoxx Ukraine - Going beyond the 12 factors
AppSphere 15 - Containers and Microservices Create New Performance Challenges
Hogan Kusnadi - Cloud Computing Secutity
Microservice Lifecycle Demo Presentation
PaaS Emerging Technologies - October 2015
Where can you use serverless?  How does it relate to APIs, integration and mi...
Oracle integration cloud service (ICS) best practices learned from the field ...
WSO2Con 2011: Introduction to Stratos
Presentation oracle exalogic elastic cloud
WSO2Con EU 2015: Keynote - System of Systems - Building a Connected Business
Building Better Mobile Backends with Oracle Mobile Cloud Service
Cloud foundry meetup 12112013
Enterprise Application Integration Technologies
Cloud Foundry May 1 2014
Ad

Similar to OS + CF Austin meetup (20)

PDF
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
PDF
EMC's IT Transformation Journey ( EMC Forum 2014 )
 
PDF
Oracle mobile cloud service
PDF
Smart Integration to the Cloud - Kellton Tech Webinar
PDF
AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...
PPT
Steve Mills - Dispelling the Vapor Around Cloud Computing
PDF
Microservices, Data Services and Containers for Cloud Native Architectures (D...
PPTX
Cloud Computing and the Promise of Everything as a Service
PDF
Platform as a Service - Cloud Foundry and IBM Bluemix
PPT
Cloud 12 08 V2
PDF
Explore Advanced CA Release Automation Configuration Topics
PDF
OOW 2012: Integrate Cloud Applications with Oracle SOA Suite
PDF
Istio Service Mesh
PDF
F5 Synthesis Toronto February 2014 Roadshow
PPTX
Running your Spring Apps in the Cloud Javaone 2014
PDF
Virtualization and cloud impact overview auditor spin enterprise gr-cv3
PPTX
Serverless service adoption for Thailand
PDF
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
PPTX
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
EMC's IT Transformation Journey ( EMC Forum 2014 )
 
Oracle mobile cloud service
Smart Integration to the Cloud - Kellton Tech Webinar
AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...
Steve Mills - Dispelling the Vapor Around Cloud Computing
Microservices, Data Services and Containers for Cloud Native Architectures (D...
Cloud Computing and the Promise of Everything as a Service
Platform as a Service - Cloud Foundry and IBM Bluemix
Cloud 12 08 V2
Explore Advanced CA Release Automation Configuration Topics
OOW 2012: Integrate Cloud Applications with Oracle SOA Suite
Istio Service Mesh
F5 Synthesis Toronto February 2014 Roadshow
Running your Spring Apps in the Cloud Javaone 2014
Virtualization and cloud impact overview auditor spin enterprise gr-cv3
Serverless service adoption for Thailand
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
Ad

Recently uploaded (20)

PPTX
HackYourBrain__UtrechtJUG__11092025.pptx
PDF
infoteam HELLAS company profile 2025 presentation
PPTX
Viber For Windows 25.7.1 Crack + Serial Keygen
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PDF
MiniTool Power Data Recovery 12.6 Crack + Portable (Latest Version 2025)
PPTX
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
PPTX
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
PDF
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
PDF
CapCut PRO for PC Crack New Download (Fully Activated 2025)
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
Workplace Software and Skills - OpenStax
PPTX
Matchmaking for JVMs: How to Pick the Perfect GC Partner
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PPTX
ROI from Efficient Content & Campaign Management in the Digital Media Industry
PPTX
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
PPTX
Airline CRS | Airline CRS Systems | CRS System
PDF
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PDF
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
PPTX
Python is a high-level, interpreted programming language
HackYourBrain__UtrechtJUG__11092025.pptx
infoteam HELLAS company profile 2025 presentation
Viber For Windows 25.7.1 Crack + Serial Keygen
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
MiniTool Power Data Recovery 12.6 Crack + Portable (Latest Version 2025)
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
CapCut PRO for PC Crack New Download (Fully Activated 2025)
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
Workplace Software and Skills - OpenStax
Matchmaking for JVMs: How to Pick the Perfect GC Partner
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Practical Indispensable Project Management Tips for Delivering Successful Exp...
ROI from Efficient Content & Campaign Management in the Digital Media Industry
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
Airline CRS | Airline CRS Systems | CRS System
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
Python is a high-level, interpreted programming language

OS + CF Austin meetup

  • 1. 1© Copyright 2015 EMC Corporation. All rights reserved. IT’s WHAT’S ON THE STACK THAT MATTERS: CloudFoundry RAGHAVAN N. SRINIVAS @ragss
  • 2. 2© Copyright 2015 EMC Corporation. All rights reserved. •  Rags (not to Riches) and work for EMC CODE •  Middleware and Application programmer •  Architect and Evangelist •  Part time teaching at UML and writing at InfoQ •  Philosophy: It’s better to have an unanswered question than a unquestioned answer Who am I?
  • 3. 3© Copyright 2015 EMC Corporation. All rights reserved. •  Overview and Architecture •  Deploying and Managing CloudFoundry •  Applications and Services •  Health Management – Applications and Platform •  Resources and Summary Agenda
  • 4. 4© Copyright 2015 EMC Corporation. All rights reserved. Business Expectations Exceed IT Capabilities Cloud IT Technology Eras Mainframe Client-Server The exponential increase in business expectations is unsustainable for IT MILLIONS OF APPS BILLIONS OF USERS * Source: Gartner, 2013: “Hunting and Harvesting in a Digital World: The 2013 CIO Agenda” $ $ $ $ $ $ ABILITY OF IT TO DELIVER S/W STEADY IT BUDGETS* BUSINESS EXPECTATIONS
  • 5. 5© Copyright 2015 EMC Corporation. All rights reserved. PaaS (On Premise & Off Premise) Traditional IT Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime YouManage O/S IaaS Storage Servers Networking Middleware Virtualization Data Applications Runtime YouManage IaaS Business  Value,  Agility  &   Cost  Savings   PaaS Storage Servers Networking Middleware Virtualization Data Applications Runtime O/S Cloud Foundry + OpenStack You Manage
  • 6. 6© Copyright 2015 EMC Corporation. All rights reserved. •  Microservices: a radical departure from traditional monolithic applications •  12 Factor Linux applications •  In both cases, the enterprise is forced to “think different.” Microservices Architectures
  • 7. 7© Copyright 2015 EMC Corporation. All rights reserved. Provision  VM   Install  Applica;on  Run;me   Deploy  Applica;on   Configure  Load  Balancer   Configure  Service  Connec;vity   Configure  Firewall   cf  push   Configure  SSL  Termina;on   cf  scale   Application Development – IaaS vs PaaS
  • 8. 8© Copyright 2015 EMC Corporation. All rights reserved. DEVELOPERS OPERATORS App Deployment: 30-90 seconds target <my cloud> push <my app> bind <my services> scale <my app> +1000 Cloud Deployment: 2-4 hours provision cloud <Public/Private> provision service <MySQL,Hadoop...> upgrade/update <my cloud> scale <my cloud> CloudFoundry way
  • 9. 9© Copyright 2015 EMC Corporation. All rights reserved. Cloud Foundry Enterprise Capabilities At A Glance Application Containerization Monitoring, Logs and Performance as-a-Service Integrated Services: Data, Mobile, Platform High Availability and Scaling Network Isolation and Security Groups Automatic Middleware Configuration Simple Service Binding Automatic IaaS Provisioning Roles and Policy Management Running on top of
  • 10. 10© Copyright 2015 EMC Corporation. All rights reserved. Gold Silver CloudFoundry Foundation
  • 11. 11© Copyright 2015 EMC Corporation. All rights reserved. CloudFoundry Runtime Architecture Ops  Manager  UI   Ops  Manager  Director   Operations Manager Service Service  Broker   Service  Nodes   Service  Broker   Service  Nodes   Service App  Log  Aggregator   Login  Server   Dynamic  Router   Cloud  Controller   UAA   Health  Manager   DEA  Pool   Messaging  (NATS)   Apps   Metrics  Collec;on   Apps   HA  Proxy  LB   Elastic Runtime
  • 12. 12© Copyright 2015 EMC Corporation. All rights reserved. Deploying and Managing CloudFoundry
  • 13. 13© Copyright 2015 EMC Corporation. All rights reserved. BOSH DB Blob Store Worker NATS Health Monitor CPI DirectorCLI Inner shell Outer shell Agents When you deploy Cloud Foundry the following sequence of steps occur: 1.  Target a BOSH director using CLI 2.  Upload a Stemcell 3.  Get a Release from a repo 4.  Create a deployment manifest 5.  BOSH Deploy Cloud Foundry: •  Prepare deployment •  Compile packages •  Create and bind VMs •  Pull in job configurations •  Create needed job instances – this is where things get pushed live
  • 14. 14© Copyright 2015 EMC Corporation. All rights reserved. Message Bus Behind the Scenes - BOSH IaaS   DB BOSH Director Blobs Health Monitor Deploy Worker VMs Messaging Target VMHealth Manager Target VMCloud Controller Target VM PaaS Ops Deployment •  Packages •  Blobs •  Source •  Jobs •  Manifest
  • 15. 15© Copyright 2015 EMC Corporation. All rights reserved. Apps and Services
  • 16. 16© Copyright 2015 EMC Corporation. All rights reserved. Stage an Application Router   Blobstore DB DEA Detect Compile Upload NoYes System Buildpacks + = Cloud Controller App Ops Pivotal  CF   Elas;c  Run;me  
  • 17. 17© Copyright 2015 EMC Corporation. All rights reserved. Application Deployment Overview App Ops ①  Upload app bits and metadata push app Router   ②  Create and bind services ③  Stage application ④  Deploy application CloudFoundry   Elas;c  Run;me   Blobstore DB Cloud Controller Service Broker Node(s) DEA DEA DEA DEA + app MD + = Service credentials
  • 18. 18© Copyright 2015 EMC Corporation. All rights reserved. Creating and Binding a Service Router   Cloud  Foundry   Run;me  (ERS)   DB Service credentials reserve resources create service (HTTP) create service (HTTP) bind service (HTTP) bind service (HTTP) obtain connection data CLI Cloud Controller Service Broker Data Service App Ops
  • 19. 19© Copyright 2015 EMC Corporation. All rights reserved. DEA   Apps   Service  Broker   Service  Nodes   Cloud  Controller   create bind Service Brokers generate connection details and credentials for managed services CC encrypts and stores credentials in CCDB Credentials are exposed to bound applications via VCAP_SERVICES environment variable connect Managed Services
  • 20. 20© Copyright 2015 EMC Corporation. All rights reserved. VCAP_SERVICES environment variable is visible only to members of the org and space containing the service instance VCAP_SERVICES=" { "p-mysql": [ { "name": "music-db", "label": "p-mysql", "tags": [ "mysql", "relational” ], "plan": "100mb-dev", "credentials": { "hostname": "192.168.1.147", "port": 3306, "name": "cf_aceae021_7f27_48db_9844_d7c151f29195", "username": "Tr12ZI4hPu4OPJPY", "password": "fuTWBqpGeyvv0qge", "uri": "mysql://Tr12ZI4hPu4OPJPY:[email protected]:3306/ cf_aceae021_7f27_48db_9844_d7c151f29195?reconnect=true” } } ] } " Managed Services
  • 21. 21© Copyright 2015 EMC Corporation. All rights reserved. Health Management Applications and Platform
  • 22. 22© Copyright 2015 EMC Corporation. All rights reserved. Multiple Availability Zones for HA requirements •  Application and the Platform itself are automatically balanced across availability zones –  Enhanced availability for applications –  Tolerate significant infrastructure failures with continuous availability
  • 23. 23© Copyright 2015 EMC Corporation. All rights reserved. Application Instances and Availability Zones Router   DEA DEA DEA DEA DEA DEA Zone 1 Zone 2 Application instances are evenly distributed over two availability zones. Losing an AZ keeps instances running and available. App Ops CF  Elas;c   Run;me  
  • 24. 24© Copyright 2015 EMC Corporation. All rights reserved. Router   Failed Application Instances Replaced Blobstore Cloud Controller Health Manager Actual StateDesired State Messaging (NATS) DEA DEA DEA App Ops CF  Elas;c   Run;me  
  • 25. 25© Copyright 2015 EMC Corporation. All rights reserved. Monitoring CF Components Cloud Controller Health Monitor Messaging (NATS) Collector DEA /varz /varz /varz /varz Customer Monitoring JMX- compatible tool of choice Datadog (~1.0) JMX (1.1) PaaS Ops CF  Elas;c   Run;me  
  • 26. 26© Copyright 2015 EMC Corporation. All rights reserved. Message Bus Monitoring Processes (Elastic Runtime Example) IaaS   Health Monitor Health Manager DEA Cloud Controller Responder s: pager email monitoring … PaaS Ops   Opera;on  Manager  
  • 27. 27© Copyright 2015 EMC Corporation. All rights reserved. Message Bus Monitoring VMs (Elastic Runtime Example) IaaS   Health Monitor Messaging Cloud Controller DEA Responder s: pager email monitoring resurrector … BOSH Director (CPI) Actual StateDesired State DEA PaaS Ops Opera;on  Manager  
  • 28. 28© Copyright 2015 EMC Corporation. All rights reserved. Log Aggregation Cloud Controller Health Monitor Messaging (NATS) Syslog Aggregator DEA Syslog Syslog Syslog Syslog Logstash Splunk … •  Log files from /var/vcap/sys/log •  Support for external syslog endpoints in PCF 1.2 PaaS Ops Pivotal  CF   Elas;c  Run;me  
  • 29. 29© Copyright 2015 EMC Corporation. All rights reserved. Resources and Summary
  • 30. 30© Copyright 2015 EMC Corporation. All rights reserved. https://ace.ng.bluemix.net/ http://www.hpcloud.com/products-services/ application-paas http://www.anynines.com/ https://run.pivotal.io/ Resources