cloud foundry: monoliths to microservices -- a journey to cloud

19
Atul Nagar | Dell EMC Saturday | 2nd Sept’17 | SAP Labs India, Bengaluru Monoliths to Micro-services A Journey to Cloud

Upload: sap-cloud-platform

Post on 21-Jan-2018

327 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

Atul Nagar | Dell EMC

Saturday | 2nd Sept’17 | SAP Labs India, Bengaluru

Monoliths to Micro-services

A Journey to Cloud

Page 2: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

2

Agenda

• Background

• The State of Affairs

• Catalysts for Change & Goals

• The Journey

• Results

• Q/A

Page 3: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

3

Background

• Dell EMC Global Services relies on applications, tools and analytics

to assist customers in their transformation

–Pre-sales sizing

–Discovery & Remediation

–Migration/Configuration

–Application Transformation

• 30+ active tools developed by internal team (100+) spanning 3 geos.

• Over 15000+ User base

Page 4: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

4

Velocity

• # of Releases / Platform

(2014)

Quality

• # of Features

Delivered/Defects (2014)

The State of Affairs

Legacy

Desktop

Tools

Legacy

Web

Tools

Cloud Foundry

Based Apps

65 118 0

Features

Delivered

Defects

found in

Production

Defects Found

in Development

283 20 200

Page 5: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

5

Catalysts

• More tools!

• Current state of

architecture

• Software engagement and

delivery processes

• Organizational Structure

Goals

• Increased agility and quality

• A modern platform to support cloud-

native applications

• Self-organizing teams with end-to-end

responsibility and ownership

• Eliminate walls of confusions

• Create standardized, repeatable

processes

• Provide the ability to scale teams

Catalysts for Change & Goals

Page 6: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

6

The Journey

• From monoliths to a micro-services

• From psueudo-agile to truly agile

• From semi-automated to truly automated

• From Walls of Confusion to Landscape of Collaboration

Page 7: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

7

The Monoliths (1st Generation)

UI Services Data Access

Service B

Service C

UIORMORM ORMService A

Reports

Page 8: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

8

Back End Web

App

Front End Web

App

The Monoliths (2nd Generation)

Services

Data AccessUI

ORM

Service

A

JSP

ORM ORM

Service

B

Service

C

Reports

JSP

JSP

Page 9: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

9

VM 1

The Monoliths (trying to scale)

FE Server

JSP

BE Server

Service A

JSP

Service B

In Memory DB

BE Server

Service A

Service B

Central DB

VM N

FE Server

JSP

BE Server

Service A

JSP

Service B

In Memory DB

BE Server

Service A

Service B

Page 10: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

10

Monolith Destroyed!!!

Client Browser

Authentication &

SSO

Proxy Gateway

Micro-

service

Micro-

service

Micro-

service

Platform

Micro

service

Platform

Micro

service

R

E

S

T

R

E

S

T

R

E

S

T

R

E

S

T

R

E

S

T

R

E

S

T

R

E

S

TR

E

S

T

R

E

S

T

R

E

S

T

R

E

S

T

Micro-services

Spring-boot

Gradle 12 factor

Page 11: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

11

Cloud Foundry – a trusted ally!!!

High velocity development

• Ready made for Spring Boot and micro service patterns

• Native Windows and .Net support

• Metrics

• CI/CD integration

• Service brokers

Enterprise level Security

• True integration with SSO and LDAP

• SSL and TLS Support

• Isolation Segments

• Container networking

Operational Efficiency

• Zero downtime deployments and multi-layer HA

• Private to Hybrid Cloud

• Auto scaling of apps

• RBAC –Orgs/Spaces

Page 12: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

12

The Cloud Platform

Cloud Foundry + Spring

Application

Generators

(Spring Boot)

Logging & Usage

Monitoring

File Handling Reporting

Responsive UI Framework (Angular JS)

User Management

Security

AnalyticsApplication

Notifications

Data Management

CI/CD Tools

Page 13: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

13

From pseudo-agile to true-agile

• Moved to Kanban

–Feature oriented delivery

–Minimal Viable Features lead to Minimal Viable

Product

–Learn from Industry Agile Innovators (Pivotal, Spotify)

Page 14: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

14

From Walls of Confusion to Landscape of

collaboration

Dev vs QA to Dev+QA

• Shift to TDD

• Testers to Test Engineers

• 100% automated testing

• Integrated reporting

CI CD

• True devops Model

• Seamless check-in to Production

• Repeatable quality

Page 15: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

Results

Page 16: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

16

65

72

59

118

113

56

0

174

829

0 200 400 600 800 1000

2014

2015

2016

Feature Releases Per Platform

Cloudfoundry Apps Legacy Web

Legacy Desktop

020406080

100120140160180200

Q12015

Q22015

Q32015

Q42015

Q12016

Q22016

Q32016

Q42016

0102030405060708090100

Resolved Features/Sev 1-2 Defects

Features

Defects found in Production

Defects

Page 17: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

17

Innovation

• 12 Patents awards + 3 submissions

• Learnings from the journey => Great product Ideas

–Multi Foundation Management Tool

–Automated Cloud Foundry Environment Testing Tool

–Automated Cloud Native Application Assessment

• Part of Dell EMC Native Hybrid Cloud Platform

Page 18: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

18

Learnings

• Cloud Foundry as the platform provides the scale, agility

and reliability

• Cloud based micro services architecture – an investment

• Importance of automation

• Organizations changes and alignment

Page 19: Cloud Foundry: Monoliths to Microservices -- A Journey to Cloud

Saturday | 2nd Sept’17 | SAP Labs India, Bengaluru