aws
356 articles on aws — what drives the cost, how it is priced, and where the savings actually are.
Pairing functions with a database: the hidden cost of connections
The function is cheap, the database it talks to often is not. Connection limits, proxies, and idle capacity turn a per-request compute model into a per-hour database bill. Here is how to pair them well.
DynamoDB for spiky traffic: capacity mode under bursty load
On-demand looks expensive per request and provisioned looks cheap, until the traffic spikes. Burst shape, not average volume, decides which capacity mode costs less. Here is the arithmetic for bursty workloads.
Scheduled function cost: what a cron job really costs in serverless
A function on a one minute schedule runs 43,200 times a month whether or not there is work to do. Polling schedules are the quietest source of waste in a serverless estate. Here is the arithmetic.
Serverless image processing cost: the pipeline priced end to end
Resizing images in functions looks trivially cheap per image until you count storage, egress, ephemeral disk, and the variants you generate. Here is the full pipeline cost for a real workload.
When serverless stops being cheaper: the scale crossover
Serverless wins decisively at low and medium scale. There is a point where sustained, predictable load makes containers or instances cheaper, and it is more specific than most rules of thumb suggest.
Retry and idempotency cost: paying for the same work twice
Retries are free to configure and expensive to run. Duplicate processing multiplies compute, downstream calls, and side effects. Here is what retry policy really costs and how idempotency changes it.
Event replay cost: what it costs to run history again
Archiving events is cheap. Replaying them runs your entire downstream pipeline a second time at full price. Here is what archives, retention, and a replay actually cost.
Chatty function chains: what waiting costs in serverless
When one function calls another synchronously, you pay for both at once. Chains of waiting functions are the most expensive common anti-pattern in serverless, and they are easy to spot.
Functions in a VPC: what network attachment really costs
Putting a function in a VPC is free in itself. What it pulls in is not: a NAT gateway for outbound access, data processing charges, and the choice between endpoints and gateways. Here is the bill.
SQS FIFO versus standard: what ordering costs per message
FIFO queues cost 25 percent more per request, but the real price difference is throughput, batching behaviour, and the downstream design ordering forces. Here is the full comparison.
PgBouncer vs RDS Proxy: what connection pooling actually costs
A managed proxy bills per vCPU-hour of the database it fronts. A self-hosted pooler bills as a small container. Both let you run a smaller database instance, which is where the real money is. Here is the arithmetic.
Cloud SQL vs RDS for PostgreSQL: a line-by-line cost comparison
Google prices Cloud SQL by vCPU and GB separately; AWS prices RDS by fixed instance shape. That single difference changes which cloud is cheaper for your particular ratio of CPU to memory. Here is the comparison at real prices.
MongoDB Atlas vs self-hosted: the real cost of managing it yourself
Atlas M30 costs about $394 per month. The same three-node replica set on EC2 costs about $230 in instances. The $164 gap is not the whole story, and for most teams it is not even the important part. Here is the full accounting.
Sizing a Redis cache: how much memory you actually need to buy
Most Redis clusters are sized by guess and run at 20 percent memory utilization. Sizing from working set, eviction policy, and replication overhead usually lets you drop two node sizes and save several hundred dollars a month.
Database storage autoscaling: the ratchet nobody budgets for
Storage autoscaling grows your database disk automatically and never shrinks it. A one-off bulk load can leave you paying for terabytes you deleted years ago. Here is how the ratchet works and what it costs.
Manual database snapshot sprawl: the graveyard on your invoice
Manual snapshots never expire. Every pre-migration safety copy taken over five years is still billing. A typical mid-sized account holds hundreds of gigabytes of snapshots nobody could name the purpose of.
Serverless database idle cost: what you pay to do nothing
Serverless databases promise you pay only for what you use, but most of them have a floor. Understanding the minimum capacity charge is the difference between a $5 development database and a $44 one.
Landing zone and account vending: what each new account costs
A landing zone makes new accounts safe and consistent. It also gives every new account a baseline bill before a single workload lands. Multiply a 120 dollar baseline by 80 accounts and the landing zone becomes a major line item. Here is how to size and trim it.
How to cut your AWS bill by 30 percent: the ordered playbook
A 30 percent AWS reduction is achievable on most untouched accounts, and the order of the levers matters more than the list. Delete first, resize second, commit last. Here is the sequenced playbook with expected savings per step.
Weekend and overnight shutdown: how much it actually saves
A week has 168 hours and most non-production workloads need about 45. Turning things off for the rest is the highest ratio saving in cloud. Here is the arithmetic, the implementation, and the resources that keep billing anyway.
The zombie resource hunt: finding what bills but does nothing
Zombie resources are alive on the invoice and dead in production: disks with no instance, clusters with no pods, gateways with no traffic. Here is the hunt playbook, the detection query for each type, and how to delete safely.
The cloud storage cleanup playbook: cutting object and block spend
Storage rarely spikes, it creeps, which is why it is the least audited line on most bills. Here is a five step cleanup covering tier policy, incomplete uploads, versioning, replication, and block storage, with real per GB rates.
Snapshot and backup cleanup: cutting the line that only grows
Backups are the one cost line with no natural ceiling: a daily schedule with no expiry runs forever. Here is how to audit snapshot spend, set retention that satisfies compliance, and cut 50 to 80 percent without losing recoverability.
Migrating to ARM for cost: a staged playbook with real numbers
ARM based instances price 10 to 20 percent below their x86 equivalents and often deliver better price performance than the headline rate suggests. Here is the staged migration playbook, the workloads that port cleanly, and the ones that do not.