AWS cost optimization

How to reduce AWS costs: a practical checklist

Find which charges are driving your AWS bill, choose the changes worth testing, and measure the result. Start with unused resources, then review capacity, storage, network costs and commitments.

By Published 16 June 2026Updated 28 November 202616 minute read

Technical review by Anuj Dhadge · Co-Founder · DevOps Engineer

The short answer

To reduce your AWS bill safely, establish a reliable baseline, remove resources that provide no value, right-size compute and storage using utilization data, then introduce commitments and guardrails.

Start with one cost change

Use the free worksheet to work through a change before you commit to it. For a smaller EC2 instance:

  1. Record the cost. Compare the current and proposed instance costs using your AWS rates and existing commitments.
  2. Set the checks. Agree acceptable response times, memory use and recovery checks before testing the smaller size.
  3. Measure the result. Compare actual costs and workload volume after the change. Keep the previous configuration ready if the checks fail.
Get the free cost-review worksheet

Editable Excel workbook. No email required.

Why did your AWS bill increase?

First separate a change in usage from a change in what you pay for it. A busier product, a new deployment, an expired credit and an upfront commitment fee call for different actions. Use AWS Cost Explorer to narrow the increase before changing production resources.

  1. Compare equivalent periods. Use complete days with the same account filters and cost basis. Compare the same number of days and similar weekday patterns; do not compare a partial month with a full month or a forecast with billed usage.
  2. Find the service and the day. Group costs by Service and use daily granularity to find where the increase began. Compare that date with deployments, traffic changes and scheduled jobs.
  3. Identify the charge. Filter to the service, then group by Usage type. Use Region or Linked account to narrow it further. Look for instance hours, storage, data processing or transfer rather than assuming every EC2-related charge is compute.
  4. Check what changed in the bill. Review Charge type for credits, refunds and upfront fees. Compare usage quantities only within a consistent usage type and unit; a total mixing hours and gigabytes is not useful.
  5. Connect the charge to a workload. Use tags, resource inventory and application metrics to identify the owner and purpose. Record the charge, likely cause and next check before choosing a change.

AWS documents the available Cost Explorer filters and groupings. Its data is refreshed at least daily, and some charges arrive later, so an incomplete day is not evidence that a change has worked. See how Cost Explorer updates cost data.

Choose the first cost reduction to investigate

Start with the largest avoidable charge you can verify. Use the checks below to find the relevant steps, then estimate the effect on the whole workload before rollout.

Unused resources still cost money

Confirm the owner, dependencies and recovery needs of old volumes, snapshots and development environments.

Check idle resources

EC2 runs below capacity

Compare CPU, memory, traffic peaks and recovery capacity before choosing a smaller instance or a schedule.

Review EC2 costs

Storage and database costs keep growing

Check retained data, provisioned IOPS, replicas and access patterns before changing storage or database capacity.

Review storage and databases

Network charges are unexpectedly high

Separate NAT Gateway hours, processed data and transfer charges. Trace the traffic before changing routes.

Trace network costs

Logging costs jumped after a release

Identify the application producing more logs, then check ingestion, retention and query usage.

Review CloudWatch costs

Usage fell but the invoice did not

Check commitment payments and remaining storage or network charges before counting the change as a cash saving.

Check commitment coverage

Plan your AWS cost review

Use the free worksheet to record your cost baseline, assign an owner, estimate a change, and agree performance and recovery checks. After rollout, compare costs and workload volume to see what changed.

  • Plan: scope, costs, commitments, effort and checks before rollout.
  • Results: costs before and after, cost per workload unit, and the next action.
Download the worksheet (.xlsx)

Editable Excel workbook. No email required. Save one copy per workload and proposed change.

Review files before using them. Sample code and workflows are for learning and evaluation only. Run code in a separate test environment without production access. Read our download terms and safe-use guidance.

AWS Infrastructure Review

Want help reducing your AWS bill?

One existing workload, one AWS account and one primary region, covering up to 20 agreed resources. Get a review of costs, access and reliability, a practical action plan and a 60-minute walkthrough.

US$500 one-time fee · 5 business days after the scope is agreed and required access and inputs are ready. We use agreed read-only access or exports. Infrastructure changes are quoted separately.

See what an AWS review includes, with an example cost finding and action plan.

Comparing providers? Use our fixed-price AWS cost audit checklist to compare fees, scope and deliverables.

Prices are in US dollars. Applicable taxes and cloud usage are additional. Savings depend on the findings and any later changes you choose to make.

1. Build a trustworthy AWS cost baseline

Start with the last three complete billing months, then inspect recent daily spend for changes hidden by monthly totals. Break down the largest services before reviewing individual resources. Include month-end jobs, traffic peaks, deployments, and seasonal events when choosing the utilization window; three months alone may not capture an annual peak.

Save the dates, account and region filters, currency, and cost basis alongside the report. AWS Cost Explorer offers different cost views: amortized cost spreads commitment fees over their term, while net amortized cost also reflects applicable discounts. Use the same basis before and after a change, and account separately for credits, refunds, tax, and one-off charges. A lower invoice after a credit does not establish a lower recurring run rate.

Start with AWS Cost Explorer and AWS Cost Optimization Hub. Cost Optimization Hub consolidates recommendations for rightsizing, idle resources, Savings Plans, and reservations across supported AWS services. Treat its estimated savings as a prioritized investigation list—not an instruction to implement every recommendation automatically.

Create a cost map that engineering can act on

  • Break spend down by account, service, region, environment, and workload.
  • Activate cost-allocation tags for owner, product, environment, and cost centre.
  • Separate production, non-production, shared-platform, and unallocated spend.
  • Record unit metrics such as cost per customer, transaction, build, or request where they are meaningful.

AWS documents how activated cost-allocation tags can feed Cost Explorer reports and budgets. The immediate objective is accountability: every meaningful cost should have an owner who can explain what business outcome it supports.

2. Remove idle and orphaned resources first

Idle-resource cleanup is usually the lowest-risk place to begin because it removes spend without changing the capacity of a healthy production workload. Verify ownership and recovery requirements before deletion, then work through:

  • Unattached EBS volumes and snapshots outside the retention policy.
  • Unused Elastic IP addresses and old load balancers.
  • Stopped EC2 instances that still retain paid storage.
  • Idle RDS instances, replicas, and non-production databases.
  • Development environments running overnight or on weekends.
  • Old container images, log groups, and backups with no expiry policy.

Use a quarantine window for uncertain resources: tag the item, notify its presumed owner, stop it when safe, monitor for impact, and delete it only after the agreed recovery window. This makes cleanup repeatable without turning cost optimization into an outage exercise.

Stopping a resource does not stop every charge

A stopped EC2 instance no longer incurs instance usage charges, but retained EBS volumes and Elastic IP addresses can still cost money. Check the EC2 billing rules by instance state before forecasting savings; commitments also need a separate review.

For supported RDS instances, stopping leaves storage and other retained-resource charges in place, and RDS automatically starts the instance again after seven consecutive days. Use the RDS stopping limitations and billing guidance when planning a non-production schedule.

3. How to reduce EC2 costs safely

EC2 cost reduction should use CPU, memory, network, disk, and application-level performance data. CPU alone is not enough for memory-heavy databases, network appliances, or workloads with bursty latency requirements.

Verify that memory data actually exists. Compute Optimizer can use memory metrics collected through the CloudWatch agent or supported external observability integrations; see its EC2 metrics requirements. Missing memory data is a reason to collect more evidence before approving a smaller instance.

Rightsize from observed demand

AWS Compute Optimizer analyzes resource configuration and utilization metrics to produce rightsizing recommendations and projected price-performance tradeoffs. Review the EC2 recommendation details, then validate the proposed instance family and size against peak traffic, memory headroom, storage throughput, network requirements, and recovery targets.

Match capacity to time and demand

  • Schedule predictable non-production workloads to stop outside working hours.
  • Use Auto Scaling groups so steady-state capacity does not need to cover every peak.
  • Evaluate Graviton-compatible instance families after application and dependency testing.
  • Use Spot Instances for interruption-tolerant workers, batch jobs, and flexible container capacity—not for workloads that cannot handle interruption.

Compare potential savings and performance risks

On small screens, scroll the table horizontally to see all four columns.

OpportunityPotential benefitRisk to checkHow to verify
Downsize an EC2 instanceLower hourly compute costMemory, throughput, and headroom during peaks or failoverCompare billed usage and peak latency, errors, and saturation
Schedule non-productionFewer paid instance hoursOvernight jobs, restart dependencies, and access requirementsCheck the schedule, billed hours, and retained storage charges
Remove an orphaned volumeEliminate unnecessary storage chargesUnknown owner, recovery dependency, or retention requirementConfirm approval and recovery policy, then check storage usage
Change an S3 lifecycle ruleLower cost for older or temporary dataRetrieval, transition fees, minimum durations, and recovery timeCompare total storage and access cost after the transition
Review NAT and transfer pathsReduce avoidable processing or transfer chargesConnectivity, routing, and endpoint costsCheck gateway hours, processed bytes, and related transfer charges
Buy a commitmentDiscount eligible, stable usageUnused commitment after migrations or demand changesTrack utilization and total effective cost, not coverage alone

4. Worked example: test a smaller EC2 instance

Suppose a service has three replicas, each with 4 vCPUs and 8 GiB of memory. Across 28 representative days, including scheduled jobs and a known traffic peak, the highest observed five-minute CPU value is 30% and memory reaches 2.5 GiB per instance. This makes a 2-vCPU, 4-GiB instance in the same architecture a candidate for testing. Those observations alone do not prove it can handle shorter bursts or failover.

Calculate the monthly compute cost

For this example, use $0.20/hour before and $0.12/hour after, 730 hours per month, three replicas in both configurations, and no Savings Plans or Reserved Instances covering the usage.

  • Current compute: 3 × 730 × $0.20 = $438.00/month.
  • Candidate compute: 3 × 730 × $0.12 = $262.80/month.
  • Potential reduction: $175.20/month, or 40% of this compute cost.

This excludes storage, data transfer, support, tax, and testing costs. Replace the sample rates with those for your region, operating system, instance type, and purchase arrangement. The 40% difference applies only to the compute charges in this example.

  1. Check the candidate's network and EBS throughput, CPU credits where relevant, memory headroom, and application compatibility.
  2. Test representative peaks and failure scenarios against agreed latency, error-rate, queue, and saturation limits.
  3. Keep the previous configuration ready for rollback, then use an approved staged rollout with an owner watching the metrics.
  4. Compare actual usage and effective cost after a representative observation period; record any extra capacity or costs needed to maintain performance.

See the checks to make before switching instance sizes in our EC2 rightsizing example.

5. Optimize EBS, S3, RDS, and EKS together

EBS and snapshot hygiene

Look for unattached volumes, oversized provisioned IOPS, obsolete snapshots, and volumes whose type no longer matches the workload. Treat snapshot retention as a documented recovery policy instead of allowing backups to accumulate indefinitely.

S3 lifecycle and access patterns

S3 costs include storage, requests, retrieval, and data movement. Use access-pattern evidence before moving data between classes. AWS S3 cost-optimization guidance describes lifecycle rules, Intelligent-Tiering, and purpose-built storage classes. Include retrieval and transition fees, minimum storage durations, and recovery requirements in the comparison. Add expiry rules for temporary objects, incomplete multipart uploads, and logs that exceed their required retention.

RDS and database costs

Review instance class, storage, IOPS, replicas, Multi-AZ requirements, backup retention, and database connection patterns together. A smaller database instance is not a saving if it increases latency or moves the bottleneck into application retries.

EKS and container platforms

For EKS, connect pod requests to actual workload usage, then review node utilization and autoscaling. Requests influence scheduling and capacity allocation; CPU limits can cause throttling, while exceeding memory limits can cause a container to be killed. Review Kubernetes requests and limits separately, then optimize workload and node capacity together.

NAT Gateways and data transfer

Separate gateway hours, processed data, and transfer charges before changing routes. The AWS NAT Gateway pricing guidance helps identify which charges a change could affect. For suitable VPC-to-S3 traffic, an S3 gateway endpoint has no additional endpoint charge and can avoid routing that traffic through NAT. Interface endpoints have different pricing. Check routing and connectivity requirements, and include any remaining gateway hours and transfer costs in the estimate.

Running containers on ECS Fargate? Our NAT gateway and VPC endpoint comparison includes the two-AZ costs, connection diagrams and checks before changing routes.

CloudWatch logs and monitoring

If monitoring costs rise after a release, filter Cost Explorer to CloudWatch and group by Usage type. Separate ingestion, retained logs, queries and metrics before deciding what to reduce. AWS explains how to investigate these charges in its CloudWatch cost guide.

Check whether an application is emitting debug output, duplicate messages or repeated errors. Agree the logs needed for incidents and audit requirements before reducing volume or retention. Shorter retention addresses stored data; it does not reduce the cost of ingesting the same new logs. Limit query time ranges to the period you need to investigate, and compare costs after the next billing-data refresh.

6. Buy Savings Plans and reservations last

Commitment discounts can be valuable for stable baseline usage, but they do not remove waste. Buying a commitment against oversized or unnecessary infrastructure can lock the wrong cost structure in place.

  1. Remove idle resources and correct obvious configuration waste.
  2. Rightsize workloads and observe the new baseline.
  3. Separate stable usage from variable or interruptible capacity.
  4. Model commitment coverage conservatively.
  5. Track utilisation and renewal dates as owned financial decisions.

Savings Plans involve a spending commitment per hour for one or three years. Reducing covered usage does not automatically reduce that payment. Check whether freed coverage can serve other eligible usage, and avoid adding a rightsizing estimate to a commitment estimate that assumes the old resource size. Model the combined final configuration once.

7. Prevent the AWS bill from growing back

Savings decay when optimization remains a quarterly clean-up exercise. Add lightweight controls to normal engineering work:

  • Budgets and anomaly alerts routed to accountable owners.
  • Mandatory ownership and environment tags in Infrastructure as Code.
  • Cost impact included in architecture and pull-request reviews.
  • Expiry dates for temporary environments and experiments.
  • A weekly review of unexpected spend and a monthly unit-cost review.
  • A visible backlog ranked by saving, effort, and operational risk.

8. Verify savings after implementation

Record the comparison in the Results sheet of the downloadable AWS cost-review worksheet (.xlsx). Keep the same scope, currency and cost basis in both periods.

Keep three numbers separate: the estimated opportunity, the change in recurring effective cost, and the impact on the cash bill. A rightsizing change can release committed capacity without immediately reducing cash payments. Label the result accordingly.

  1. Record the baseline. Save the reporting dates, resource scope, cost basis, commitment assumptions, traffic volume, and performance targets before making the change.
  2. Log the rollout. Record what changed, its owner, deployment date, testing costs, and any rollback or replacement capacity.
  3. Compare like-for-like periods. Include the same business cycles, use a complete observation window, and check cost per useful unit alongside total spend. Separate demand changes, credits, pricing changes, and unrelated releases.
  4. Accept or revise the result. Verify reliability targets and costs across affected services. Record recurring savings separately from one-off implementation costs, and revisit the estimate if costs moved elsewhere.

For example, cost per 1,000 successful transactions equals the scoped cost divided by successful transactions, multiplied by 1,000. Use a unit that reflects the workload: reduced spend during a traffic drop is not by itself evidence of improved efficiency.

Our fintech AWS cost-reduction case study shows how infrastructure improvements, Terraform, and blue-green delivery helped a payments platform lower AWS costs and release faster.

9. A practical 30-day AWS cost-reduction plan

PeriodWorkOutput
Days 1–5Baseline, ownership, tags, anomalies and idle-resource scanCost map and verified quick-win list
Days 6–12EC2, RDS, EBS, S3, network and container reviewPrioritised opportunity register with risk notes
Days 13–21Implement low-risk cleanup and test rightsizing changesInitial cost and performance evidence; longer observation where needed
Days 22–30Model commitments and install budgets, alerts and ownershipGuardrails and a 60-day implementation backlog

Common AWS cost-reduction mistakes

  • Buying Savings Plans before removing idle or oversized capacity.
  • Rightsizing from average CPU while ignoring peaks and memory.
  • Deleting resources without ownership and recovery checks.
  • Optimizing one service while moving cost into network or storage.
  • Celebrating forecast savings without measuring realised spend.
  • Treating FinOps as a finance-only responsibility.

Need a review across your wider platform?

Reviewing several accounts or a wider platform? Explore the AWS Cost Optimization Audit.

Ready to discuss your AWS bill? Book a free audit fit call.