Opscraft
Azure for AWS engineers · Lesson 8 of 9 · 3 min read

Monitoring and security

Azure Monitor and Log Analytics

Enlarge diagramAKS, VMs, appsmetrics + logsLog Analyticsquery with KQLAzure Monitoralertsaction groupsApplicationInsightstraces, APM
Figure 1. Monitoring on Azure in one picture.
Swipe sideways to see all of it, or tap to open it full screen.
  • Azure Monitor — platform metrics, alerts, action groups (≈ CloudWatch metrics/alarms/SNS).
  • Log Analytics workspaces — central log store queried with KQL (Kusto Query Language) (≈ CloudWatch Logs Insights/OpenSearch):
ContainerLogV2
| where TimeGenerated > ago(1h) and LogLevel == "error"
| summarize errors = count() by ContainerName, bin(TimeGenerated, 5m)
| order by errors desc
  • Application Insights — APM, distributed tracing (≈ X-Ray + CloudWatch Application Signals).
  • Diagnostic settings route resource logs to Log Analytics/storage/Event Hubs (often enforced with DeployIfNotExists policies).

Security services

  • Microsoft Defender for Cloud — posture management and workload protection (≈ Security Hub + GuardDuty + Inspector), including Defender for Containers.
  • Key Vault — secrets, keys (HSM-backed), certificates; RBAC or access policies; soft delete and purge protection.
  • Microsoft Sentinel — SIEM.
  • Azure DDoS Protection, WAF on Front Door/Application Gateway.