hands-on lab: monitor modern applications in the cloud
TRANSCRIPT
World®’16
Hands-OnLab:MonitorModernApplicationsintheCloud
GuenterGrossberger,Sr.EngineeringServicesArchitect,CATechnologiesAndreasReiss,Sr.PrincipalEngineeringServicesArchitect,CATechnologies
DO4X152L
DEVOPS– AGILEOPERATIONS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
Modernapplicationsarehighlymodular,increasinglycloud-basedandrelyonmicroservices forconnectivity. Managingperformanceinthesehighlydynamicenvironmentscanbechallengingbutdoesn'thavetobe.JointhissessiontounderstandhowtouseCAAPMExtensionsforAWS,Dockerandothercommoncloudtechnologies.
GuenterGrossberger
AndreasReissEngineeringServicesArchitects,CATechnologies
CATechnologies,Sr.EngineeringServicesArchitect
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
MODERNAPPLICATIONENVIRONMENTS
MONITORINGCHALLENGES
MONITORINGMODERNAPPLICATIONS
LAB:MONITORAPPLICATIONSINDOCKERSWARM
Q&A
1
2
3
4
5
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ApplicationsareArchitectedDifferentlyMicroservices
(Agile,loosely-coupled,independent,continuousdelivery)Monolithic
(Tightly-coupleddependent,waterfall,changeintolerant)
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Microservices:MonitoringScale&Complexity
MicroservicesArchitectureisanemergingtechniquewhichpromisestodeliverflexibilityandscalabilitytothedevelopmentanddeploymentofservicebasedapplications
http://www.pwc.com/us/en/technology-forecast/2014/cloud-computing/features/assets/feature02-figure02.jpg
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MonitoringMustScale withNewArchitecture
Microservicesarchitecturewitheachelementoffunctionalityinaseparateservice….
Scalesbydistributingservicesacrossservers,replicatingasneeded
MICROSERVICE CONSIDERATIONS
§ Testingacrossmultipleservices§ Releaseco-ordination§ Manymovingparts/multipleinstances§ Manynewdatastores– SQL,NoSQL§ Networklatency,messaging,emergent
behaviors§ Complexity!
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Containers:MonitoringComplexity&Scale
Containersincludetheapplicationandallofitsdependencies,butsharethekernelwithothercontainers.Docker containersarelightweight,runonanycomputer,onanyinfrastructure,inanycloudandaregreatformicroservices
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Cloud– MonitoringScale
Cloudcomputingisaboutaccesstoapoolofcomputingresources(servers,storage,networks,servicesetc)thatcanberapidlyprovisionedandmadeavailablewithminimaloverhead– NIST
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Browser
Mobile
Network WebServer
SyntheticTransactions
SQLDatabase
APIGatewayAppServer
PassiveEUE(Agentless)
Mainframe
TransactionPerformance
=MonitoringAgent
Microservice
DockerContainer
SSO UserDataStore
Abilitytotracecomplextransactionsthattraversetheentireinfrastructurefromcustomer-facingsystemsofengagementtoback-endsystemsofrecord
SystemsofEngagement Systemsof
Record
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
E.P.I.C.A
PM
Smartagent• Collectwhatyouneedwhenyouneedit
Monitoringatscale• Monitor@scaleandclustering
Easeofadministration• GetcontrolwithCAAPMCommandCenter
Simplyvisualizelargecomplexdata• CAAPMhomepageandAssistedTriagehelpquickly
identifyanddiagnoseproblemsthatmatter
Elegance@Scale
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
APMSupportforModernTechnologies
• MonitorappsdeployedtoDockercontainerswithAPMagent• Collectsbasiccontainerhealthmetrics(FieldPack)• VisualizeappperformanceandDockerhealthinoneview• https://github.com/CA-APM/DockerMonitoring
• EasilymonitorappsdeployedusingPivotalCloudFoundry® Javabuildpack• CollectsbasichealthmetricsfromPivotalCloudFoundry(fieldpack)• VisibilityintoapplicationperformanceandPivotalCloudFoundryhealth• MembersoftheCloudFoundryFoundation
• CAAPMagentsarefullysupportedandprovidetransactioncorrelation,deepdiverootcauseanalysis,browseragentforenduseranalytics
• FieldpacktoreportAWSCloudWatch dataintoCAAPM
• CAAPMpluginintegratesforbuildperformancecomparisons&attributeupdates• https://wiki.jenkins-ci.org/display/JENKINS/CA+APM+Plugin
• Node.jsagentsarefullysupportedandprovidetransactioncorrelation,deepdiverootcauseanalysis,browseragentforenduseranalytics
• https://www.npmjs.com/package/ca-apm-probe
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ContinuousIntegration/Deployment:MonitoringforResiliency&ChangeContinuousintegrationisaprocessinwhichalldevelopmentworkisintegratedasearlyaspossibleandtheresultingartifactsareautomaticallycreatedandtested.Thisprocessshouldidentifyerrorsasveryearlyintheprocess.
Source:http://cdn.rancher.com/wp-content/uploads/2015/11/18175501/ci_flow.png
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MonitoringModernApplications
§ JavaandNode.js agentinDockerfullysupported
§ JavaagentincludedinCloudFoundryJavabuildpack
§ ExtensionsontheCAAPMMarketplace(http://marketplace.ca.com/apm):– Docker– AWS– MongoDB– Jenkins– CloudFoundry
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Thankyou.
Stayconnectedatcommunities.ca.com
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.
DevOps– AgileOps
FormoreinformationonDevOps– AgileOps,pleasevisit:http://cainc.to/wYXSg6