Download presentation
Presentation is loading. Please wait.
1
Cloud Design Patterns Sharath Sahadevan, Pivotal @sharath_sahadev
2
Agenda Introduction Overview of Cloud Design Patterns Demo Q/A
3
About Pivotal 3
4
Structured PaaS Framework Contract: Cloud Native App Contract: BOSH Release Contract: Cloud Provider Interface Culture Dev IT Ops Application Framework Runtime Platform Infrastructure Automation Infrastructure IT Ops Tools Spring Boot BOSH 4
5
Cloud Foundry is … Open Source Application platform-as-a-service Supported by dozens of major organizations Language and framework agnostic Manages VM’s and Containers Orchestrates applications and data services Abstracts infrastructure
6
Cloud Foundry is … Open Source Application platform-as-a-service Supported by dozens of major organizations Language and framework agnostic Manages VM’s and Containers Orchestrates applications and data services Abstracts infrastructure
7
Transferred from VMWare to Pivotal 1 trillion dollars in market cap supporting the project Governance passed to Cloud Foundry Foundation 2013 2014 2015 7
8
Design Patterns Microservices Abstraction Twelve Factor API Gateway Service Registry Config Server Circuit Breaker
9
Monolithic Architecture Tomcat Browser Apache Inventory Service DB Accounting Service Store Front UI
10
Microservice Loosely coupled Service Oriented Architecture with bounded context
11
Microservices
12
Scaling a Monolith Vs a Microservice A Monolith puts all its functionality into a single process More efficient use of resources
13
Abstraction Abstraction Agility and Cost Savings Storage Servers Networking O/S Middleware Virtualization Data Application Runtime You Manage O/S Servers Networking Middleware Virtualization Data Application Runtime You Manage IaaS Provider You Manage O/S Servers Networking Middleware Virtualization Data Application Runtime Pivotal Cloud Foundry Container Automation
14
14
20
@SpringBootApplication @EnableCircuitBreaker @EnableDiscoveryClient public class CustomerApp extends RepositoryRestMvcConfiguration { @Override protected void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) { config.exposeIdsFor(Customer.class); } public static void main(String[] args) { SpringApplication.run(CustomerApp.class, args); }
22
@SpringBootApplication @EnableCircuitBreaker @EnableDiscoveryClient public class CustomerApp extends RepositoryRestMvcConfiguration { @Override protected void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) { config.exposeIdsFor(Customer.class); } public static void main(String[] args) { SpringApplication.run(CustomerApp.class, args); }
26
Q/A
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.