hands-on lab: monitor modern applications in the cloud

16
World ® ’1 6 Hands-On Lab: Monitor Modern Applications in the Cloud Guenter Grossberger, Sr. Engineering Services Architect, CA Technologies Andreas Reiss, Sr. Principal Engineering Services Architect, CA Technologies DO4X152L DEVOPS – AGILE OPERATIONS

Upload: ca-technologies

Post on 10-Jan-2017

24 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Hands-On Lab: Monitor Modern Applications in the Cloud

World®’16

Hands-OnLab:MonitorModernApplicationsintheCloud

GuenterGrossberger,Sr.EngineeringServicesArchitect,CATechnologiesAndreasReiss,Sr.PrincipalEngineeringServicesArchitect,CATechnologies

DO4X152L

DEVOPS– AGILEOPERATIONS

Page 2: Hands-On Lab: Monitor Modern Applications in the Cloud

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Hands-On Lab: Monitor Modern Applications in the Cloud

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Modernapplicationsarehighlymodular,increasinglycloud-basedandrelyonmicroservices forconnectivity. Managingperformanceinthesehighlydynamicenvironmentscanbechallengingbutdoesn'thavetobe.JointhissessiontounderstandhowtouseCAAPMExtensionsforAWS,Dockerandothercommoncloudtechnologies.

GuenterGrossberger

AndreasReissEngineeringServicesArchitects,CATechnologies

CATechnologies,Sr.EngineeringServicesArchitect

Page 4: Hands-On Lab: Monitor Modern Applications in the Cloud

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

MODERNAPPLICATIONENVIRONMENTS

MONITORINGCHALLENGES

MONITORINGMODERNAPPLICATIONS

LAB:MONITORAPPLICATIONSINDOCKERSWARM

Q&A

1

2

3

4

5

Page 5: Hands-On Lab: Monitor Modern Applications in the Cloud

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ApplicationsareArchitectedDifferentlyMicroservices

(Agile,loosely-coupled,independent,continuousdelivery)Monolithic

(Tightly-coupleddependent,waterfall,changeintolerant)

Page 6: Hands-On Lab: Monitor Modern Applications in the Cloud

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

Page 7: Hands-On Lab: Monitor Modern Applications in the Cloud

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!

Page 8: Hands-On Lab: Monitor Modern Applications in the Cloud

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Containers:MonitoringComplexity&Scale

Containersincludetheapplicationandallofitsdependencies,butsharethekernelwithothercontainers.Docker containersarelightweight,runonanycomputer,onanyinfrastructure,inanycloudandaregreatformicroservices

Page 9: Hands-On Lab: Monitor Modern Applications in the Cloud

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Cloud– MonitoringScale

Cloudcomputingisaboutaccesstoapoolofcomputingresources(servers,storage,networks,servicesetc)thatcanberapidlyprovisionedandmadeavailablewithminimaloverhead– NIST

Page 10: Hands-On Lab: Monitor Modern Applications in the Cloud

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

Page 11: Hands-On Lab: Monitor Modern Applications in the Cloud

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

E.P.I.C.A

PM

Smartagent• Collectwhatyouneedwhenyouneedit

Monitoringatscale• Monitor@scaleandclustering

Easeofadministration• GetcontrolwithCAAPMCommandCenter

Simplyvisualizelargecomplexdata• CAAPMhomepageandAssistedTriagehelpquickly

identifyanddiagnoseproblemsthatmatter

Elegance@Scale

Page 12: Hands-On Lab: Monitor Modern Applications in the Cloud

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

Page 13: Hands-On Lab: Monitor Modern Applications in the Cloud

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ContinuousIntegration/Deployment:MonitoringforResiliency&ChangeContinuousintegrationisaprocessinwhichalldevelopmentworkisintegratedasearlyaspossibleandtheresultingartifactsareautomaticallycreatedandtested.Thisprocessshouldidentifyerrorsasveryearlyintheprocess.

Source:http://cdn.rancher.com/wp-content/uploads/2015/11/18175501/ci_flow.png

Page 14: Hands-On Lab: Monitor Modern Applications in the Cloud

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MonitoringModernApplications

§ JavaandNode.js agentinDockerfullysupported

§ JavaagentincludedinCloudFoundryJavabuildpack

§ ExtensionsontheCAAPMMarketplace(http://marketplace.ca.com/apm):– Docker– AWS– MongoDB– Jenkins– CloudFoundry

Page 15: Hands-On Lab: Monitor Modern Applications in the Cloud

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 16: Hands-On Lab: Monitor Modern Applications in the Cloud

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.

DevOps– AgileOps

FormoreinformationonDevOps– AgileOps,pleasevisit:http://cainc.to/wYXSg6