cost estimation
41 articles on cost estimation — what drives the cost, how it is priced, and where the savings actually are.
How much does it cost to run a SaaS app with 1,000 users?
A small B2B SaaS with 1,000 users, a managed database, a cache, and a CDN lands around 195 dollars a month on AWS. Here is the full component-by-component breakdown, the assumptions behind it, and where the money actually goes.
How much does it cost to run a SaaS app with 100,000 users?
A multi-tenant SaaS at 100,000 users, 250 million API requests a month and a 2 TB database costs roughly 6,540 dollars a month on AWS. Here is the full breakdown, and why observability turns out to cost more than the application tier.
How much does it cost to run an e-commerce store on AWS?
An e-commerce store doing 500,000 monthly visits and 25,000 orders costs about 2,190 dollars a month on AWS, which is 9 cents of infrastructure per order. Here is the full breakdown, including why the CDN is a third of the bill.
How much does it cost to run a video streaming service?
A streaming service with a 10,000 hour library and a million viewing hours a month costs about 33,680 dollars on AWS, and 89 percent of that is CDN egress. Here is the breakdown, and why bitrate is the only number that really matters.
How much does it cost to run a mobile app backend?
A serverless backend for a mobile app with 250,000 monthly active users costs about 1,558 dollars a month, and managed authentication is 71 percent of it. Here is the breakdown and the one line worth challenging.
How much does it cost to run a real-time chat app?
A chat app with 10,000 concurrent WebSocket connections and 20 million messages a month costs about 977 dollars on AWS. Here is the breakdown, plus where managed WebSockets stop being cheaper than running your own.
How much does it cost to run an IoT fleet of 100,000 devices?
A fleet of 100,000 devices reporting telemetry every five minutes costs about 1,886 dollars a month on AWS, or 1.9 cents per device. Here is the breakdown, and why message batching is worth more than every other optimization combined.
How much does it cost to run a multiplayer game backend?
A multiplayer game with 200,000 monthly players and 3,000 concurrent at peak costs about 8,325 dollars a month on AWS. Here is the breakdown, including why patch downloads cost more than the game servers.
How much does it cost to run WordPress at scale on AWS?
A WordPress site doing 2 million page views a month costs about 825 dollars on AWS, and full-page caching cuts that to around 650. Here is the component breakdown and why the database is the fragile part.
How much does it cost to run a CI/CD build farm?
A build farm running 36,000 jobs a month for 120 engineers costs about 1,165 dollars on self-hosted Spot instances, against 2,304 dollars on hosted runners. Here is the breakdown and where the crossover actually sits.
How much does it cost to run an internal developer platform?
An internal developer platform serving 150 engineers across three Kubernetes clusters costs about 3,069 dollars a month, or 20 dollars per engineer. Here is the breakdown and which lines grow with headcount.
How much does it cost to run a data pipeline processing 1 TB a day?
A streaming and batch pipeline ingesting 1 TB a day costs about 5,721 dollars a month on AWS, which is 19 cents per gigabyte. Here is the breakdown, and why the transform step is the cheapest part of it.
How much does it cost to run a search backend?
A search backend over 20 million documents serving 5 million queries a month costs about 946 dollars on a managed cluster, or 269 dollars self-managed. Here is the breakdown and where the extra 677 dollars actually goes.
How much does it cost to run a notification service?
A notification service sending 5 million emails, 2 million pushes, and 200,000 SMS a month costs about 2,543 dollars, and SMS is 69 percent of it for 2.6 percent of the volume. Here is the breakdown.
How much does it cost to run a file sharing service?
A file sharing service holding 80 TB for 50,000 users with 20 TB of monthly downloads costs about 4,006 dollars on AWS. Here is the breakdown and why tiering storage matters more than anything else.
How much does it cost to run a webhook processing service?
A service receiving 30 million webhooks a month, processing them with retries, and archiving payloads costs about 506 dollars on AWS. Here is the breakdown, including the 150 dollar mistake almost everyone makes.
How much does it cost to run a self-hosted headless CMS?
A self-hosted headless CMS with 8,000 entries, 25 editors, and 30 million API requests costs about 1,025 dollars a month on AWS, or 41 dollars per editor seat. Here is the breakdown against the hosted alternative.
How much does it cost to run a REST API at 1 million requests a day?
A REST API handling 30 million requests a month costs 267 dollars a month serverless or 579 dollars on containers. Here is the full breakdown of both, and where the crossover actually sits.
CircleCI Terraform cost estimation: a cost job on every PR
Add a CircleCI job that runs after terraform plan, prices the plan JSON, and comments the monthly cost on the pull request, failing the build past a budget. Here is how it fits a config.yml workflow and keeps pipelines fast.
Spacelift Terraform cost estimation: cost in the run, gated by policy
Spacelift runs Terraform with policy-as-code and lifecycle hooks, so you can price the plan in a hook and block the run with an OPA policy when it exceeds a budget. Here is how cost estimation fits a Spacelift stack.
env0 Terraform cost estimation: cost checks in your environments
env0 manages Terraform environments with approval workflows and policies, so you can price the plan and gate deployments on a budget. Here is how cost estimation fits an env0 template and its policy-as-code guardrails.
Jenkins Terraform cost estimation: cost checks in your pipeline
Add a stage after terraform plan that prices the plan JSON and reports the monthly cost, with a budget gate that fails the build. Here's the Jenkinsfile, the plan-JSON input, and how it fits declarative pipelines.
Bitbucket Pipelines Terraform cost estimation on every PR
Add a step after terraform plan that prices the plan and comments the monthly cost on the pull request, with a budget gate that fails the pipeline. Here's the bitbucket-pipelines.yml and how it fits.
AWS CDK cost estimation: price the synthesized CloudFormation
CDK synthesizes to CloudFormation, so you estimate cost from the synth output, run cdk synth, then price the templates in cdk.out. Here's how to get a cost per stack before cdk deploy, locally and in CI.