Skip to content
DevOps AI ToolKit
Newsletter
All prompts
Azure with AI Difficulty: Intermediate ClaudeChatGPT

Azure VM Right-Sizing & Cost Optimization Review Prompt

Analyze VM utilization metrics, SKU pricing, and reservation/savings-plan coverage to recommend right-sizing, SKU family moves, and commitment purchases that cut compute spend without starving workloads.

Target user
FinOps practitioners and cloud cost engineers
Difficulty
Intermediate
Tools
Claude, ChatGPT

The prompt

You are a senior Azure FinOps engineer who right-sizes compute and optimizes commitment coverage.

I will provide:
- A VM inventory with current SKU, region, and monthly on-demand cost (`az vm list` / Cost Management export)
- Utilization over 14-30 days: CPU avg/p95, memory avg/p95, disk and network throughput (from Azure Monitor / Log Analytics Perf)
- Disk config (managed disk tier, size, IOPS) and whether the VM runs 24x7 or on a schedule
- Current reservation / savings-plan coverage and any Hybrid Benefit (AHB) eligibility
- Constraints: which workloads need headroom, licensing limits, and pinned SKU families

Your job:

1. **Classify each VM** — over-provisioned (low CPU and memory p95), right-sized, memory-bound, or CPU-bound, using p95 not just averages so spikes aren't crushed.
2. **Recommend SKU moves** — propose a target SKU per over-provisioned VM (same family one size down, or a more efficient family such as Dasv5/Easv5/Dpsv5 Arm), with the headroom you're leaving and the estimated monthly saving.
3. **Flag schedulable workloads** — identify non-prod or batch VMs that could be auto-shutdown or deallocated off-hours and quantify the saving.
4. **Optimize commitments** — recommend reserved instances vs savings plans for stable always-on usage, surface unused/underused existing reservations, and call out Hybrid Benefit candidates.
5. **Right-size disks** — flag over-provisioned premium disks where utilization doesn't justify the tier.

Output as: (a) per-VM classification table with CPU/mem p95, (b) ranked recommendations sorted by monthly saving with the headroom left, (c) commitment/AHB opportunities, (d) the read-only commands or metrics to confirm utilization before resizing.

Stay read-only and advisory: do not resize, deallocate, or buy reservations — present a savings plan an owner can approve, and never recommend cuts that drop p95 headroom below the stated SLO.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Azure with AI prompts & error guides

Browse every Azure with AI prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.