journey to cloud-native: where to start in your app modernization process

Post on 11-Apr-2017

167 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Journey To Cloud-Native: Where To Start In Your App Modernization Process

Kamala Dasika Michael Villiger

@DasikaKN @MikeVilliger

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Changing Model for Application Delivery

Development Deployment

Sparingly at designated times

Ready for prod at any time

Architecture Abstraction

Layer “Day 2” Ops

App Server on Machine

App on “disposable” infrastructure

Monolithic App

Microservices / Composite app

Linear / Sequential

Short cycles, test driven, iterative

Many tools, ad hoc automation

Manage services, not servers

© Copyright 2017 Pivotal Software, Inc. All rights reserved. 3

Enterprises operating at startup speeds

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Enterprise Application Portfolio

Built for Cloud Native

New Initiatives FREEDOM: RunYourApponAnyCloud

AUTOMATION: LowerOpsCostandIncreasesVelocity

RESILIENCY: Auto-Scale,Blue-greenDeploys,HealthMgmt.

GOVERNANCE: CommonDeveloper-Self-ServicedFrameworks

VISIBILITY: FullStackLogging,Monitoring&Auditability

SPEED: CutCycleTimefromMonthstoDays/HoursModernize to Cloud-Native?

Existing Workloads

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Evaluating the Enterprise App Portfolio

BUSINESS ECONOMIC TECHNICAL

•  Codebase•  Suitableframework/runLme•  RelaLvelylightweightfootprint•  No“hardwired”filesystem

dependencies•  Usage/workload

•  BusinesscriLcality•  Risktolerance•  Changefrequency•  Lifecyclestage•  Domainexpertavailability

•  Licensingcosts(HW/SW)•  Time-to-marketimplicaLons•  Revenueimpact-fullness

©2017Dynatrace

Iden%fying Candidates for Refactoring -Mul%ple Lenses

©2017Dynatrace

LensOne:UserExperienceandBehaviorAnalyLcs

•  RealUserMonitoringcanquicklyexposecandidatesforrefactoringbasedonacLvity

•  LookingatacLonfrequency,wecanidenLfyhighrisk/highrewardfuncLonalityformajorimpact

•  Conversely,wecanidenLfylowriskandlessfrequentlyaccessedfuncLonalityforproofofconceptrepla_orming

©2017Dynatrace

LensOne:UserExperienceandBehaviorAnalyLcs

•  RealUserMonitoringcanalsohelpusfindcandidatesbasedonacLonduraLon

•  LookingatduraLon,wecanidenLfypoorlyperformingfuncLonalitytopursueimprovementsthatwillhaveimmediateuserimpact

©2017Dynatrace

LensOne:UserExperienceandBehaviorAnalyLcs

•  Combiningthetwometrics,wecanlookattopconsumers;acLonsthattakealongLmeandarefrequentlyaccessed

•  Intermsofimpact,thiscompoundmetricwouldquicklyexposefuncLonalitythathasthemostimpactforenduserexperience

©2017Dynatrace

LensTwo:Topology+DependencyDiscoveryandInfrastructureMetrics

•  UsingServiceFlow,understandthefrequencyofinteracLons,percentageofinteracLonsandcontribuLonpercentagetorankapplicaLonLersbasedonriskandimpact

©2017Dynatrace

LensTwo:Topology+DependencyDiscoveryandInfrastructureMetrics

•  ULlizeautomaLcenvironmentmappingtounderstandtopologyofenLreenvironment

•  UnderstandthefullendtoendmapofdependenciesforexisLngservices

•  Thiswillalsoexposedependenciesteamswerenotawareof;i.e.communicaLonsbetweenservicesthatwereunexpected

©2017Dynatrace

LensTwo:Topology+DependencyDiscoveryandInfrastructureMetrics

•  MapandunderstandresourceconsumpLontoidenLfyheavyconsumers•  FromtheIaaS/Hypervisor•  TotheVirtualMachine•  Totheprocess•  Totheservice

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Replatforming and Modernization

APP

APP

APPµService

µServiceAPP

APP

APP

µService

APPLICATIONREPLATFORMING APPLICATIONMODERNIZATION

The“Push”Approach The“Pull”Approach1.  Pushtheapp2.  Seewhatfails3. Writeatest4.  Gettheteststopass5. Writedownyourrecipes

1.  Buildnewfeaturesasmicroservices2.  Findtheseams3. Writetests4.  Refactorcodearoundseams5.  Getyourteststopass

APP

APP

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Breaking the Monolith Picking the Seams

•  Analyze –  Inbound and Outbound Coupling –  Databases & Data Stores –  Transaction Boundaries

•  Modes of Communication? •  Use Cases/User Journeys •  Business Processes •  Ubiquitous language

–  Nouns & Resources –  Verbs & Operations

•  Separated models for reading and writing •  Organizational semantics

–  Team Organization and Structure

Source: Webinar - “Breaking the Monolith” by Rohit Kelapure

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Example

Source: Monolith->Microservices: A Guided Adventure by Mike Gehard

©2017Dynatrace

UnderstandServiceInteracLonsInsidetheWellStructuredMonolith

•  Withthewellstructuredmonolith,definecustomservicesaroundtheseboundedcontexts

Well-structured Monolith

Presenta%on

Business Logic

Data Access

Presenta%on

Business Logic

Data Access

Presenta%on

Business Logic

Data Access

API API

user order item

©2017Dynatrace

UnderstandServiceInteracLonsInsidetheWellStructuredMonolith

•  WiththesecustomserviceswedigdeeperintointeracLonswithinthemonolith,transformingvisibility

fromthis:

©2017Dynatrace

UnderstandServiceInteracLonsInsidetheWellStructuredMonolith

•  WiththeaddiLonalvisibilityconLnuetodiscoverandmapdependencies

tothis:

©2017Dynatrace

UnderstandServiceInteracLonsInsidetheWellStructuredMonolith

•  AnduLlizetheserviceflowtodriveeffortstoidenLfytheboundedcontextstomovetoalooselycoupledmicroservice

©2017Dynatrace

MonitorImpactDuringRepla_orming:UserExperience

•  ConLnuetotrackuserexperienceviaRealUsermonitoringduringrepla_ormingeffortstovalidateandtrackeffortstoimprovetheuserexperience.

•  EnsureregressionsareidenLfiedquicklyandrolledback,evenwhenusingblue/greendeployments

©2017Dynatrace

MonitorImpactDuringRepla_orming:UserExperience

•  RealUserMonitoringexposesbusinesstargetsaswell.Trackconversionpercentagesandtrendstomeasureimpactofsuccessfulrepla_ormingefforts

•  EnsureregressionsareidenLfiedquicklyandrolledback,evenwhenusingblue/greendeployments

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

22

Application Portfolio Virtuous Cycle

$$$$ ROI Funds

Transformation

Replatform Modernize

Runs on PCF

Existing Workloads Cloud Native

Built for PCF

New Initiatives

Auto-scaling High Availability Logging/Metrics Security

Zero Downtime Updates …

Spring Cloud Services

Continuous Delivery

User Provided Services

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Migrating an ESB to a Cloud Native Platform

Online Perf clinic – Managing Cloud

Foundry with Dynatrace

Introducing the Dynatrace Topology and Smartscape

API

Cloud Native Evolution – How Companies Go

Digital

Transforming the Monolith at 20 million transactions/hour -

Comcast

Breaking the Monolith

Resources

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Next Webinar

Journey to Cloud-Native: Continuous Delivery with Artificial

Intelligence

Download

Dynatrace Service Broker for PCF

© Copyright 2017 Pivotal Software, Inc. All rights reserved.

Migrating an ESB to a Cloud Native Platform

Online Perf clinic – Managing Cloud

Foundry with Dynatrace

Introducing the Dynatrace Topology and Smartscape

API

Cloud Native Evolution – How Companies Go Digital

Transforming the Monolith at 20 million transactions/hour -

Comcast

Breaking the Monolith

Resources

top related