SlideShare a Scribd company logo
1 of 20
Download to read offline
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved.
Modern Applications, Microservices and Pivotal CF
1
Sufyaan Kazi - Suf (@sufyaan_kazi)
Manager, Field Engineering UK & I
skazi@pivotal.io
Architecting for Continuous Delivery
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved.
About Pivotal
2
© Copyright 2014 Pivotal. All rights reserved. 3
Who are Pivotal?
Data Science
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved.
Microservices Overview
4
© Copyright 2014 Pivotal. All rights reserved.
Monolithic Architecture
5
Relational Database
Data Access
Service
HTML JavaScript MVC
Service
Monolithic ApplicationBrowser
• Easy to Deploy
• Modularity Dependent Upon Language / Frameworks
• Change Cycles Tightly Coupled / Obstacle to Frequent Deploys
• Inefficient Scaling
• Can Be Intimidating to New Developers
• Obstacle to Scaling Development
• Requires Long-Term Commitment to Technical Stack
© Copyright 2014 Pivotal. All rights reserved. 6
Monolithic Architecture
Relational Database
Data Access
Service
HTML JavaScript MVC
Service
Monolithic ApplicationBrowser
Build - 6-12 months
Create Environment - ?????
© Copyright 2014 Pivotal. All rights reserved.
Microservice Architecture
7
…
HTTP
HTTP
HTTP
HTTP
HTTP
HTTP
AMQP
AMQP
Relational
DB
Key/Value
Store
Graph
DB
© Copyright 2014 Pivotal. All rights reserved. 8
Microservice Architecture
Backend
Service
API
Microservice 1
Backend
Service
API
Microservice 2
Backend
Service
API
Microservice 3
Backend
Service
API
Microservice 4
• Modularity Based on Component Services
• Change Cycles Decoupled / Enable Frequent Deploys
• Efficient Scaling
• Individual Components Less Intimidating to New Developers
• Enables Scaling of Development
• Eliminates Long-Term Commitment to Technical Stack
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
© Copyright 2014 Pivotal. All rights reserved. 9
Microservice Architecture
Backend
Service
API
Microservice 1
Backend
Service
API
Microservice 2
Backend
Service
API
Microservice 3
Backend
Service
API
Microservice 4
• Are you using licensed components?
• Why are these ports open?
• Why does it need so much resource?
• This doesn’t seem very secure to me ……
• How do I scale this?
• Someone else already built a container with
this config!
• If you’ve just changed the app, why am I
getting a whole new container?
© Copyright 2014 Pivotal. All rights reserved. 10
Microservice Architecture
Backend
Service
API
Microservice 1
Relational
Database
Graph
DB
v1
v2
Graph
DB
v2 - Prod
• Just relying on Containers
has only shifted the burden
of environment management
from Ops to development
• The code cannot be
delivered in an agile and
consistent fashion - there is
no single code base
Software is Changing Industries
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved.
Microservices, I’m not
ready!!??
Show me the PaaS!!
12
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. 13
http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html
© Copyright 2014 Pivotal. All rights reserved. 14
Twelve Factors
• One Codebase/Many
Deploys
• Explicit Isolated
Dependencies
• Config via Environment
• Attached Backing Services
• Separate Build/Release/Run
• Stateless Processes
• Export Services via Port
Bindings
• Scale Out via Processes
• Disposable Instances
• Dev/Prod Parity
• Logs == Event Streams
• Admin Tasks == Processes
http://12factor.net
© Copyright 2014 Pivotal. All rights reserved. 15
Cloud Foundry Overview
Backend
Service
API
DEA
• Container Creation is Secure
• Containers are dynamically
configured with the correct
libraries and middleware
• Microservice design changes
are automatically adjusted for
• 2 mins deploy time
© Copyright 2014 Pivotal. All rights reserved. 16
Microservice Architecture with Cloud Foundry
Backend
Service
API
Microservice 1
Backend
Service
API
Microservice 2
Backend
Service
API
Microservice 3
Backend
Service
API
Microservice 4
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
Backend
Service
API
© Copyright 2014 Pivotal. All rights reserved. 17
Loggregator
DEA Pool
Router
Cloud Controller
BOSH Director BOSH Agent
UAA/Login Servers Health Manager
Service Broker Node(s)
Messaging (NATS)
!
IaaS
Cloud Foundry Architecture Stack Dynamic and multiple routes to
micro services to support
seamless migrations
Four levels of HA to support
continuos uptime
Centralised logging for external
monitoring
Infrastructure Agnostic
Deployment
#jenkinsconf
Microservices Meetup
Cloud-Native microservices with Spring - Hands On Workshop
Learn best practices to manage your Cloud-Native microservices
Pivotal London Office - 2 July 2015, 3pm
Register Here: http://bit.ly/1FHG7Ck
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved.
Modern Applications, Microservices and Pivotal CF
19
Sufyaan Kazi - Suf (@sufyaan_kazi)
Manager, Field Engineering UK & I
skazi@pivotal.io
Architecting for Continuous Delivery
A NEW PLATFORM FOR A NEW ERA

More Related Content

More from Sufyaan Kazi

Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?Sufyaan Kazi
 
Pivotal Cloud Foundry
Pivotal Cloud FoundryPivotal Cloud Foundry
Pivotal Cloud FoundrySufyaan Kazi
 
Bridget Kromhout - Cloud Native London
Bridget Kromhout - Cloud Native LondonBridget Kromhout - Cloud Native London
Bridget Kromhout - Cloud Native LondonSufyaan Kazi
 
Pivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptxPivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptxSufyaan Kazi
 
Cloud native Microservices using Spring Boot
Cloud native Microservices using Spring BootCloud native Microservices using Spring Boot
Cloud native Microservices using Spring BootSufyaan Kazi
 
Can containers be secured in paas?
Can containers be secured in paas?Can containers be secured in paas?
Can containers be secured in paas?Sufyaan Kazi
 

More from Sufyaan Kazi (6)

Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?
 
Pivotal Cloud Foundry
Pivotal Cloud FoundryPivotal Cloud Foundry
Pivotal Cloud Foundry
 
Bridget Kromhout - Cloud Native London
Bridget Kromhout - Cloud Native LondonBridget Kromhout - Cloud Native London
Bridget Kromhout - Cloud Native London
 
Pivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptxPivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptx
 
Cloud native Microservices using Spring Boot
Cloud native Microservices using Spring BootCloud native Microservices using Spring Boot
Cloud native Microservices using Spring Boot
 
Can containers be secured in paas?
Can containers be secured in paas?Can containers be secured in paas?
Can containers be secured in paas?
 

Recently uploaded

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Modern Applications, Microservices and Pivotal Cloud Foundry

  • 1. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. Modern Applications, Microservices and Pivotal CF 1 Sufyaan Kazi - Suf (@sufyaan_kazi) Manager, Field Engineering UK & I skazi@pivotal.io Architecting for Continuous Delivery
  • 2. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. About Pivotal 2
  • 3. © Copyright 2014 Pivotal. All rights reserved. 3 Who are Pivotal? Data Science
  • 4. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. Microservices Overview 4
  • 5. © Copyright 2014 Pivotal. All rights reserved. Monolithic Architecture 5 Relational Database Data Access Service HTML JavaScript MVC Service Monolithic ApplicationBrowser • Easy to Deploy • Modularity Dependent Upon Language / Frameworks • Change Cycles Tightly Coupled / Obstacle to Frequent Deploys • Inefficient Scaling • Can Be Intimidating to New Developers • Obstacle to Scaling Development • Requires Long-Term Commitment to Technical Stack
  • 6. © Copyright 2014 Pivotal. All rights reserved. 6 Monolithic Architecture Relational Database Data Access Service HTML JavaScript MVC Service Monolithic ApplicationBrowser Build - 6-12 months Create Environment - ?????
  • 7. © Copyright 2014 Pivotal. All rights reserved. Microservice Architecture 7 … HTTP HTTP HTTP HTTP HTTP HTTP AMQP AMQP Relational DB Key/Value Store Graph DB
  • 8. © Copyright 2014 Pivotal. All rights reserved. 8 Microservice Architecture Backend Service API Microservice 1 Backend Service API Microservice 2 Backend Service API Microservice 3 Backend Service API Microservice 4 • Modularity Based on Component Services • Change Cycles Decoupled / Enable Frequent Deploys • Efficient Scaling • Individual Components Less Intimidating to New Developers • Enables Scaling of Development • Eliminates Long-Term Commitment to Technical Stack Backend Service API Backend Service API Backend Service API Backend Service API Backend Service API Backend Service API Backend Service API
  • 9. © Copyright 2014 Pivotal. All rights reserved. 9 Microservice Architecture Backend Service API Microservice 1 Backend Service API Microservice 2 Backend Service API Microservice 3 Backend Service API Microservice 4 • Are you using licensed components? • Why are these ports open? • Why does it need so much resource? • This doesn’t seem very secure to me …… • How do I scale this? • Someone else already built a container with this config! • If you’ve just changed the app, why am I getting a whole new container?
  • 10. © Copyright 2014 Pivotal. All rights reserved. 10 Microservice Architecture Backend Service API Microservice 1 Relational Database Graph DB v1 v2 Graph DB v2 - Prod • Just relying on Containers has only shifted the burden of environment management from Ops to development • The code cannot be delivered in an agile and consistent fashion - there is no single code base
  • 11. Software is Changing Industries
  • 12. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. Microservices, I’m not ready!!?? Show me the PaaS!! 12
  • 13. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. 13 http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html
  • 14. © Copyright 2014 Pivotal. All rights reserved. 14 Twelve Factors • One Codebase/Many Deploys • Explicit Isolated Dependencies • Config via Environment • Attached Backing Services • Separate Build/Release/Run • Stateless Processes • Export Services via Port Bindings • Scale Out via Processes • Disposable Instances • Dev/Prod Parity • Logs == Event Streams • Admin Tasks == Processes http://12factor.net
  • 15. © Copyright 2014 Pivotal. All rights reserved. 15 Cloud Foundry Overview Backend Service API DEA • Container Creation is Secure • Containers are dynamically configured with the correct libraries and middleware • Microservice design changes are automatically adjusted for • 2 mins deploy time
  • 16. © Copyright 2014 Pivotal. All rights reserved. 16 Microservice Architecture with Cloud Foundry Backend Service API Microservice 1 Backend Service API Microservice 2 Backend Service API Microservice 3 Backend Service API Microservice 4 Backend Service API Backend Service API Backend Service API Backend Service API Backend Service API Backend Service API
  • 17. © Copyright 2014 Pivotal. All rights reserved. 17 Loggregator DEA Pool Router Cloud Controller BOSH Director BOSH Agent UAA/Login Servers Health Manager Service Broker Node(s) Messaging (NATS) ! IaaS Cloud Foundry Architecture Stack Dynamic and multiple routes to micro services to support seamless migrations Four levels of HA to support continuos uptime Centralised logging for external monitoring Infrastructure Agnostic Deployment
  • 18. #jenkinsconf Microservices Meetup Cloud-Native microservices with Spring - Hands On Workshop Learn best practices to manage your Cloud-Native microservices Pivotal London Office - 2 July 2015, 3pm Register Here: http://bit.ly/1FHG7Ck
  • 19. © Copyright 2014 Pivotal. All rights reserved.© Copyright 2014 Pivotal. All rights reserved. Modern Applications, Microservices and Pivotal CF 19 Sufyaan Kazi - Suf (@sufyaan_kazi) Manager, Field Engineering UK & I skazi@pivotal.io Architecting for Continuous Delivery
  • 20. A NEW PLATFORM FOR A NEW ERA