aws
356 articles on aws — what drives the cost, how it is priced, and where the savings actually are.
Containers vs serverless: the cost crossover at 2-3M requests/day
Lambda wins for sporadic and event-driven workloads. Containers win for steady high-volume traffic. The crossover is around 2-3M requests/day for typical APIs. Here's the math, the workload archetypes, and a decision framework.
EBS gp3 vs io2: when each makes sense
For 95% of production workloads, gp3 is the right choice (cheaper, performant enough). Use io2 only for over 16K IOPS sustained, 99.999% durability, or Multi-Attach. Here's the pricing math and the migration playbook.
m5 vs m6i vs m7i: cost and price-performance compared
Hourly rates, performance per dollar, and migration paths for AWS general-purpose EC2 families. When to migrate to m7i, when to skip straight to Graviton m7g, and when older families still make sense.
Estimating AWS Lambda costs from Terraform
Lambda is the most mis-estimated AWS service. Here's why cost tools show $0 by default, what data to feed them for accurate numbers, and the four optimization levers that actually move the bill.
S3 request fees explained: when they matter more than storage
PUT is $0.005/1K. GET is $0.0004/1K. For high-frequency small-object workloads, request fees can exceed storage fees by 100x. Here's the full request pricing matrix across all storage classes, when fees dominate, and the architectural patterns that keep them low.
Right-sizing EC2 instances: the 20/50 rule and full process
Right-sizing cuts steady-state EC2 spend 20-40% in one pass. The 20/50 rule (average under 20%, peak under 50%) finds candidates. Here's the full pipeline: gather metrics, decide size, validate against periodic peaks, deploy in waves with monitoring.
CloudWatch Logs cost optimization: cutting the $0.50/GB bill
Ingestion at $0.50/GB dominates CloudWatch Logs bills. Source-side filtering, structured logging, IA tier, and S3 migration for high-volume groups typically cut the bill 50-80%. Here's the full breakdown and migration playbook.
AWS Free Tier explained: what's free in 2026
Three categories of AWS Free Tier (12-months-free, always-free, trial offers) with the actual limits for each service. What stays free forever, what expires, what surprises new accounts.
DynamoDB on-demand vs provisioned: which mode to choose
On-demand bills per request, provisioned bills per capacity-hour. The break-even is around 25% utilization. Here's the actual math, the decision framework, and how to set up auto-scaling and Reserved Capacity for the lowest steady-state cost.
RDS vs Aurora: cost decision framework
RDS is cheaper per instance hour; Aurora has more efficient storage and built-in replicas. Here's when each one wins, including Aurora I/O Optimized, Aurora Serverless v2, and Reserved Capacity options.
AWS Lambda cold starts: cost vs latency trade-off
Cold starts are mostly a latency problem, not a cost problem (except for Java). Here's when they matter, what each runtime's typical cold start looks like, and when Provisioned Concurrency or SnapStart pay for themselves.
S3 storage class comparison: when each tier wins
Six S3 storage classes spanning 99x in per-GB price. Here's when Standard, Intelligent-Tiering, Standard-IA, One Zone-IA, Glacier Instant Retrieval, Glacier Flexible Retrieval, and Deep Archive each make sense, with lifecycle policy patterns.
AWS data transfer costs explained
The most opaque part of the AWS bill, broken down. Internet egress, cross-region, cross-AZ, NAT processing, CloudFront, VPC endpoints. The five biggest cost surprises and how to fix them.
EKS vs ECS: total cost comparison
The honest cost comparison between EKS and ECS, including control plane fees, Fargate vs EC2 trade-offs, and when each platform makes financial sense. With concrete numbers from a 10-service production fleet.
Reserved Instances vs Savings Plans: which to buy
Compute Savings Plans, EC2 Instance Savings Plans, Standard and Convertible Reserved Instances. The actual discount math, what each one covers, and a decision framework for which commitment to buy.
AWS Spot instances: when do they actually save money?
Spot instances offer 50-90% discounts but can be reclaimed with 2 minutes notice. Here's when they're worth it, how to handle interruptions gracefully, and how to combine Spot with Savings Plans for the lowest total cost.
CloudFormation cost estimation: the missing piece
How to estimate the monthly cost of a CloudFormation template before deploying. SAM templates, CDK output, nested stacks, and the patterns that work for migrating an existing CloudFormation workflow.
AWS NAT Gateway costs: 3 alternatives that actually save money
NAT Gateway is the second-most-expensive AWS resource for many production workloads. Here's how to cut its cost by 60-90% using free VPC Gateway Endpoints, paid Interface Endpoints, and NAT instances.
How to estimate AWS costs from Terraform before deploying
From a single CLI command to PR comments in CI that block over-budget merges, this is the practical guide to Terraform cost estimation. No AWS credentials, no terraform plan, no SaaS account.
When gp2 to gp3 actually saves money (and when it doesn't)
gp3 is 20% cheaper than gp2 with better baseline performance. The migration is in-place with no downtime. Here's exactly when it saves money, when it doesn't, and how to migrate safely at scale.