Skip to content

README

Loading...

Live system. This version passed every check before it shipped.

Blog

Steven StoutBlogOct 26, 2026 · 3 min read

$25 a day for an Azure file share?

A cloud file share bills you for looking, not for storing: the four-day, $25-a-day spike, why the card missed it, and what changed.

Title slide: $25 a day for an Azure file share? A cloud file share bills you for looking, not for storing.

01The full post

Steven Stout

Staff .NET Engineer | AI-Assisted Development with Quality Gates | 12 Years Full Stack .NET, 7 Fully Remote

· first posted on LinkedIn · 3 min read

𝗔 𝗰𝗹𝗼𝘂𝗱 𝗳𝗶𝗹𝗲 𝘀𝗵𝗮𝗿𝗲 𝗯𝗶𝗹𝗹𝘀 𝘆𝗼𝘂 𝗳𝗼𝗿 𝗹𝗼𝗼𝗸𝗶𝗻𝗴, 𝗻𝗼𝘁 𝗳𝗼𝗿 𝘀𝘁𝗼𝗿𝗶𝗻𝗴.

Last week my Azure bill went from $1.32 a day to $24.99 a day in four days. The chart on slide two is the real one, off my own Admin tab.

Nothing grew. The share held the same gigabytes the whole time. What changed was how many times something looked at it.

𝟭. 𝗪𝗵𝗮𝘁 𝗵𝗮𝗽𝗽𝗲𝗻𝗲𝗱
I had moved a working folder into an Azure Files share so an Azure Function could run my job hunt without my laptop. The share was on the Hot tier, which bills every request: every time anything lists a folder, checks a file's details or writes to it.

Then the laptop that mounted it kept looking. A sync task walked the whole folder. The mounted drive's folder listings expired every 30 seconds. My editor watched the mounted folder for changes. Over four days that came to 50 million requests, 88 percent of them checks of a file's details.

𝟮. 𝗪𝗵𝘆 𝗜 𝗺𝗶𝘀𝘀𝗲𝗱 𝗶𝘁 𝗳𝗼𝗿 𝗳𝗼𝘂𝗿 𝗱𝗮𝘆𝘀
My cost card showed a forecast, and the forecast was built from Azure's own projection, which runs two days behind. The day rows had the answer on day one. Nobody read the rows. I found out from a $735 a month projection on my phone.

𝟯. 𝗪𝗵𝗮𝘁 𝗰𝗵𝗮𝗻𝗴𝗲𝗱
→ Stopped the looking. The sync job that re-read the whole folder is gone. The drive now remembers a folder listing for an hour instead of 30 seconds, so it asks the cloud once instead of 120 times. My editor no longer watches that folder.
→ Changed the price plan. Azure Files has three tiers: Hot charges little to store and a lot per request, and Transaction optimized is the reverse. My folder is small and touched constantly, so the cheaper-per-request tier wins.
→ Fixed the forecast. It used to repeat Azure's own projection, which runs two days behind. Now it takes what has been spent and adds the rest of the month at yesterday's rate, so a bad day shows the next morning.
→ Put an alarm on the meter. Azure emails me if the share gets over 20,000 requests in an hour, about three times a quiet hour, and again when the month passes 80 percent of a $50 budget.
→ Gave the share its own card. My site's Admin page shows the share's requests this hour against the alarm line, and who is making them, so a walker shows up while it is still walking.
→ Changed the review habit. Every look at the bill reads the day-by-day rows before any summary; a day over twice the usual gets flagged.

The day after the fix the row read $2.00. The day after that, $1.71.

𝗥𝗲𝗺𝗲𝗺𝗯𝗲𝗿:
→ Storage is cheap. Looking is not.
→ A forecast is a summary. The rows are the truth.
→ The fix for a surprise bill is an alert on the meter, not a better guess.

The full postmortem, with a source on every number, is on my site. Links in my first comment.

What is the meter on your bill that nobody is watching?

Save this for the next time a "cheap" resource surprises you.

The slides (7)

13 reads on TheYard0 this week

Steven Stout

Steven Stout

Staff .NET engineer · Remote

I have spent twelve years building full stack software in C#, SQL Server, React and Azure.

About StevenCheck my work

02What has to work, where is it today, and what does success look like?

Book 20 minutes opens an email to me with those three questions in it, and I answer with a time.

Book 20 minutes

Your email app should have opened with this message. If it did not, copy it and send it from any mailbox.

Or message me on LinkedIn