惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
J
Java Code Geeks
I
InfoQ
V
Visual Studio Blog
M
MIT News - Artificial intelligence
H
Help Net Security
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
A
About on SuperTechFans
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
WordPress大学
WordPress大学

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to Find Wasted Azure Resources in Your Subscription (...
Mustafa · 2026-05-04 · via DEV Community

Mustafa

Azure bills are frustrating because the waste is almost never obvious. It hides in places you forget to check. This post covers the most common sources of wasted Azure spend I've seen across multiple subscriptions — with the exact CLI commands to find them.

Unattached Managed Disks

When you delete a VM in Azure, the disks are not automatically deleted unless you explicitly checked the box at creation time. Most teams don't. The result: dozens of orphaned disks billing you every month for nothing.

Find them:

az disk list --query "[?diskState=='Unattached'].{Name:name, Size:diskSizeGb, SKU:sku.name, RG:resourceGroup}" -o table

Enter fullscreen mode Exit fullscreen mode

A Premium SSD P30 (1 TB) costs around €130/month. A P20 (512 GB) around €65/month. Run this command on a subscription that has been active for 2+ years and the results are usually surprising.

Oversized VMs Running at Low CPU

Pull 14 days of average CPU for all your VMs:

az monitor metrics list \
  --resource /subscriptions/{sub-id}/resourceGroups/{rg}/providers/Microsoft.Compute/virtualMachines/{vm-name} \
  --metric "Percentage CPU" \
  --interval PT1H \
  --aggregation Average \
  --start-time 2026-04-17T00:00:00Z \
  --end-time 2026-05-01T00:00:00Z \
  --output table

Enter fullscreen mode Exit fullscreen mode

Any VM averaging under 10% CPU with peaks under 40% is a strong candidate for downsizing. A D8s_v3 → D4s_v3 saves ~50% of that VM's cost with no performance impact for low-utilisation workloads.

Unused Public IP Addresses

Static IPs are €3–5/month each. Subscriptions accumulate them.

az network public-ip list --query "[?ipConfiguration==null].{Name:name, RG:resourceGroup, SKU:sku.name}" -o table

Enter fullscreen mode Exit fullscreen mode

Dev/Test VMs Without Auto-Shutdown

Any VM that runs overnight and on weekends when nobody uses it is burning ~65–70% of its cost for nothing. Enable auto-shutdown:

az vm auto-shutdown -g {resource-group} -n {vm-name} --time 1900

Enter fullscreen mode Exit fullscreen mode

Set the time in UTC. This single command can cut a dev VM's monthly cost by more than half.

Storage Accounts Still in Hot Tier

Old backups, log archives, and export files sitting in Hot tier cost 3–9x more than they should.

az storage account list --query "[].{Name:name, Kind:kind, AccessTier:accessTier, RG:resourceGroup}" -o table

Enter fullscreen mode Exit fullscreen mode

Check each storage account's actual access patterns in Azure Monitor. Anything accessed less than once a month belongs in Cool or Archive tier.


I built Prunr to automate all of this — it runs scanners across your Azure subscription and surfaces the specific resources wasting money with savings estimates, in about 30 seconds. Free tier available. But the CLI commands above will get you started without any tooling.

What waste patterns have you found in Azure subscriptions? Curious what others are seeing.