SlideShare a Scribd company logo
1 of 26
1© Copyright 2015 EMC Corporation. All rights reserved.
cf push: Push your Scala/Play
apps to Cloud Foundry
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
•  Applications and Services
•  Evolving Data Schemas
•  Demos
•  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	
  bind-­‐service	
  
Application Development – IaaS vs PaaS
cf	
  scale	
  
8© 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
9© Copyright 2015 EMC Corporation. All rights reserved.
Removing Developer and Operator
Constrains
BUILD
APPLICATION
PUSH FIRST
RELEASE
MAINTAIN
APPLICATION
UPDATE
APPLICATIONS
RETIRE
APPLICATIONS
•  Auto-detect frameworks
•  Link to PaaS
•  Self-service deploy
•  Dynamic routing
•  CI/CD
•  Elastic scale
•  Integrated HA
•  Autoscaling and APM
•  Log aggregation
•  Policy and Auth
•  A/B versioning
•  Live upgrades
•  Self-service
removal
10© Copyright 2015 EMC Corporation. All rights reserved.
Gold
Silver
Cloud Foundry Foundation
11© Copyright 2015 EMC Corporation. All rights reserved.
Cloud Foundry 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.
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
13© 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
14© Copyright 2015 EMC Corporation. All rights reserved.
Apps and Services
15© 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	
  
16© 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
Cloud	
  Foundry	
  
Elas;c	
  Run;me	
  
Blobstore DB
Cloud
Controller
Service
Broker
Node(s)
DEA
DEA
DEA
DEA
+ app MD
+ =
Service
credentials
17© 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
18© 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
19© 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
20© Copyright 2015 EMC Corporation. All rights reserved.
Evolving Schemas with evolutions
21© Copyright 2015 EMC Corporation. All rights reserved.
•  Scripts written in plain old SQL
•  Evolutions to default database at conf/evolutions/
default(1.sql, 2.sql, …)!
# --- !Ups!
CREATE TABLE User (!
);!
# --- !Downs!
DROP TABLE User;!
Evolving Data Schemas
22© Copyright 2015 EMC Corporation. All rights reserved.
Demos
23© Copyright 2015 EMC Corporation. All rights reserved.
Resources and Summary
24© Copyright 2015 EMC Corporation. All rights reserved.
Ÿ  Sign up for the CF and BOSH mailing lists.
Ÿ  Learn how to write 12-factor applications.
Ÿ  Free workshop and roadshows. CFAD!
Ÿ  Register for the next Cloud Foundry Summit (May)
Ÿ  Try out Pivotal Web Services (http://run.pivotal.io)
Call for Action
25© 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
Scala dayssrinivas v3

More Related Content

What's hot

IBM SmartCloud and ISVs September 2013 (Softlayer)
IBM SmartCloud and ISVs September 2013 (Softlayer)IBM SmartCloud and ISVs September 2013 (Softlayer)
IBM SmartCloud and ISVs September 2013 (Softlayer)
Simon Baker
 

What's hot (20)

Sydney cloud foundry meetup - Service Brokers
Sydney cloud foundry meetup - Service  BrokersSydney cloud foundry meetup - Service  Brokers
Sydney cloud foundry meetup - Service Brokers
 
Oracle Keynote Cloud Expo 11-04-09
Oracle Keynote Cloud Expo 11-04-09Oracle Keynote Cloud Expo 11-04-09
Oracle Keynote Cloud Expo 11-04-09
 
Multi-cloud integration architecture
Multi-cloud integration architectureMulti-cloud integration architecture
Multi-cloud integration architecture
 
01 oracle application integration overview
01 oracle application integration overview01 oracle application integration overview
01 oracle application integration overview
 
Five Ways Application Insights Impact Migration Success (DEV207-S) - AWS re:I...
Five Ways Application Insights Impact Migration Success (DEV207-S) - AWS re:I...Five Ways Application Insights Impact Migration Success (DEV207-S) - AWS re:I...
Five Ways Application Insights Impact Migration Success (DEV207-S) - AWS re:I...
 
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_development
 
PaaS Emerging Technologies - October 2015
PaaS Emerging Technologies - October 2015PaaS Emerging Technologies - October 2015
PaaS Emerging Technologies - October 2015
 
API more than payload
API more than payloadAPI more than payload
API more than payload
 
Forecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloudForecast 2014: EMC Corp - Build a hybrid cloud
Forecast 2014: EMC Corp - Build a hybrid cloud
 
Scaling Integration
Scaling IntegrationScaling Integration
Scaling Integration
 
CF SUMMIT: Partnerships, Business and Cloud Foundry
CF SUMMIT: Partnerships, Business and Cloud FoundryCF SUMMIT: Partnerships, Business and Cloud Foundry
CF SUMMIT: Partnerships, Business and Cloud Foundry
 
Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...
Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...
Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...
 
Oracle Enterprise integration
Oracle Enterprise integration Oracle Enterprise integration
Oracle Enterprise integration
 
Automating agile integration
Automating agile integrationAutomating agile integration
Automating agile integration
 
Enterprise Application to Infrastructure Integration -- SDN Apps
Enterprise Application to Infrastructure Integration  -- SDN AppsEnterprise Application to Infrastructure Integration  -- SDN Apps
Enterprise Application to Infrastructure Integration -- SDN Apps
 
How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...
How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...
How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...
 
IBM SmartCloud and ISVs September 2013 (Softlayer)
IBM SmartCloud and ISVs September 2013 (Softlayer)IBM SmartCloud and ISVs September 2013 (Softlayer)
IBM SmartCloud and ISVs September 2013 (Softlayer)
 
Cloud Options for a Modern Architecture
Cloud Options for a Modern ArchitectureCloud Options for a Modern Architecture
Cloud Options for a Modern Architecture
 
Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...
Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...
Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...
 

Viewers also liked

OpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston MeetupOpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
ragss
 
Risk Management Three Lessons
Risk Management Three LessonsRisk Management Three Lessons
Risk Management Three Lessons
Andrey Lvovsky
 

Viewers also liked (15)

doc - Κινητές Βιβλιοθήκες: διευρύνοντας τον ορίζοντα των συνεργασιών στις λαϊ...
doc - Κινητές Βιβλιοθήκες: διευρύνοντας τον ορίζοντα των συνεργασιών στις λαϊ...doc - Κινητές Βιβλιοθήκες: διευρύνοντας τον ορίζοντα των συνεργασιών στις λαϊ...
doc - Κινητές Βιβλιοθήκες: διευρύνοντας τον ορίζοντα των συνεργασιών στις λαϊ...
 
Corporate lessons
Corporate lessonsCorporate lessons
Corporate lessons
 
Ανάπτυξη καταλόγων: η χρήση των AACR και του UNIMARC από τις ελληνικές δημόσι...
Ανάπτυξη καταλόγων: η χρήση των AACR και του UNIMARC από τις ελληνικές δημόσι...Ανάπτυξη καταλόγων: η χρήση των AACR και του UNIMARC από τις ελληνικές δημόσι...
Ανάπτυξη καταλόγων: η χρήση των AACR και του UNIMARC από τις ελληνικές δημόσι...
 
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston MeetupOpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
 
Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων ΒιβλιοθηκώνΜια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
 
OS + CF Austin meetup
OS + CF Austin meetupOS + CF Austin meetup
OS + CF Austin meetup
 
ΛΙΒΑΔΕΙΑ
ΛΙΒΑΔΕΙΑΛΙΒΑΔΕΙΑ
ΛΙΒΑΔΕΙΑ
 
pdf - Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
pdf - Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκώνpdf - Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
pdf - Μια εμπειρική προσέγγιση στο Συλλογικό Κατάλογο Δημοσίων Βιβλιοθηκών
 
Κ. Κεράστα: Καινά Δαιμόνια & Δημιουργικές Τομές σε μια ελληνική επαρχιακή βι...
Κ. Κεράστα: Καινά Δαιμόνια & Δημιουργικές Τομές  σε μια ελληνική επαρχιακή βι...Κ. Κεράστα: Καινά Δαιμόνια & Δημιουργικές Τομές  σε μια ελληνική επαρχιακή βι...
Κ. Κεράστα: Καινά Δαιμόνια & Δημιουργικές Τομές σε μια ελληνική επαρχιακή βι...
 
OpenStack + CloudFoundry Austin Meetup
OpenStack + CloudFoundry Austin MeetupOpenStack + CloudFoundry Austin Meetup
OpenStack + CloudFoundry Austin Meetup
 
Risk Management Three Lessons
Risk Management Three LessonsRisk Management Three Lessons
Risk Management Three Lessons
 
Web 2.0 ή Συμμετοχικό διαδίκτυο
Web 2.0 ή Συμμετοχικό διαδίκτυοWeb 2.0 ή Συμμετοχικό διαδίκτυο
Web 2.0 ή Συμμετοχικό διαδίκτυο
 
Μονή Οσίου Λουκά & UNESCO
Μονή Οσίου Λουκά & UNESCOΜονή Οσίου Λουκά & UNESCO
Μονή Οσίου Λουκά & UNESCO
 
Microservices, Data Services and Containers for Cloud Native Architectures (D...
Microservices, Data Services and Containers for Cloud Native Architectures (D...Microservices, Data Services and Containers for Cloud Native Architectures (D...
Microservices, Data Services and Containers for Cloud Native Architectures (D...
 
Nikita Resume
Nikita ResumeNikita Resume
Nikita Resume
 

Similar to Scala dayssrinivas v3

!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
GangTingFan
 
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
Yakura Coffee
 

Similar to Scala dayssrinivas v3 (20)

EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )
 
Oracle mobile cloud service
Oracle mobile cloud serviceOracle mobile cloud service
Oracle mobile cloud service
 
AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...
AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...
AppSphere 15 - Monitoring Cloud Native Apps on Pivotal Cloud Foundry with App...
 
Bangalore Cloud Foundry meetup - Mani
Bangalore Cloud Foundry meetup - ManiBangalore Cloud Foundry meetup - Mani
Bangalore Cloud Foundry meetup - Mani
 
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
 
What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy? What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy?
 
Smart Integration to the Cloud - Kellton Tech Webinar
Smart Integration to the Cloud - Kellton Tech WebinarSmart Integration to the Cloud - Kellton Tech Webinar
Smart Integration to the Cloud - Kellton Tech Webinar
 
Why Microservice
Why Microservice Why Microservice
Why Microservice
 
Platform as a Service - Cloud Foundry and IBM Bluemix
Platform as a Service - Cloud Foundry and IBM BluemixPlatform as a Service - Cloud Foundry and IBM Bluemix
Platform as a Service - Cloud Foundry and IBM Bluemix
 
Scribe Online CDK & Connector Development
Scribe Online CDK & Connector DevelopmentScribe Online CDK & Connector Development
Scribe Online CDK & Connector Development
 
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
 
Agile Tour Pune 2015: Dev-ops- niche or mainstream: Bhaskar Venugopalan
Agile Tour Pune 2015: Dev-ops- niche or mainstream: Bhaskar VenugopalanAgile Tour Pune 2015: Dev-ops- niche or mainstream: Bhaskar Venugopalan
Agile Tour Pune 2015: Dev-ops- niche or mainstream: Bhaskar Venugopalan
 
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The RealityPivotal Digital Transformation Forum: Cloud and Devops - The Reality
Pivotal Digital Transformation Forum: Cloud and Devops - The Reality
 
Embracing SOA and the Cloud
Embracing SOA and the CloudEmbracing SOA and the Cloud
Embracing SOA and the Cloud
 
The Key to Successful Development and Deployment of Applications from Mobile ...
The Key to Successful Development and Deployment of Applications from Mobile ...The Key to Successful Development and Deployment of Applications from Mobile ...
The Key to Successful Development and Deployment of Applications from Mobile ...
 
Practical DevOps in a Hybrid World
Practical DevOps in a Hybrid World Practical DevOps in a Hybrid World
Practical DevOps in a Hybrid World
 
F5 Synthesis Toronto February 2014 Roadshow
F5 Synthesis Toronto February 2014 RoadshowF5 Synthesis Toronto February 2014 Roadshow
F5 Synthesis Toronto February 2014 Roadshow
 
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
 
App Modernization
App ModernizationApp Modernization
App Modernization
 
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
Deploying IBM WebSphere Application Server to the Cloud_GWC_3-24-2015
 

Recently uploaded

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

Scala dayssrinivas v3

  • 1. 1© Copyright 2015 EMC Corporation. All rights reserved. cf push: Push your Scala/Play apps to Cloud Foundry 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 •  Applications and Services •  Evolving Data Schemas •  Demos •  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  bind-­‐service   Application Development – IaaS vs PaaS cf  scale  
  • 8. 8© 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
  • 9. 9© Copyright 2015 EMC Corporation. All rights reserved. Removing Developer and Operator Constrains BUILD APPLICATION PUSH FIRST RELEASE MAINTAIN APPLICATION UPDATE APPLICATIONS RETIRE APPLICATIONS •  Auto-detect frameworks •  Link to PaaS •  Self-service deploy •  Dynamic routing •  CI/CD •  Elastic scale •  Integrated HA •  Autoscaling and APM •  Log aggregation •  Policy and Auth •  A/B versioning •  Live upgrades •  Self-service removal
  • 10. 10© Copyright 2015 EMC Corporation. All rights reserved. Gold Silver Cloud Foundry Foundation
  • 11. 11© Copyright 2015 EMC Corporation. All rights reserved. Cloud Foundry 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. 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
  • 13. 13© 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
  • 14. 14© Copyright 2015 EMC Corporation. All rights reserved. Apps and Services
  • 15. 15© 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  
  • 16. 16© 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 Cloud  Foundry   Elas;c  Run;me   Blobstore DB Cloud Controller Service Broker Node(s) DEA DEA DEA DEA + app MD + = Service credentials
  • 17. 17© 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
  • 18. 18© 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
  • 19. 19© 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
  • 20. 20© Copyright 2015 EMC Corporation. All rights reserved. Evolving Schemas with evolutions
  • 21. 21© Copyright 2015 EMC Corporation. All rights reserved. •  Scripts written in plain old SQL •  Evolutions to default database at conf/evolutions/ default(1.sql, 2.sql, …)! # --- !Ups! CREATE TABLE User (! );! # --- !Downs! DROP TABLE User;! Evolving Data Schemas
  • 22. 22© Copyright 2015 EMC Corporation. All rights reserved. Demos
  • 23. 23© Copyright 2015 EMC Corporation. All rights reserved. Resources and Summary
  • 24. 24© Copyright 2015 EMC Corporation. All rights reserved. Ÿ  Sign up for the CF and BOSH mailing lists. Ÿ  Learn how to write 12-factor applications. Ÿ  Free workshop and roadshows. CFAD! Ÿ  Register for the next Cloud Foundry Summit (May) Ÿ  Try out Pivotal Web Services (http://run.pivotal.io) Call for Action
  • 25. 25© 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