How to Reduce Your AWS Bill Without Breaking Production

A step-by-step playbook for reducing your AWS bill, covering compute, storage, networking and Savings Plans, in the order that keeps production safe.

By VVV Ops ·

AWS bills tend to grow quietly. Teams are busy shipping features, cost gets looked at once a year, and by the time finance flags the bill, the waste is built into the architecture. Engineers are rarely careless about it. They size for safety at launch and seldom get time to come back.

This post is the order we would work in on a typical SaaS account, from the changes with no risk to the ones that need a plan, without touching reliability. How much each step saves depends entirely on your account, so measure as you go.

Before you start: a baseline

You cannot cut what you cannot attribute. Spend the first week on visibility:

  1. Set up AWS Data Exports to deliver the Cost and Usage Report (CUR 2.0) in Parquet to S3, and query it with Athena. It is far more detailed than Cost Explorer.
  2. Tag everything with at least Environment, Team, Service and CostCenter. Enforce the tags with service control policies or AWS Config rules, because untagged resources are where waste hides.
  3. Turn on AWS Cost Anomaly Detection with an alert threshold that fits your daily spend.
  4. Work out your unit costs: per customer, per request or per tenant. If you cannot calculate them yet, that is the first gap to close.

Then go through the steps below in order. The early ones are low-risk and pay for the time the later ones take.

Step 1: remove unused resources

Low effort, close to zero risk. Look for:

  • Unattached EBS volumes left by terminated instances (state=available).
  • Public IPv4 addresses. Since February 2024 AWS charges for every public IPv4 address, attached or not, so unused Elastic IPs and public IPs nobody needs both cost money.
  • Load balancers with no traffic for the last 30 days.
  • Old EBS and RDS snapshots no one will restore.
  • NAT gateways left running in development VPCs.
  • RDS instances with DatabaseConnections flat at zero.
  • Stopped EC2 instances, still billed for their EBS volumes.
  • CloudWatch log groups set to never expire.

An Athena query over the CUR, or an open-source inventory tool such as Komiser, finds most of these in an afternoon.

Step 2: right-size EC2, RDS and ElastiCache

Instances are usually sized for safety at launch and never revisited.

  1. Collect at least two weeks of metrics for each instance: CPU, network and memory (memory needs the CloudWatch agent).
  2. Use AWS Compute Optimizer, which is free and looks back 14 days by default, for EC2, EBS, Lambda and some RDS recommendations.
  3. For RDS, check CPU, FreeableMemory and read and write IOPS.
  4. Test each change in staging under load before production.
  5. Resize in a maintenance window, one instance at a time.

Do not size on CPU alone. Memory-bound and bursty workloads need different treatment, and p95 tells you more than the average.

Step 3: move to Graviton

On-demand prices for Graviton types are lower than for the comparable Intel types (compare m7g with m7i in your region), and many common SaaS workloads run as fast or faster on them. Interpreted languages and current runtimes usually need no code changes. Containers need multi-architecture images, which most official base images already provide.

Watch for binary dependencies such as old Python wheels or proprietary drivers, check that third-party agents (Datadog, New Relic and others) run in the versions you use, and benchmark each service before you switch it.

On a medical-device platform we ran for four and a half years, the move to Graviton went service by service on multi-architecture images, as one part of a cost workstream that also covered queue-driven scale-to-zero, Spot capacity and network changes.

Step 4: commit with Savings Plans

Once usage is stable and right-sized, buy Compute Savings Plans for compute you know you will keep using. They apply across EC2, Fargate and Lambda. AWS quotes discounts of up to 66% for Compute Savings Plans; your actual rate depends on the term, the payment option and the instance families you run, and the purchase recommendations in Cost Explorer show it for your usage.

Commit to the floor of your usage, not the average, so growth and later optimizations do not leave you paying for capacity you no longer run. For databases, AWS now also sells Database Savings Plans covering RDS, Aurora, DynamoDB, ElastiCache and other database services; compare them with Reserved Instances for steady, fixed-size database instances.

Do not buy three-year commitments before right-sizing. Committing to oversized capacity locks in the waste.

Step 5: storage tiers

  • S3 Intelligent-Tiering moves objects between access tiers automatically. It charges a small monitoring fee per object and does not tier objects under 128 KB, so it pays off on buckets with many larger objects and uneven access.
  • Lifecycle rules: abort incomplete multipart uploads after a few days, expire old object versions, move logs to a Glacier class after their useful life.
  • EBS gp2 to gp3: gp3 is cheaper per GB, and baseline performance is set separately from size. Large gp2 volumes get extra IOPS from their size, so provision the IOPS you need on gp3 when you move them.
  • Backups: keep the retention your recovery and compliance plans require, and delete the rest.

Step 6: data transfer

Data transfer is the line in the bill that surprises people most. In us-east-1, traffic between Availability Zones costs $0.01 per GB in each direction, and a NAT gateway charges $0.045 per GB it processes.

  • Keep chatty services in the same Availability Zone where the availability trade-off is acceptable.
  • Route S3 and DynamoDB traffic through gateway endpoints instead of the NAT gateway. Gateway endpoints have no charge.
  • Put CloudFront in front of S3 and public endpoints for bandwidth-heavy applications.
  • Use PrivateLink or Direct Connect for heavy traffic to third parties such as data platforms.

Step 7: switch off non-production outside working hours

An environment used 40 hours a week sits idle for the other 128. Stop EC2 instances on nights and weekends with AWS Instance Scheduler or EventBridge and Lambda, stop RDS instances (for up to seven days at a time), and scale EKS or ECS worker pools to zero outside business hours.

What not to do

  • Do not start with Spot for steady SaaS workloads unless they are genuinely fault-tolerant. The operational work rarely pays off there.
  • Do not move to a cheaper cloud as the first step. It is a long project, and the savings in your current account come sooner.
  • Do not commit before you right-size.
  • Do not cut without attribution. Without the CUR and tags, every change is a guess.

Cost work is unglamorous, and engineering teams postpone it for good reasons. We run it as a fixed-scope assessment that ends in a written plan, or as part of a larger project, and the changes land in your own Terraform. Our cost reviews are done alongside your engineer. If you have not had a serious look at your AWS bill in the last year, send us a few lines about your setup.

For the organizational side, and one cost review told from start to finish, see building a FinOps practice. AWS's Well-Architected cost optimization pillar and the FinOps Foundation framework are good references.

Tags: reduce aws bill, aws cost optimization, aws savings plans vs reserved instances, finops implementation, aws rightsizing, aws cost reduction strategies