You are on page 1of 35

#CLUS

NetDevOps:
Application-to-Network
Automated & Programmable
Performance Insights

Kamlesh Shah, CCIE#2803 (E), RHCSA OpenStack Admin, ITILv3

Sr. Solutions Architect


Global Channel Sales, AppDynamics
@kshah_us
DEVNET-2204

#CLUS
• Introduce Application Performance
Monitoring with AppDynamics
• Introduce How Central Nervous
System Can be built with Insights
from App & Network together
Session Objectives • Provide examples of how
correlated Insights can be used to
solve network issues impacting
mission critical apps using Cisco
ACI and Cisco SD-WAN as
examples
ACI=Application Centric Infrastructure
SD-WAN=Software Defined Wide Area Network

DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
• Objective
• Application Performance Monitoring Introduction & Demo
• Central Nervous System with AppDynamics
• Integration Architecture(s)
• Use Cases for NetDevOps: ACI & SD-WAN etc.
• Resources

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Cisco Webex Teams
Questions?
Use Cisco Webex Teams to chat
with the speaker after the session

How
1 Find this session in the Cisco Live Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space

Webex Teams will be moderated cs.co/ciscolivebot#DEVNET-2204


by the speaker until June 16, 2019.

#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Application &
Business
Performance
Monitoring with
AppDynamics
You Need to Keep Pace with Your Customers!
Every Business is a Software Business

Do you know what our busiest


bank branch is in the UK? It’s
our mobile app on the 7:15 am
train to Paddington.

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Traditional Siloed
Tools Solve Siloed
Problems
Network

Middleware

Logs

Siloed problems are identified


by individual monitoring tools
‘Finding the red’

Multiple minor issues when


combined may contribute to poor
Database
user experience
Infrastructure

Siloed tools struggle to identify


these issues Cloud
‘Finding the yellow’

DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Application Intelligence with AppDynamics
Move Fast, Follow Everything & Focus on What Matters Most

Visibility Insight Action

Live Customer Journeys Proactive Alert on


Automated Discovery & Realtime Business
Dynamic Baselines for for every Business
Transaction Metric
Production Applications
Every User, Every Programmable Actions
Transaction, Near Real Automatically Collected,
Fully Correlated to adjust resource
Time allocation
Business Context of
anomalies, trends &
patterns User Impact Analysis
due to new code deploy
#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
AppDynamics Production Architecture
SaaS/On-Prem Controller
User Interface & Reporting
Application Correlated transaction view
Intelligence Platform
No code changes required*
<Low overhead in production

One-Way One-Way
One-Way HTTP/S Remote JDBC
HTTP/S HTTP/S

Application
Agent Server Agent Database
End User Agent
Browser / Mobile / Java .NET. PHP OS SQL
IoT Node.js C++ Python
Go Extensions
SAP

*Exceptions apply
#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
AppDynamics Demo
Central Nervous
System (CNS):
Enabler for AIOps
The Central Nervous System: Enabler for AIOps
Visibility Insight Action

Public Private
cloud cloud
Cognition Engine
Incident response
App and business Action engine

Time series and events data


Resource scaling

Orchestration
Infrastructure
Cost optimization

Alerting ML/AI API


Network
Network configuration

Security Security enforcement

Unified dashboard

Feedback Loop

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Cognition Engine Insight

Separate signal from noise


with ML/AI insight

• Baselines performance

• Streaming anomaly detection

• Automated root cause analysis

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Action Engine Action

Take action based on


ML/AI insights

• Automatically provision compute


resources

• Dynamically create an incident in


ServiceNow

• Change network policy to optimize


bandwidth

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Use case : intelligent auto-scaling
• Challenge: Scaling infrastructure to meet resource demands is slow and complex

Visibility Insight Action

Create incident
1 2 3
in ServiceNow

+ Automatically create
4 Team Space and invite
the right people
Performance Correlate application performance with network
anomaly detected and infrastructure to determine root cause and
correct action CWOM* Deploy
5
Cisco Workload Another vPod
Optimization Manager
(CWOM)

Feedback loop shows improvement which automatically closes the incident and closes
7
team space
*Cisco Workload Optimization Manager (Turbonomic)

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Use case: intelligent network
• Challenge: Scaling infrastructure to meet resource demands is slow and complex

Visibility Insight Action

1 2 3

App and business, Correlate application performance with New policy is automatically
network and network and infrastructure to determine provisioned to increase the
infrastructure root cause and corrective action network bandwidth

Feedback loop shows improvement which automatically closes the incident and closes teams
4 space

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Integration
Architectures &
Use Cases
• Library of Extensions
• Health Policy Based Actions
• API Based Cross Platform
Integration
How does • Cisco Workload Optimization
AppDynamics Manager (CWOM) (Turbonomic)
Cisco Cloud Center
Integrate with

• Cisco Application Centric

Other Systems
Infrastructure (ACI)
• SD-WAN (Viptela) (Proof-Of-
Concept)

DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
AppDynamics Exchange
Library of Extensions Supported by AppDynamics Support

• https://www.appdynamics.com/community/exchange

Community/AppD Extension Engineering/Partner Developed Integrations

• Monitoring Extensions: Useful for artifacts that can NOT be instrumented by


native agents. Gathers & Reports monitoring Info as metric to controller

• Alerting Extensions: One Way Events typically from AppD Controller to third
party systems: formatted/coded for target systems

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Alert & Respond System: Health Policy Based
Actions

• Email Alert
• SMS
Message
• Third Party
API End Point
Call
• Auto Scale
Infrastructure

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Tie application context to your network w/ACI*
Connecting Application &
Network Data Models
AppDynamics ACI
Runs on
Node End Point (EP)

End Point
Tier
Group (EPG)

Application
Application
Profile (AP)

Tenant Tenant

ACI--Application Centric Infrastructure


#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
AppDynamics and ACI Integration Use Cases
Bring application context
to the network
• Faster root cause identification
and remediation

• Reduce risk of unexpected app


outages regardless of network
location

• Better collaboration across


network and application
teams

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Integration Architecture

AppIQ
APPDYNAMICS Controller

Container NGNIX
based Stateful On APIC REST API
App on APIC

VM VM VM VM VM VM VM

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Integration API Flows: AppD to APIC Flows
APPDYNAMICS

REST

Login to ACI username/pw attritb


API Token usable for session

Get ACI End Points, using AppD Node IPAddresses

All ACI EndPoints


Get ACI Tenants

List of Tenants (which username can access)

Get ACI Faults for EPG for AppD Tier


List of Faults for EPG tied to AppD Tier

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Integration API Flows: APIC to AppD Flows

APPDYNAMICS

REST

ACI Sends Login POST http://10.23.239.14:8090/controller/auth?action=login


AppD Returns Session Token, e.g.X-CSRF-TOKEN=8eebabdc0c70d5fa5ad..

GET(AppD Apps, Tiers & Nodes) (Multiple Calls)

List of Apps, Tiers & Nodes


Get ACI Tenants

List of Tenants (which username can access)

There are other flows within APIC (From App Container


(in AppIQ) to NGINX for instance)
#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
AppDynamics & ACI Integration Demo
Premium Customer Experiences Using App Aware Policy to
program SD-WAN Network

Real-Time Performance/Business Data  Improved Customer


Apps
experience for
App App Critical Applications
Code
& Business
Transactions
Browser
& Mobile Cisco Viptela SD-WAN
Dynamic Policies, Cloud First
RUM Management
 End2End Visibility =
Better Understanding
Network
of Application Health

* Current POC Scope


#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Automated & Programmable App + Network Service Delivery

AppDynamics
End User Response Time Trend for Fleet
Inc/Branch 22

Viptela
Integration
Module*

Dynamic API based Action on SD-WAN


Route via MPLS vs. Business Internet, Color Traffic
with Higher QoS etc.

Improved User
Experience results
from using Premium
vManage
vEdge
Service for App & BT
Viptela SD-WAN
vEdge

* Proof Of Concept/Under Development #CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Summary
 AppDynamics Performance Visibility provides deep
application & Business Metrics Visibility in near real time

 Extensions & APIs provide ways to extend the platform native


capability

 AppDynamics Integrates with Cisco ACI & various other


solutions today (SD-WAN integration is in POC stage today)

 The solutions provide a mechanism to drive your NetDevOps


via API & custom code integration methods

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
References
 AppDynamics ACI Integration Documentation
https://docs.appdynamics.com/pages/viewpage.action?pageId=45510337

 AppDynamics Extensions Library (aka Exchange)


https://www.appdynamics.com/community/exchange/

 AppDynamics APIs
https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs

 GitHub Repo for AppDynamics


https://github.com/appdynamics

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Complete your
online session • Please complete your session survey
evaluation after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live water bottle.
• All surveys can be taken in the Cisco Live
Mobile App or by logging in to the Session
Catalog on ciscolive.cisco.com/us.
Cisco Live sessions will be available for viewing
on demand after the event at ciscolive.cisco.com.

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Continue your education

Demos in the
Walk-in labs
Cisco campus

Meet the engineer


Related sessions
1:1 meetings

#CLUS DEVNET-2204 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Thank you

#CLUS
#CLUS

You might also like