DevOps, microservices and stress-free incidents. How toy have your cake and eat it too.

16
DevOps, microservices and stress-free incidents: How to have your cake and eat it too Peter Holditch Principal PreSales Engineer [email protected] @pholditch

Transcript of DevOps, microservices and stress-free incidents. How toy have your cake and eat it too.

Page 1: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

DevOps,microservices andstress-freeincidents:Howtohaveyourcakeandeatittoo

PeterHolditchPrincipalPreSales Engineer

[email protected]@pholditch

Page 2: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Haveyouragendaandeatittoo

AppDynamicsConfidentialandProprietary 2

• Howdidwegethere?o WhyDevOpso WhyMicroservices

• WhereDevOpsandmiroservices collide• JointDevOps&microservices managementrequirements• Deliveringtheserequirements:buyvsbuild• Businesscaseforbuyingasolution

Page 3: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

WhyDevOps?

• Therateofchangeofsystemshasgrownexponentiallyo 2releasesayear,deliveredcompletewithabigoperationsmanualisnot

recipeforhighvelocitydelivery

• Keepingsystemsreliableinthefaceofthisrateofchangerequireso Automationofthesoftwarerelease(manufacturing)processo Collaborationacrossthesoftwarelifecycle

• “traditionalops”runplatforms,deliverypipelines• Developers(formally)takeresponsibilityforapplicationtroubleshootinginproduction

Page 4: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Whymicroservices?

• Loosecouplingenablesagilityo Choosebestlanguageforthejobbyserviceo Differentratesofchangeperserviceo DifferentNFRsperserviceo Easiertocoordinateactivitywithinsmallerdevelopmentteams

• Focuseddomainexpertise• Betteraccountabilitytobusinessstakeholders

Page 5: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

WhereDevOpsandmicroservices collide

• Tradeoffdevtimesimplicityvsoperationalcomplexity• Troubleshooting:howmanytechnology“throatstochoke”?

o Triagevsanalysiso Iseachpiecemanagedinthesameway?o Devtimefromeachteamtosupport=>thedreadedwarroom

• Maturity:onceaserviceisstableandtheteammoveon…o Whoownstheservicenow?o Whocantroubleshootit?

Page 6: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Requirementsforunifiedmonitoringofmicroservices• Fordevelopers

o Languagesupporto Lowtouch

• Inimplementationandproductionhandover• Providedetailedcodelevelvisibilitywhennecessary

• ForOpso Easeofuse;simplifytroubleshooting(“shiftleft”)

• Consistency• Comprehensiveendtoendvisibility,faultdomainisolation

• ForDevOpso Fosterdev/opscollaborationo Providefeedbackthroughoutdeliverypipeline

Page 7: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Automaticallytraceapplicationtrafficendtoend

AppDynamicsConfidentialandProprietary 7

Page 8: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Supportpolyglotapplications

AppDynamicsConfidentialandProprietary 8

Page 9: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Identifyflowpertransaction

AppDynamicsConfidentialandProprietary 9

Page 10: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Troubleshootindividualtransactions…

AppDynamicsConfidentialandProprietary 10

Page 11: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

…downtocodelevel

AppDynamicsConfidentialandProprietary 11

Page 12: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

IcanbuildthatmyselfwithELK/zipkin /…

AppDynamicsConfidentialandProprietary 12

• Sure,it’sonlysoftware…Let’sgetonwithit!o StandupElasticSearchandsuckinyourlogs.Jobdone?o Now,standardiseyourlogmessagessothey’reconsistento Now,flowatransactionidentifierendtoendandaddittothemessages,

orusezipkintotracetransactions

• That’sseveralmanmonthsofworkalready......andyoustillhavenocodelevelvisibility......noranyeasytouseUItoallowthatessential“shiftleft”

• NowimagineyouacquireaproductoracompanyL

Page 13: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Bonus:architecturalbenefits

• Architecturalgovernanceo Perservicedependencyanalysiso ManageConway’slaweffects

• Evolveandmanageriskinthesystemovertime• Dataforcapacityplanning• Achievematuritywithlessriskof“hittingawall”• Evolutiontoward#noops?

Page 14: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Thebusinesscaseforunifiedmonitoring

• Savedevelopertimeinproductiontroubleshootingtypicallybetween7-20%ofdevelopertime

• Savedevelopertimeinperformancetesting• Savedevelopertimeimplementingcustommonitoring• Savedevelopertimeinproductionhandoff• Easestaffon-boarding

“1monthto1day”• [SaaS]avoidrunningcostsofmonitoringback-ends

Free1devFree.5devFree.75devFree.25dev

Page 15: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

Summary

• Microservices shiftcomplexityfromdevelopmenttoproduction• DevOpsisnotapanaceaforproductioncomplexity:developers

havedayjobs!• Productioncomplexityneedstobemanagedtoallowefficient

(stress–free)operation• AppDynamicsoffersanexcellent,cost-justifiable,solutionto

theseissuesQuestions?

Page 16: DevOps, microservices and stress-free incidents.  How toy have your cake and eat it too.

WinacopyoftheDevOpsHandbookattheAppDynamicsstand (booth#214)