In short:
- Delete idle resources that still bill you, such as unattached volumes and unused public IPs.
- Add lifecycle rules so old logs and object versions expire.
- Set a monthly budget with an 80% alert and turn on Cost Anomaly Detection.
You do not need a big cost-optimization project to reduce your AWS bill. For most small accounts, three habits remove the majority of the waste, and none of them touches your running application.
First, see where the money goes
Guessing wastes time, so start with the data. In Cost Explorer, pick the last full month and group by Service. The top three lines are where you look first. Then group the biggest one by Usage type, which splits a vague line such as "EC2-Other" into the real items: NAT gateway hours, NAT gateway data, EBS volumes, snapshots and data transfer.
You can pull the same view from the command line. Replace the dates with the month you want:
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 \ --query 'ResultsByTime[0].Groups[].[Keys[0],Metrics.UnblendedCost.Amount]' \ --output table The usual suspects on a small account are EC2 compute, EC2-Other (NAT gateways, volumes, data transfer), RDS, S3, CloudWatch, and the public IPv4 charge under VPC. If one of those is far higher than you expect, the quick wins below are where to look, and the deeper posts at the end of this one take over.
Quick win 1: Delete idle resources that still bill you
Some resources keep charging even when you think they are off.
- Stopped EC2 instances. You stop paying for compute, but the attached EBS volume still costs money every month.
- Unattached EBS volumes. Volumes left behind after an instance was deleted keep billing until you remove them.
- Public IPv4 addresses. Since February 2024, AWS charges for every public IPv4 address, about $0.005 per hour (roughly $3.60 a month), whether it is attached to something or not.
- NAT gateways. Often around $30 or more per month each, plus data processing charges, even when traffic is low.
You can find the first two from the command line:
# Unattached EBS volumes aws ec2 describe-volumes \ --filters Name=status,Values=available \ --query 'Volumes[].[VolumeId,Size,CreateTime]' --output table # Elastic IPs not attached to anything aws ec2 describe-addresses \ --query 'Addresses[?AssociationId==null].[PublicIp,AllocationId]' --output table Snapshot anything you are unsure about, then delete. For a full walkthrough of finding these leftovers in every region, see 3 AWS charges billing you for nothing. While you are in there, convert old gp2 volumes to gp3: it is 20% cheaper per GB and the change needs no downtime. The steps, including the big-volume trap, are in gp2 vs gp3: switch EBS volumes, save 20%.
For development and test servers, schedule them to stop at night and on weekends. A server that runs 50 hours a week instead of 168 costs about 70% less on compute.
Quick win 2: Add lifecycle rules so old data expires
Storage is cheap per gigabyte, which is exactly why it grows unnoticed. Old object versions, log files, and temporary uploads pile up for years.
A lifecycle rule tells S3 to clean up for you:
resource "aws_s3_bucket_lifecycle_configuration" "logs" { bucket = aws_s3_bucket.logs.id rule { id = "expire-old-data" status = "Enabled" filter {} noncurrent_version_expiration { noncurrent_days = 30 } transition { days = 90 storage_class = "GLACIER" } expiration { days = 365 } abort_incomplete_multipart_upload { days_after_initiation = 7 } } } This keeps old versions for 30 days, moves logs to cheaper archive storage after 90 days, deletes them after a year, and clears out failed uploads. Adjust the numbers to your retention needs, and check any compliance rules before you delete anything.
Quick win 3: Set a budget alert
The first warning about a cost problem should not be the invoice. AWS Budgets is the simplest fix:
- Open AWS Budgets and create a monthly cost budget at an amount that would surprise you, for example $50.
- Add an alert at 80% of the budget to your email. AWS explains every option in Managing your costs with AWS Budgets.
- Add a second alert for forecasted spend so you hear about it before the month ends.
Two things catch people out. Budgets data is updated only up to three times a day, so an alert can arrive hours after the spend, and forecasted alerts need about five weeks of history before they fire. The full setup, with the thresholds I use and a Terraform version, is in AWS budget alert: set one up in 10 minutes.
Budgets that only send alerts are free. For extra safety, turn on Cost Anomaly Detection, also free, which flags unusual spikes without you setting a threshold.
What each quick win is worth
| Change | What you save | Effort | Risk |
|---|---|---|---|
| Delete unattached volumes and unused IPs | Every volume and every public IPv4 address bills until removed ($0.005 per hour per address) | 10 minutes | Low, snapshot first |
| Switch gp2 volumes to gp3 | 20% less per GB, plus 3,000 IOPS included | 15 minutes | Low, no downtime |
| Stop dev and test servers out of hours | About 70% of compute for a server that runs 50 hours instead of 168 | 30 minutes | Low |
| Lifecycle rules on log buckets | Stops storage growing forever | 20 minutes | Medium, check retention rules first |
| Budget with actual and forecasted alerts | Catches a surprise before the invoice | 10 minutes | None |
Notice that none of these is a rewrite. They are all configuration, and most can be undone.
After the quick wins: the bigger levers
Once the leftovers are gone, the remaining savings need a little more thought. In rough order of effort:
- Cut NAT gateway charges. They bill by the hour and by the gigabyte, and free gateway endpoints take S3 traffic off them. See AWS NAT gateway cost: why it is so high and 5 ways to cut it.
- Shrink CloudWatch Logs. Retention and log levels decide most of the bill. See CloudWatch Logs cost.
- Move to Graviton. ARM instances, Lambda and Fargate cost about 20% less for the same work, if your software runs on ARM. See Graviton migration.
- Commit to steady usage. Savings Plans lower the price of compute you know you will run. Commit to part of your steady floor, not all of it. See AWS Savings Plans for startups.
- Let S3 manage your storage classes. See S3 Intelligent-Tiering vs lifecycle rules.
Topic by topic, the whole set is collected in the AWS cost guide.
Reduce your AWS bill every week: a five-minute routine
- Open Cost Explorer and group the last month by service.
- Look at the top three. Does each one make sense?
- Run the two commands above and delete what you find.
- Check that your budget alerts still go to a mailbox someone reads.
Most savings come from the habit, not from any one change. Put a repeating reminder in your calendar, because the habit is the part that fades.
Checklist to reduce AWS costs
- No unattached volumes or unused public IPs.
- Dev and test servers stop outside working hours.
- Lifecycle rules on buckets that collect logs or old versions.
- A monthly budget with an 80% alert.
- Cost Anomaly Detection turned on.
Prices change, so check the current numbers on the Amazon EBS pricing page and the Amazon VPC pricing page before you decide, and treat the figures here as accurate for us-east-1 in November 2026.
To see how much of your own bill might be waste, try the free AWS savings estimator. Tick what applies and it gives you a rough monthly range.
The short video is on the channel. If you want someone to review your account and show where the money goes, my Free AWS Review covers cost as well as security, or get in touch.
Common questions
How much can I realistically reduce my AWS bill?
It depends on how long the account has been running without a review. Accounts that nobody has looked at often carry idle volumes, old snapshots, unused addresses and logs that never expire, and removing those is where the first savings come from. Bigger savings come later from commitments and right-sizing, which need more care.
Is it safe to delete unattached EBS volumes?
Deleting is permanent, so take a snapshot first if you are not sure what a volume held. A volume with the status available is not attached to any instance, but it can still hold data someone wants. Snapshots cost much less than the volume, and you can delete the snapshot later.
What is the fastest way to find where my AWS money goes?
Open Cost Explorer, choose the last full month, and group by service. Then group the top service by usage type. Lines such as NatGateway-Bytes, EBS volume usage or CloudWatch log ingestion usually explain most of an unexpected bill.
Do I have to stop using a service to save on it?
Usually not. The common savings are about waste inside a service, such as the wrong volume type, no retention on logs, or a gateway in every environment. Those changes keep the application running exactly as before.
How often should I review my AWS costs?
A five-minute look every week catches most surprises while they are small. Add a monthly review of the top three services, and a quarterly look at commitments such as Savings Plans.
Originally published on DevOps with Umar. Free tool for this: the AWS savings estimator. More in the tools list.