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

Preview:

Citation preview

Atul Nagar | Dell EMC

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

Monoliths to Micro-services

A Journey to Cloud

2

Agenda

• Background

• The State of Affairs

• Catalysts for Change & Goals

• The Journey

• Results

• Q/A

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

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

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

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

7

The Monoliths (1st Generation)

UI Services Data Access

Service B

Service C

UIORMORM ORMService A

Reports

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

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

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

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

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

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)

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

Results

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

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

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

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

Recommended