AWS Builder Center

10 Practical Ways to Cut Your AWS Bill Without Slowing Down Your Team

Almost every AWS account has some waste: instances running at 5% CPU, volumes attached to nothing, data crossing regions for no reason. The good news is that most of it can be found and fixed in an afternoon, without hurting performance or reliability. This guide walks through ten practical optimizations, in roughly the order I’d tackle them. Each one includes what to look for and how to check it. Prices and discount levels change over time, so

Step 0: Get visibility first

You can’t cut what you can’t see. Before changing anything, set up three things:
  1. Cost Explorer: Group spend by service, then by usage type. Two or three services usually account for most of the bill, so start there.
  1. Cost allocation tags: Tag resources with  team ,  environment , and  project , then activate those tags in the Billing console. Untagged spend is unowned spend.
  1. AWS Budgets with alerts: Create a monthly budget and an alert at, say, 80% of forecast. Add a Cost Anomaly Detection monitor so unexpected spikes email you within a day instead of at month end.
bash
# Spend by service for the last full month (adjust dates)
aws ce get-cost-and-usage \
--time-period Start=2026-10-01,End=2026-11-01 \
--granularity MONTHLY \
--metrics UnblendedCost \
--group-by Type=DIMENSION,Key=SERVICE

1. Right-size your compute

Over-provisioned EC2 instances are the most common source of waste. Teams pick a large size “to be safe” and never revisit it.
  • Turn on AWS Compute Optimizer. It analyzes CloudWatch metrics and recommends smaller or different instance types, and flags over-provisioned Lambda functions and EBS volumes too.
  • Look at CPU, memory, and network together. CPU alone can mislead, and memory metrics require the CloudWatch agent.
  • Change one thing at a time and watch your latency and error metrics afterward.

2. Use the latest generation, and consider Graviton

Newer instance generations generally deliver better performance per dollar than older ones. AWS Graviton (Arm-based) instances often offer better price-performance for many workloads, including web servers, containers, and databases.
Migration is usually straightforward for interpreted languages and for software that already publishes Arm builds. Test in a staging environment first, and verify that every dependency and container image supports  arm64 .

3. Match your pricing model to your usage pattern

On-demand is the most flexible and the most expensive way to run steady workloads.
Pricing option
Best for
On-Demand
Unpredictable or short-lived workloads
Savings Plans
Steady baseline usage, with flexibility across instance families and services
Reserved Instances
Steady usage of specific configurations, including some database and cache services
Spot Instances
Fault-tolerant, interruptible work like batch jobs, CI runners, and stateless workers
A sensible approach is to commit only to your stable baseline (the minimum you always run), cover the variable part with on-demand, and move interruptible work to Spot. Review the recommendations in Cost Explorer before buying, and avoid over-committing. A commitment you don’t use is its own kind of waste.

4. Turn things off when no one is using them

Development and test environments rarely need to run at 3 a.m. on a Sunday. Scheduling them off outside working hours can remove a large share of their cost.
  • Use EventBridge Scheduler with a small Lambda function (or Systems Manager Automation) to stop and start tagged instances and databases on a schedule.
  • Use Auto Scaling for production so capacity follows demand rather than peak.
  • For containers, scale down non-production services to zero when idle.
python
import boto3

ec2 = boto3.client("ec2")

def handler(event, context):
# Stop running instances tagged Schedule=office-hours
resp = ec2.describe_instances(
Filters=[
{"Name": "tag:Schedule", "Values": ["office-hours"]},
{"Name": "instance-state-name", "Values": ["running"]},
]
)
ids = [i["InstanceId"] for r in resp["Reservations"] for i in r["Instances"]]
if ids:
ec2.stop_instances(InstanceIds=ids)

5. Clean up orphaned storage resources

Storage waste hides well because nothing is “running.” Look for:
  • Unattached EBS volumes (state  available )
  • Old EBS snapshots from deleted volumes or AMIs
  • Unused Elastic IPs. Public IPv4 addresses are billed, including idle ones.
  • Idle load balancers with no healthy targets or traffic
bash
# Find unattached EBS volumes
aws ec2 describe-volumes \
--filters Name=status,Values=available \
--query 'Volumes[*].[VolumeId,Size,CreateTime]' \
--output table
Snapshot a volume before deleting it if you’re unsure, then delete the snapshot later once you’re confident nothing needs it.

6. Move EBS volumes to gp3

If you still have  gp2  volumes, converting to  gp3  is typically a quick win.  gp3  generally costs less per GB and lets you set IOPS and throughput independently of size. The conversion happens online with no downtime:
bash
aws ec2 modify-volume --volume-id vol-0123456789abcdef0 --volume-type gp3
Check your workload’s IOPS and throughput needs against the  gp3  baseline first, and raise them if needed.

7. Use S3 storage classes and lifecycle rules

Data rarely stays hot forever, but S3 Standard is priced for data you access constantly.
  • S3 Intelligent-Tiering automatically moves objects between access tiers based on usage. It’s a good default when access patterns are unknown or unpredictable. Be aware of its per-object monitoring charge and its handling of very small objects.
  • Lifecycle rules transition older data to cheaper classes and expire what you no longer need.
  • Abort incomplete multipart uploads. These accumulate silently and you pay for the stored parts.
json
{
"Rules": [
{
"ID": "archive-and-cleanup",
"Status": "Enabled",
"Filter": { "Prefix": "logs/" },
"Transitions": [
{ "Days": 30, "StorageClass": "STANDARD_IA" },
{ "Days": 90, "StorageClass": "GLACIER" }
],
"Expiration": { "Days": 365 },
"AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 7 }
}
]
}
Retrieval fees and minimum storage durations apply to the colder classes, so confirm your access patterns before moving data that you still read often.

8. Tame data transfer costs

Data transfer is the line item that surprises people most. Common culprits:
  • NAT Gateway data processing. Traffic to S3 and DynamoDB through a NAT Gateway is billed per GB. Add gateway VPC endpoints for S3 and DynamoDB, which don’t carry an hourly charge, to keep that traffic off the NAT.
  • Cross-AZ traffic. Chatty services spread across Availability Zones pay for the crossing. Keep high-volume traffic within an AZ where your availability design allows it.
  • Cross-region and internet egress. Put CloudFront in front of content you serve publicly, which often reduces both egress cost and latency.

9. Optimize serverless and databases

Lambda
  • Tune memory with a tool like AWS Lambda Power Tuning. More memory also means more CPU, so a larger setting can finish faster and sometimes cost less overall.
  • Consider Graviton ( arm64 ) for Lambda functions as well.
  • Reduce log verbosity. CloudWatch Logs ingestion adds up quickly for high-volume functions.
DynamoDB
  • Choose on-demand for spiky or unpredictable traffic and provisioned with auto scaling for steady, predictable traffic.
  • Consider the Standard-IA table class for tables that are large but rarely read.
RDS / Aurora
  • Right-size instances using Performance Insights and CloudWatch.
  • Delete old manual snapshots, and stop or schedule non-production databases.

10. Make cost a habit, not a project

One-off cleanups decay. The savings stick when cost becomes part of how your team works:
  • Review the bill monthly with the people who own the workloads. Showback by team creates natural accountability.
  • Add cost checks to your pipeline. Estimate the cost impact of infrastructure changes before merging them.
  • Set guardrails. Use Service Control Policies or budgets to prevent unreviewed launches of very expensive resource types in sandbox accounts.
  • Use Trusted Advisor and Compute Optimizer recommendations as a recurring checklist.
  • Track unit economics, such as cost per customer or per thousand requests. A rising total bill is fine if your unit cost is falling.

A quick-start checklist

If you only have an hour, do this:
  1. Enable Cost Explorer, a budget, and Cost Anomaly Detection
  1. Find your top three services by spend
  1. Delete unattached volumes, idle load balancers, and unused Elastic IPs
  1. Convert  gp2  volumes to  gp3 
  1. Add S3 and DynamoDB gateway endpoints if you use a NAT Gateway
  1. Schedule non-production environments to stop after hours
  1. Review Compute Optimizer recommendations and right-size your top offenders

Key takeaways

  • Measure before you cut. Tags, budgets, and anomaly detection come first.
  • Waste is usually boring: idle resources, oversized instances, and old data on expensive storage.
  • Commit only to your stable baseline, and keep flexibility for everything else.
  • Data transfer deserves attention, because it hides in plain sight.
  • Sustainable savings come from habits, not one-time cleanups.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article