Pcornel
Cloud · Microsoft Azure

Azure Compute

Cheat sheet · https://pcornel.dk/topic.php?topic=6295

Back to the Topic

Answer

Azure Compute covers IaaS virtual machines and scale sets and the PaaS and serverless platforms (App Service, Functions, Container Apps, AKS) that run code without you managing VMs.

Remember

A stopped VM still costs money until it is deallocated. Use availability zones (or availability sets) and at least two instances for HA. When a VM is unreachable, use boot diagnostics, serial console and run command instead of guessing. App Service and Functions scale through their plan.

First checks

  • az vm list -d -o table — VMs with power state and IPs.
  • az vm get-instance-view -g <rg> -n <vm> — power state, provisioning, agent and extension status.
  • az vm boot-diagnostics get-boot-log -g <rg> -n <vm> — serial log.
  • az webapp show -g <rg> -n <app> --query state / az functionapp list -o table.

Verify in this order

image + size + disks + NIC → VM in zone/availability set → VM agent and extensions → guest OS → application; PaaS: plan → app instances → deployment slots

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6295

Confirmation

Confirm action

Continue?