Cut your AWS bill without re-architecting: eight ordered steps from anomaly alerts and tagging to rightsizing, VPC endpoints, Savings Plans and Spot.
Consider a Mumbai fintech spending $28,000 a month on AWS. A two-week audit finds dev instances running 24/7 at 4% CPU, S3 traffic flowing through a NAT Gateway instead of a free VPC endpoint, and no Savings Plans after 14 months of stable workload. Three fixes take the bill to about $16,000, with no application changes.
AWS waste is usually a pile of small configuration decisions nobody revisited. The eight actions below are ordered so each one makes the next cheaper or safer. Figures are illustrative, and prices are us-east-1 list prices unless noted, so confirm yours in the AWS Pricing Calculator.
Work from visibility to waste removal to commitments. Alerts and tags come first because you cannot fix what you cannot see. Commitments come last because removing waste shrinks your baseline, and you never want to commit to capacity you are about to delete.
Create a monitor scoped to every AWS service and subscribe a shared inbox. Anomaly Detection learns your normal spend and flags unusual per-service jumps, typically within a day, instead of at month-end invoice review. It is free to use, so enable it before anything else.
aws ce create-anomaly-monitor \ --anomaly-monitor \ 'MonitorName=all,MonitorType=DIMENSIONAL,MonitorDimension=SERVICE'Then create a subscription with daily email frequency and an absolute impact threshold of about $20. A forgotten GPU instance, a misconfigured replication rule or a runaway Lambda surfaces the next day. Use a shared alias, not one person's mailbox.
Standardise a few required tags, enforce them automatically, and activate them for billing. Without tags Cost Explorer tells you what you spend. With tags it tells you who spends it, which is what changes behaviour.
| Tag key | Example value | Purpose |
|---|---|---|
| Environment | prod, staging, dev | Split production from the rest |
| Team | backend, data | Charge cost to the owner |
| Project | payments-v2 | Track project-level spend |
Enforce the keys with the AWS Config managed rule required-tags or an AWS Organizations tag policy. Then activate them, which most teams forget:
aws ce update-cost-allocation-tags-status \ --cost-allocation-tags-status \ TagKey=Team,Status=Active TagKey=Environment,Status=ActiveActivation is not retroactive and data can take up to 24 hours to appear, so do this on day one. Send each team a monthly cost report. When the backend team sees $3,400 of dev spend, they start scheduling instances.
List instances flagged as over-provisioned, then move them to a smaller or newer family. AWS Compute Optimizer and Cost Explorer both analyse recent utilisation (14 days by default) and recommend a specific target type.
aws compute-optimizer get-ec2-instance-recommendations \ --filters Name=Finding,Values=OverprovisionedA typical result looks like this:
Current: m5.2xlarge ~$280/month On-Demand Actual CPU: 8% average, 22% peak Suggested: t3.large ~$61/month On-Demand Saving: ~$219/month on this one instanceMemory is not visible to AWS by default. Install the CloudWatch agent so recommendations account for it:
## Amazon Linux 2023sudo dnf install -y amazon-cloudwatch-agentAlso consider Graviton (m7g, t4g) for roughly 20% lower price at similar performance, if your software runs on arm64, and move gp2 volumes to gp3. Twenty instances saving $80 each is $1,600 a month before any commitment.
Create Gateway VPC Endpoints for S3 and DynamoDB. They are free, take effect as soon as the route is added, and remove the per-GB NAT processing charge for that traffic. NAT Gateway bills about $0.045 per GB processed in us-east-1, plus an hourly charge.
First confirm NAT is actually your problem:
aws ce get-cost-and-usage \ --time-period Start=2026-09-01,End=2026-10-01 \ --granularity MONTHLY \ --metrics UnblendedCost \ --group-by Type=DIMENSION,Key=USAGE_TYPELook for usage types containing NatGateway-Bytes. Then add the endpoints:
aws ec2 create-vpc-endpoint \ --vpc-id vpc-0abc1234 \ --vpc-endpoint-type Gateway \ --service-name com.amazonaws.ap-south-1.s3 \ --route-table-ids rtb-0aaa1111 rtb-0bbb2222 aws ec2 create-vpc-endpoint \ --vpc-id vpc-0abc1234 \ --vpc-endpoint-type Gateway \ --service-name com.amazonaws.ap-south-1.dynamodb \ --route-table-ids rtb-0aaa1111 rtb-0bbb2222For 15 TB a month of S3 traffic from private subnets:
Via NAT: 15,000 GB x $0.045 = $675/month Via endpoint: $0/month Annual saving: about $8,100Gateway endpoints cover same-region S3 and DynamoDB only. Interface endpoints for other services do cost money, so price them before rolling out.
Stop non-production instances outside working hours with AWS Instance Scheduler or EventBridge Scheduler. A dev box used 14 hours on weekdays is idle for about 57% of the month, and a stopped instance stops billing for compute.
Deploy Instance Scheduler from the AWS Solutions Library as one CloudFormation stack, set the default timezone to Asia/Kolkata, define a schedule named india-business-hours, and tag instances with it:
aws ec2 create-tags \ --resources i-0abc123def456 \ --tags Key=Schedule,Value=india-business-hours Always on: 20 instances x $0.10/hr x 720 hrs = $1,440/month Scheduled: 20 x $0.10 x 308 hrs (14 hrs x 22 days) = $616/month Saving: about $824/monthEBS volumes still bill while an instance is stopped, so the saving applies to compute only. The same pattern works for RDS dev databases.
Add a lifecycle rule that transitions data as it ages and expires it when it is no longer needed. S3 Standard costs about $0.023 per GB-month, Standard-IA about $0.0125 and Glacier Flexible Retrieval about $0.0036.
resource "aws_s3_bucket_lifecycle_configuration" "logs" { bucket = aws_s3_bucket.logs.id rule { id = "age-out-logs" status = "Enabled" filter {} transition { days = 30 storage_class = "STANDARD_IA" } transition { days = 90 storage_class = "GLACIER" } expiration { days = 365 } abort_incomplete_multipart_upload { days_after_initiation = 7 } }}For 50 TB of logs held for a year, a steady state has about 8% in Standard, 16% in Standard-IA and 75% in Glacier:
All Standard: 50,000 GB x $0.023 = $1,150/month With lifecycle: about $333/month Saving: about $817/monthWatch the traps. Standard-IA bills a 128 KB minimum per object, Standard-IA and Glacier have minimum storage durations (30 and 90 days), and Glacier retrievals cost money. For data with unpredictable access, S3 Intelligent-Tiering avoids guessing.
Commit to your steady hourly floor after steps 3 to 6, not to peak usage. Compute Savings Plans discount EC2, Fargate and Lambda usage across instance families, sizes and regions, and any usage above the commitment simply bills On-Demand.
Check current coverage, then ask for a recommendation based on cleaned-up usage:
aws ce get-savings-plans-coverage \ --time-period Start=2026-09-01,End=2026-10-01 \ --granularity MONTHLY aws ce get-savings-plans-purchase-recommendation \ --savings-plans-type COMPUTE_SP \ --term-in-years ONE_YEAR \ --payment-option NO_UPFRONT \ --lookback-period-in-days THIRTY_DAYSStart with a one-year, no-upfront plan covering about 80% of your floor, and add more later. A recommendation of $8.50 per hour that saves roughly 38% on covered usage is typical. Treat the recommendation as a starting point, because it reflects past usage, including the waste you just removed.
Use Spot for interruption-tolerant work such as batch jobs, ETL, CI build agents and stateless workers. Spot offers savings of up to 90%, but AWS can reclaim capacity with a 2-minute notice, so stateful production services are a poor fit.
Diversify widely. Give the Auto Scaling group or EC2 Fleet many instance types and zones, and choose the price-capacity-optimized allocation strategy, which AWS recommends over pure lowest-price. Then watch for the interruption notice from instance metadata:
TOKEN=$(curl -s -X PUT http://169.254.169.254/latest/api/token \ -H "X-aws-ec2-metadata-token-ttl-seconds: 60")curl -s -H "X-aws-ec2-metadata-token: $TOKEN" \ http://169.254.169.254/latest/meta-data/spot/instance-actionA 404 means no interruption is pending. A JSON body means you have about two minutes to checkpoint to S3 or return work to the queue.
| Action | Effort | Typical effect |
|---|---|---|
| Anomaly Detection | Very low | Prevents surprises |
| Tag and report | Low | Enables accountability |
| Rightsize EC2 | Medium | Often 30-70% per instance |
| Gateway endpoints | Very low | Removes NAT S3 fees |
| Dev schedules | Low | About 55-60% of dev compute |
| S3 lifecycle | Low | 40-70% on cold data |
| Savings Plans | Low | Up to 66% on covered compute |
| Spot for batch | Medium | Up to 90% on batch |
Savings Plans give flexibility, while Reserved Instances can give a deeper discount for a fixed instance family but need manual management. For most teams, Compute Savings Plans are the simpler default.
Environment, Team and Project tags, and aim for over 95% of spend tagged.References and Further Reading
- AWS Cost Explorer - Spend analysis and rightsizing recommendations
- AWS Compute Optimizer - Utilisation-based resource recommendations
- Instance Scheduler on AWS - Automated start and stop
- AWS Pricing Calculator - Verify current regional prices
After both. A commitment is a fixed dollar amount per hour for one or three years, so buying it against oversized or always-on dev capacity locks in a discount on waste. Rightsize and schedule first, then size the plan against the lower steady baseline.
Tags must be activated as cost allocation tags in the Billing console, activation is not retroactive, and data can take up to 24 hours to appear. Activate the keys early, because spend before activation stays unattributed.
NAT Gateway bills a data processing fee per GB (about $0.045 in us-east-1) on top of hourly charges, even for S3 and DynamoDB calls that never needed the internet. A free Gateway VPC Endpoint adds a route to the private route tables, needs no application change and takes effect immediately.
Commit to your steady hourly floor, roughly 80% of baseline usage after cleanup, not your peak. Usage above the commitment bills at On-Demand rates, so under-committing costs a little flexibility while over-committing pays for unused hours.
Diversify across many instance types and zones with the price-capacity-optimized allocation strategy, poll the instance metadata for the 2-minute interruption notice, and checkpoint work to S3 or a queue so a reclaimed node costs minutes, not a rerun.
Discussion0