Skip to content
Byte Yatra Blogs

How to read a cloud bill

Three lines usually explain most of the cost. Here is how to find them, and what to do next

Byte Yatra Team

2 min read ·

The first cloud bill that surprises you is a rite of passage. It arrives as a long PDF with hundreds of lines, and nothing in it says “this is the part you forgot to turn off”. The good news: almost every bill follows the same shape, and you can read it in ten minutes once you know where to look.

Start with the top three

Sort the bill by service and look only at the three biggest lines. On most bills they are compute, storage and data transfer, and together they cover 70 to 90 percent of the total.

LineWhat it usually isFirst question to ask
ComputeServers, containers, functionsIs anything running that nobody uses?
StorageDisks, snapshots, object storageHow old is the oldest snapshot?
Data transferTraffic out to the internet or between regionsIs something downloading the same file over and over?

Everything below those three is usually noise until the big three are under control.

Look for idle resources

Servers that run all night for an app that is only used in the daytime are the most common waste. So are test environments that were created for one demo and never deleted.

A quick check:

  • List every server with its average CPU over the last two weeks.
  • Anything under 5 percent is a candidate to shrink, schedule or delete.
  • Ask the owner before you touch it. Write the answer down.

The cheapest server is the one you turned off on Friday evening.

Snapshots pile up quietly

Disk snapshots are cheap one at a time and expensive in bulk. Backup tools often keep every daily snapshot forever unless you tell them otherwise. Set a retention rule, for example keep 7 daily, 4 weekly and 12 monthly, and the storage line usually drops within a month.

Data transfer is the sneaky one

Moving data into the cloud is usually free. Moving it out, or between regions, is not. Common causes of a big transfer line:

  1. Images and videos served straight from storage without a CDN in front.
  2. A database in one region and the app in another.
  3. Logs shipped to an outside service at full detail.
# Which buckets serve the most traffic? (example for an S3-style CLI)
cloud storage stats --metric bytes-out --period 30d --sort desc | head

Make it a habit

Put the bill on the calendar: fifteen minutes on the first Monday of each month. Compare the top three lines with last month. If one jumped, find out why while it is still fresh.

A cost dashboard helps, but the habit matters more than the tool. Teams that look every month rarely get the scary bill; teams that look once a year always do.

Responses

Loading responses