100k Blobs a Day and the Retention Rule Azure Doesn't Have
How a "should we just move this to SQL?" question turned into a lesson about where cloud costs actually hide. It started with a Slack message about decommissioning a web app. "How much storage is that? Curious what the pros and cons are of storing in blob vs Azure SQL?" I thought I'd answer it in five minutes. I was wrong in three separate ways, and each one taught me something. Wrong #1: "Storage is basically free" My first answer was the one everyone gives: blob storage is ~$0.02/GB/month, the data is small, cost is a rounding error. Move it to SQL, kill the web app, save the hosting bill. Then I actually looked at the write rate: ~100,000 blobs per day , one per availability check, around 20 KB each, never deleted. That changes everything: 2 GB/day → ~60 GB/month → ~730 GB/year, growing forever. Blob storage also charges per write transaction . 3 million writes/month is another $15–20, every month, regardless of retention. After one y...