Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

38

Transcript of Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Page 1: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 2: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Monitoring advanced PaaS workloadsin the enterprise

Karl-Gustav Ots

Managing Consultant, Kompozure AB

@fincooper

Page 3: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

• Cloud and cybersecurity consultant

• Trainer and international speaker

• Patented inventor

• Working on Azure since 2011

Karl-Gustav Ots @ Kompozure

Page 4: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Agenda

• End-to-end monitoring, what and why?

• Recent updates

• Available tooling

After the session, you’ll have an overview of Azure E2E monitoringoptions, whether you’re an IT Professional of a Developer.

Page 5: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Why end-to-end monitoring?

• By E2E I mean full-stack and actionable monitoring of:• Application

• Infrastucture

• Platform

• Out of scope:• Billing

• Having E2E monitoring infrastructure in place helps you track :• Health• Performance• Security• SLA

• Benefits:• Know how your application

performs• Understand how users use

your app • Fix issues and bugs faster

Page 6: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 7: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

End-to-end monitoring helps to find out

Is my application UP

or DOWN?

Is my application crashing?

What exactly happened?

Is my application

fast enough?

Is my server able to handle

the load?

Is it Azure or just me?

What is the root cause?

How many people are impacted?

Page 8: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitoring scene

Application Insights

Azure Monitor Azure HealthARM Activity

Logs

System Center Operations Manager

OperationsManagement

SuiteLog Analytics

Network Watcher

PowerBISecure Devops

Kit for Azure (AzSDK)

Security Center

Page 9: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitor: consolidated pipeline for all monitoring data from Azure services. It gives

you access to performance metrics and events that describe the operation of the Azure infrastructure and any Azure services you are

using.

Application Insights: application performance

monitoring and user analytics. It monitors the code you've

written and applications you've deployed on Azure or

on premises/other clouds

Log Analytics:ingestion of log and

metric data from Azure services (via Azure

Monitor), Azure VMs, and on premises or other

cloud infrastructure and offers flexible log search

and out-of-the box analytics on top of this

data. It

Page 10: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitor

Page 11: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitor

• Built-In monitoring support for all Azure resources

• Out-of-the-box Resource Metrics, such as:• Total active connections on Azure DB for MySQL

• Number of throttling errors for IoT hub

• Alert rules to get notified & take automated actions

• Exposed as an API

Page 12: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Recent Updates

• Application Insights is now Generally Available• Also in Europe

• ARM Activity Logs Generally Available

• Azure Monitor Generally Available

• Azure Health and Planned Maintenance

• Log Analytics migration from Elastic Search and SOLR to Kustoquery language

Page 13: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Recent Updates (Ignite)

• Azure Monitor ITSM support• System Center Service Manager, Service Now, Provance, Cherwell

• New Azure Monitor Alert engine• Near-real time monitoring

• New UI for Application Insights and Azure Monitor

• Application Insights Failure Diagnostics

Page 14: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Demo

Page 15: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitor: consolidated pipeline for all monitoring data from Azure services. It gives

you access to performance metrics and events that describe the operation of the Azure infrastructure and any Azure services you are

using.

Application Insights: application performance

monitoring and user analytics. It monitors the code you've

written and applications you've deployed on Azure or

on premises/other clouds

Log Analytics:ingestion of log and

metric data from Azure services (via Azure

Monitor), Azure VMs, and on premises or other

cloud infrastructure and offers flexible log search

and out-of-the box analytics on top of this

data. It

Page 16: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application Insights

Page 17: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application Insights Application Map

• Maps your application component dependencies

• Monitoring of load, performance, failures and alerts, at component level

• You can drill down to a speific Azure Monitor or Azure Service diagnostic view, such as SQL Database Advisor

• Helps you spot the problemmatic component more easily

Page 18: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 19: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application insights Web test alerts

Availability test

• You can test any website

• Up to 16 Azure locations supported

• Not just HTTP response: can be configured to require certaincontent to be retrieved (welcome text, image etc)

Page 20: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 21: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 22: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application insights Web test alerts

Recorded step tests

• Session recording with Visual Studio or browser

• Timing and random number input

• Authentication with SAML or AAD

Page 23: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application Insights Machine Learning alerts

• Failure Anomalies.

• Performance Anomalies.

Page 24: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 25: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Application Insights PowerBI pack

• Combine metrics from multiple applications in one portal for self-service BI

• Premade visualizations for active users, page views, sessions, browser and OS version, and geographic distribution of users in a map

Page 26: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure Monitor: consolidated pipeline for all monitoring data from Azure services. It gives

you access to performance metrics and events that describe the operation of the Azure infrastructure and any Azure services you are

using.

Application Insights: application performance

monitoring and user analytics. It monitors the code you've

written and applications you've deployed on Azure or

on premises/other clouds

Log Analytics:ingestion of log and

metric data from Azure services (via Azure

Monitor), Azure VMs, and on premises or other

cloud infrastructure and offers flexible log search

and out-of-the box analytics on top of this

data. It

Page 27: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Log Analytics

Page 28: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Log Analytics

• Operation Management Suite (OMS) provides several infrastructure monitoring capabilities out of the box:• Network Performance Monitoring

• Storage, compute and Microsoft middleware performance

• With OMS, you can use the Kusto query engine to search trough your System Center logs or syslog.• You can ask e.g. for data on all unhealthy network links

• Or status of disk usage and patching for all VMs

• You can also bring all Application Insights telemetry into OMS search logs!

Page 29: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Demo

Page 30: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Log Analytics connectivity

• Input• Application Insights

• Azure Platform• Azure Active Directory Audit logs, Azure Activity Logs, Azure Security Center Alerts,

most Azure Resource Provider's Logs

• Windows or Linux Virtual Machine logs

• System Center logs

• ITSM tools: System Center Service Manager, ServiceNow, Provance, and Cherwell

• Output• Azure Log Integration : Anywhere ☺

Page 32: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 33: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

OMS Service Map

• Built on the BlueStripe acquisition

• Automatically maps dependencies of your Windows or Linux VMs• Shows connections between servers, ports and processes

• You need to install an agent

• Use Service map to gather a holistic SLA view on your IaaSappications• Drill down to machine level to see OMS performance monitoring data

• Think Application Map for infra!

Page 34: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Page 35: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

SCOM

Page 36: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Azure end-to-end Monitoring

IaaS PaaS

Performance monitoring

Operations Management Suite

Application Insights

Dependencymapping

OMS Service Map App insights Application Map

Alerts and Health Azure Monitor Azure Monitor

Visualization PowerBi, Portal Dashboard and SDK

PowerBI, Portal Dashboard and SDK

SCOM visibility Azure Management Pack Application Insights Management Pack

Page 37: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Further reading

• Patterns & Practices article on Monitoring:• https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/

• Logic App that posts a message to a Slack channel when an Azure alert fires:• https://github.com/Azure/azure-quickstart-templates/tree/master/201-alert-to-slack-with-logic-

app

• Set up alerts automatically using PowerShell• https://docs.microsoft.com/en-us/azure/application-insights/app-insights-powershell-alerts

• Provision alerts from Secure DevOps kit for Azure:• https://github.com/azsdk/azsdk-docs/blob/master/01-Subscription-

Security/Readme.md#azsdk-suscription-activity-alerts

• Ignite Sessions:• Analyze & Debug applications across your DevOps workflow with Azure Application Insights• Manage and optimize your cloud spend with Azure Cost Management by Cloudyn• Monitoring, diagnosing and debugging with Azure networking

Page 38: Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200

Thank you!

Please do not forget to evaluate the session before you leave by using ourLollipolls!