Non-FictionStrategic AtlasCloud Pricing
Cloud Service Pricing Guide eBook
Compare compute, storage, and data transfer costs
Compare compute, storage, and data transfer costs across AWS, Azure, and Google Cloud Platform.
Formats
Free sample
Chapter 1: The Invoice Autopsy--The first time you open a cloud bill expecting a modest monthly expense and find a number with six digits and a negative sign in front of it, something happens to your nervous system that no engineering textbook prepares you for. Your palms sweat. You refresh the page, certain it is a glitch. You call your colleagues into the room. Someone whispers, “Did we leave a test environment running?” And then the slow, terrible realization sets in: you have no idea what most of the line items even mean.This chapter is called The Invoice Autopsy because that is exactly what we are going to do.
We are going to take a cloud bill—your cloud bill, or a realistic facsimile of one—and we are going to cut it open on the table. We will identify every organ, every artery, every quiet little leak that drained your budget while you were busy building features that actually matter to your customers. By the end of this chapter, you will never look at a cloud invoice the same way again. More importantly, you will know exactly where to start fixing it.The Three-Bucket Rule Every cloud bill from every provider—AWS, Azure, Google Cloud Platform, and even the smaller players—can be reduced to exactly three fundamental cost buckets. I call this the Three-Bucket Rule, and it is the single most important mental model you will take from this book.Bucket One: Compute.
This is the cost of running code. Every time a virtual machine turns on, every time a container schedules a pod, every time a serverless function executes, you are paying for compute. The unit of measurement varies: v CPU-hours, GB-seconds, or milliseconds of execution time. But the principle is universal. Compute is usually the largest bucket, often fifty to seventy percent of a typical production bill.Bucket Two: Storage.
This is the cost of keeping data around. Every gigabyte sitting on a hard drive or solid-state disk, every backup snapshot, every database row that persists after your application finishes running—that is storage. Unlike compute, storage is charged per GB per month, which means it rewards laziness. The longer you forget about a file, the more you pay.Bucket Three: Network. This is the cost of moving data.
Specifically, data leaving the cloud. Ingress—data coming into your cloud environment—is almost always free. Egress—data going out to the internet, to another region, or to another cloud provider—is where the charges appear. Network is the most dangerous bucket because it scales with success. More users mean more egress.
More egress means higher bills. And unlike compute, you cannot simply turn off egress without turning off your application.Here is the promise of this book: once you understand these three buckets, you have already won half the battle. Every optimization, every discount program, every architectural pattern in the remaining eleven chapters exists to reduce one of these three numbers. Not a single dollar leaves your wallet that does not fall into one of these categories.The Anatomy of a Cloud Invoice Let me walk you through a real invoice. I have anonymized it, but the numbers are true.
A mid-sized e-commerce company running on AWS received a bill for forty-seven thousand dollars in a single month. The CFO called an emergency meeting. The CTO looked pale. The engineering team was certain they had been hacked.They had not been hacked. They had simply lost control of the three buckets.The invoice broke down like this: twenty-nine thousand dollars for compute, twelve thousand for storage, and six thousand for network egress.
Within compute, the majority was EC2 virtual machines—specifically, a fleet of m5.large instances running a Kubernetes cluster. Within storage, most of the cost was not their hot database but their backup snapshots, which had accumulated over eighteen months. Within network, the shock was inter-region transfer: a microservice in us-east-1 talking to a database in eu-west-1, paying per gigabyte for every single request.This company had made three classic mistakes. First, they had chosen on-demand pricing for their compute, paying roughly twice what they would have paid with reservations. Second, they had never set a lifecycle policy on their backups, so old snapshots were piling up like forgotten gym memberships.
Third, they had violated the cardinal rule of cloud networking: keep your services in the same region unless you have a very good reason and a very large budget.By the time we finished the autopsy, they had identified forty-two thousand dollars of avoidable spending. Not all of it could be fixed overnight, but within thirty days, they cut their bill by fifty-two percent. No code changes. No re-architecting. Just better decisions about how they bought and configured the resources they were already using.The Holy Trinity of Pricing Models Before we go any further, you need to understand that cloud providers offer not one pricing model but three.
I call these the Holy Trinity, and choosing the wrong one is the fastest way to double your bill.First model: On-Demand. This is the default. You spin up a resource, and you pay for it by the hour (or by the second, in the case of serverless). On-demand has one advantage and one only: flexibility. You can turn it on and off without commitment.
The price you pay for this flexibility is the highest possible rate. On-demand is for experimentation, for bursty workloads you do not understand yet, and for nothing else. If you are running a production database on on-demand, you are leaving forty to seventy percent of your compute budget on the table.Second model: Spot or Preemptible. This is spare capacity. Cloud providers build enormous data centers to handle peak demand, but most of the time, that capacity sits idle.
They would rather sell it to you for ninety percent off than leave it dark. The catch: they can take it back with very little notice. Thirty seconds on AWS. Two minutes on GCP. Spot instances are for workloads that do not mind being interrupted—batch processing, CI/CD runners, image rendering, data science training jobs.
They are not for databases, not for user-facing APIs, not for anything that cannot restart from a checkpoint. We will spend all of Chapter 5 on this topic, but for now, understand that spot is the closest thing cloud computing has to a secret weapon.Third model: Reserved. You commit to using a resource for one or three years. In exchange, the cloud provider gives you a massive discount, typically forty to seventy percent off on-demand rates. Reserved instances are for the boring, steady, predictable parts of your infrastructure.
Your production database. Your core API servers. The things that run 24/7/365. The art of reservation management is betting on your future usage without over-committing. That art is the subject of Chapter 8.
For now, just remember: if it runs all the time, reserve it.Here is the dirty secret that cloud providers do not advertise: most workloads are predictable. Most companies run the same number of servers at 2 PM on Tuesday as they do at 2 AM on Sunday. They just do not realize it because they…
This is the end of the free sample. Get the eBook to keep going. Buy now
About this book
Details
- Author
- Thatcher Jani
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, Strategic Atlas, Cloud Pricing
- Released
- 2026-05-29
- Pages (approx.)
- 105
- Available as
- eBook, Audiobook
Read better in the ZLOADR app
Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.
More by Thatcher Jani
TikTok to Paycheck GuideThatcher Jani$11.99
MAT Adherence StrategiesThatcher Jani$11.99
AI Cyber Threat Landscape ReviewThatcher Jani$11.99
Swahili Storytelling ArtThatcher Jani$11.99
The Alcohol Freedom Nutrition GuideThatcher Jani$11.99
Inanna and Dumuzi: The Goddess and the Shepherd KingThatcher Jani$11.99
How to Become a ColoristThatcher Jani$11.99
Understanding Porphyria Cutanea TardaThatcher Jani$17.99
HARO National Media StrategyThatcher Jani$12.99
Chief Operating OfficerThatcher Jani$11.99You may also like
Hong Kong Handover 1997Dunn Johnnie$11.99
Zumba For Postnatal Recovery CourseNeal Christian$11.99
Zumba for BeginnersLadner Nikia$11.99
YouTube Comment Mining GuideHumes Pandora$12.99
Worry Box MeditationCarlin Rudy$11.99
Workplace Stress MeditationNguyen Lynn$11.99
Workplace Stress and Sleep RepairHawley Ivory$11.99
Workplace Perfectionism CureDelaney Jeffry$11.99
Workplace Injustice Anger GuideWallen Isabelle$11.99
Work Addiction and Burnout LinkGreenwood Ester$11.99
Women in Yoga and WellnessBeattie Galina$11.99
Women in Stand Up ComedyChun Evangeline$11.99