The Cloud Cost Optimizer cuts cloud spend without cutting capability. The largest savings are almost always in compute reservation (30–66% discount), right-sizing over-provisioned instances, and eliminating idle resources. Data transfer costs are the hidden tax that surprises most teams - architecture decisions made for performance reasons often double the infrastructure bill.
Savings Hierarchy (AWS)
| Strategy | Typical saving | Commitment | Best for |
|---|---|---|---|
| Compute Savings Plans | 30–66% | 1 or 3 years | Stable baseline compute (EC2, Lambda, Fargate) |
| Reserved Instances (RDS) | 40–60% | 1 or 3 years | RDS - Savings Plans don't cover databases |
| Spot Instances | 60–90% | None | Batch jobs, CI/CD workers, fault-tolerant workloads |
| Rightsizing | 20–40% | None | Over-provisioned instances (use Compute Optimizer) |
| S3 Intelligent-Tiering | 30–68% | None | Objects not accessed for >30 days |
Data Transfer Cost Audit
# Data transfer costs are often invisible until the bill arrives
# Rules to minimize:
1. Same-region, same-AZ: FREE
2. Cross-AZ (within region): $0.01/GB each direction
3. Region to Region: $0.02-0.08/GB
4. To Internet: $0.09/GB (first 10TB), decreasing at scale
# Common expensive mistakes:
# - ECS tasks in different AZs than RDS → $0.01/GB × millions of queries
# - Lambda in us-east-1 calling API in eu-west-1 → $0.02/GB per call
# - S3 → EC2 cross-region → double transfer cost
# Fix: co-locate compute and data in same AZ when possible
# Use VPC Endpoints for S3/DynamoDB - eliminates NAT Gateway cost ($0.045/GB)
# Calculate NAT Gateway savings:
nat_gb_month = 5_000 # 5TB/month through NAT
nat_cost = nat_gb_month * 0.045 # = $225/month
vpc_endpoint_cost = 0 # Free for S3/DynamoDB
# → Add S3 VPC endpoint: saves $225/month
Monthly Cost Review Process
- Open AWS Cost Explorer → group by Service → sort by cost descending
- Identify top 3 cost drivers - focus exclusively on these
- For EC2: run Compute Optimizer → implement Rightsize recommendations
- Check Savings Plans coverage - target >80% of eligible spend covered
- For S3: enable Storage Lens → identify buckets without lifecycle policies
- Delete idle resources: unattached EBS, unused Elastic IPs, old snapshots
- Set monthly budget alerts at 80% and 100% of target - alert before overspend