DEPLOY · EXPLORE · LEARN

Your hands-on lab for Azure observability.

Deploy a connected Azure Monitor environment, explore its architecture, and experiment with monitoring, troubleshooting, and response—from core workloads to optional AI and Fabric integrations.

Explore this site without Azure credentials. Deployment runs separately in your own Azure subscription.

START HERE / DEPLOY TO AZURE

Three ways to make it your lab.

Choose the portal, a scripted deployment, or a progressive workshop. Commands run in PowerShell 7, not in this guide.

Full deployment guide ↗ (opens in a new tab)
Before you deploy

These paths create billable Azure resources. Check subscription/tenant permissions, regional availability, quotas and tool prerequisites in the linked guides. Keep credentials in your private local config, never in this page. Optional stages are opt-in and can add costs.

Review costs and cleanup ↗ (opens in a new tab)

Deploy through the Azure portal

Check the regional Network Watcher first, then choose your subscription, resource group, region, alert email and VM password in the wizard.

Deploy to Azure(opens in a new tab)
Cloud Shell preparation & completion

Use PowerShell in Cloud Shell. Run preparation only if Network Watcher is missing. After the wizard succeeds, run completion with the same tenant, subscription, resource group and prefix.

1. Prepare missing Network Watcher

git clone --branch main https://github.com/Azure-Samples/azure-monitor-lab.git
cd azure-monitor-lab
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
$tenantId = Read-Host 'Tenant ID'
$subscriptionId = Read-Host 'Subscription ID'
$resourceGroup = Read-Host 'Resource group name'
$location = Read-Host 'Azure region (for example northeurope)'
$namePrefix = Read-Host 'Name prefix (press Enter for amlab)'
if ([string]::IsNullOrWhiteSpace($namePrefix)) { $namePrefix = 'amlab' }
az login --tenant $tenantId --use-device-code --output none
az account set --subscription $subscriptionId
. ./scripts/network-watcher.ps1
Ensure-LabNetworkWatcher -SubscriptionId $subscriptionId -TenantId $tenantId -Location $location -Confirm

2. Complete the portal deployment

$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
if (-not (Test-Path -LiteralPath ./scripts/post-cloud-shell-deploy.ps1)) {
    if (-not (Test-Path -LiteralPath ./azure-monitor-lab)) {
        git clone --branch main https://github.com/Azure-Samples/azure-monitor-lab.git
    }
    Set-Location ./azure-monitor-lab
}
git switch main
git pull --ff-only origin main

$tenantId = Read-Host 'Tenant ID'
$subscriptionId = Read-Host 'Subscription ID'
$resourceGroup = Read-Host 'Resource group name'
$namePrefix = Read-Host 'Name prefix (press Enter for amlab)'
if ([string]::IsNullOrWhiteSpace($namePrefix)) { $namePrefix = 'amlab' }

./scripts/post-cloud-shell-deploy.ps1 -TenantId $tenantId -SubscriptionId $subscriptionId -ResourceGroup $resourceGroup -NamePrefix $namePrefix

Completion is required to publish workloads and finish enabled stages. If AI is enabled, completion starts billable background traffic; keep Cloud Shell open until it finishes, or add -EnableStageAI:$false to skip that traffic. For partial completion, use the recovery guide instead of blindly rerunning setup.

After completion, follow manual scenario setup and partial-completion recovery ↗ (opens in a new tab) for the demos you need. This guide never runs commands or validates live deployments.

COSTS / THE FULL LIFECYCLE

Plan your spend. Finish cleanly.

Estimate before deployment, review actual charges during your workshop, and verify cleanup afterwards.

Full cost analysis ↗ (opens in a new tab)

01 / UNDERSTAND YOUR LAB COSTS

Estimate, then measure.

Your bill combines provisioned services, usage and retained data—not just running VMs.

  • Provisioned resources: compute, App Service plans, Grafana, Event Hubs, registry and networking.
  • Usage: telemetry ingestion, retention, queries, alerts, traffic, model tokens and optional agent investigations.
  • Actual cost analysis: in Azure portal, open Cost Management → Cost analysis, select your subscription, filter to the lab and associated resource groups, and group by service or resource. Include AKS-managed groups and optional tenant-service charges in the full total. Set a budget and alerts.
Historical planning reference

Price-reference date: September 27, 2026. These dated examples are not a current quote. Recalculate for your selected regions, SKUs and usage.

Stages A-E: EUR 6-10/day; optional capabilities with light AI and agent use: EUR 10-25/day, assuming an eligible SRE Agent trial and automatic Observability Agent investigations remain off. These September 2026 estimates are not quotes or spending caps; region, telemetry, traffic, and usage can increase costs. See the cost guide for assumptions and service-specific charges.

Stop is not delete. Use Control Center → Lab Operations → Stop Lab when idle. App Service plans, Grafana, Event Hubs, disks/IPs, retained data and optional fixed allocations can still bill. Log Analytics daily caps are not total-spend caps.

02 / CLEAN UP YOUR LAB

Delete the lab when finished.

Use PowerShell 7 and Azure CLI from the repository checkout for your deployed lab. The commands are copied only—this page never runs cleanup.

Destructive: deletes your lab. Teardown deletes the lab resource group and matching auxiliary groups, including their data. -Yes skips confirmation. Check the intended Azure subscription and resource group before running.

Teardown commands

$rg = "rg-azure-monitor-lab"   # change this to the RG used for your deployment
./scripts/teardown.ps1 -ResourceGroup $rg -Yes   # deletes the whole resource group

Deletion is asynchronous. Teardown prints verification commands; wait for false for every listed group. Errors are not proof of deletion.

  • Shared resources: NetworkWatcherRG is preserved by default. Do not delete it just to remove the lab.
  • Recovery: normal soft-delete recovery remains enabled; names may stay reserved until retention expires. Permanent purge is a separate destructive opt-in.
  • Terraform & Fabric: terraform destroy alone does not remove the deployed lab resources or Fabric workspace items. Review tenant cleanup and ownership-preservation warnings in the teardown output.
Cleanup reference and optional lifecycle steps ↗ (opens in a new tab)

01 / THE SYSTEM

Start with the architecture.

Follow signals from workloads to response. Select a service for its demos, or a setup card for its documentation. The components and connections follow the README architecture diagram (opens in a new tab).

View full diagram ↗ (opens in a new tab)
Azure resource groupCore lab + optional stages · conceptual architecture, not live telemetry
01

Workloads

Where the customer experience begins.

02

Collection & lab operations

Move signals, operate the lab safely.

Azure Monitor Pipeline
Container Registry Digest-pinned runner imageSETUP DOCS Container Apps Job Approved lab operationsSETUP DOCS
03

Telemetry backplane

Store, correlate and query the evidence.

Log Analytics Query Pack Saved application & AI KQLSETUP DOCS
04

Consumption & response

Turn telemetry into decisions.

Microsoft Fabric workspaceOptional · tenant-scoped · outside the Azure resource group · hosted on the F2 capacity above

Read-only OneLake shortcuts expose Azure Monitor Delta data to Fabric. Data stays in Azure Monitor storage; no data copy is created.

Telemetry & responseRead-only mirroring (preview)Approved lab operationHover or focus a card to highlight its connections on desktop.
How the signals connect
  • VMs, VMSS and AKS send signals through AMA and DCRs to central Log Analytics and Managed Prometheus; OpenTelemetry adds VM metrics and distributed traces.
  • Network flow logs reach platform storage. Policy onboards diagnostics; application and GenAI telemetry reaches Application Insights and its separate Log Analytics workspace.
  • Logs feed query packs, Workbooks, alerts, Sentinel, Health Models and Copilot investigations. Prometheus feeds Grafana; alerts connect to Observability Agent, SRE Agent and Logic App response.
  • The Control Center approves lab operations; a digest-pinned image in ACR runs through the independent Container Apps Job.
  • Event Hubs feeds Fabric Eventstream → Eventhouse → Real-Time Dashboard. A separate preview route exposes Azure Monitor Delta data through read-only shortcuts to Eventhouse, without copying it.

02 / THE FIELD GUIDE

Find your next demo.

Browse all numbered scenarios, or open a step-by-step guide for a featured journey.

82 scenarios · one connected lab
Loading scenarios…SELECT A SCENARIO ↓

Loading the guide…