A Minimalist Founder's Guide to AWS Cost Explorer: Taming the Cloud Bill
How to use AWS Cost Explorer to find and cut waste without enterprise tooling: idle NAT gateways, unattached EBS volumes and oversized RDS databases.
Building on Amazon Web Services (AWS) gives startups access to reliable infrastructure. But monthly billing invoices often confuse engineering teams.
For bootstrapped startups, cloud expenses often follow a common path:
You launch your SaaS. You deploy a Virtual Private Cloud (VPC) with an Amazon RDS PostgreSQL database, container tasks on AWS Fargate, and automated backups.
Illustrative example: in month one, your invoice is $180.
By month six, without major traffic growth, the invoice climbs to $1,650 per month.
You open AWS Cost Explorer to investigate the cause.
The console displays dozens of menus, unblended versus amortized metrics, reservation utilization rates, and obscure line items like USE2-NatGateway-Bytes and USE2-EBS:VolumeUsage.gp3.
Founders do not need enterprise certifications to lower their cloud bills. In many small startups, much of the avoidable spend comes from three default settings:
- Idle and over-provisioned NAT Gateways
- Unattached EBS SSD volumes
- Oversized Multi-AZ RDS database instances
This guide explains how to use AWS Cost Explorer to find cost drivers quickly. It shows how to remove the three largest expense sources without code rewrites, provides cleanup commands, and explains how to track infrastructure costs in RealMRR.
1. How to Navigate AWS Cost Explorer in 5 Minutes
Default views in AWS Cost Explorer show raw, aggregate account usage across several months.
To find waste, founders only need to understand two cost definitions and three dashboard filters.
┌────────────────────────────────────────────────────────────────────────┐
│ UNBLENDED VS. AMORTIZED COST │
├────────────────────────────────────────────────────────────────────────┤
│ • UNBLENDED COST: │
│ What you were charged, on the day it was charged. An upfront │
│ Savings Plan or Reserved Instance payment shows as one large │
│ charge on the day it is billed. │
│ │
│ • AMORTIZED COST (USE THIS): │
│ Spreads upfront Savings Plan and Reserved Instance fees evenly │
│ across every day of the term (1 or 3 years). │
│ Example: $365 upfront for a 1-year plan = $1/day. │
│ This shows your daily run rate. │
└────────────────────────────────────────────────────────────────────────┘
The Three Filters to Find Most Waste
When opening the AWS Cost Management Console, configure these three settings:
- Date Granularity: Daily (Last 14 Days): Monthly views hide recent cost spikes. A 14-day rolling window with daily intervals reveals the exact day a runaway background job or staging server began running.
- Group By: Service:
Click the Group By: Service tab to rank daily spending by individual AWS products. In many SaaS applications, three services make up most of the invoice:
- Amazon Elastic Compute Cloud (EC2): Compute instances, NAT Gateways, and EBS disks.
- Amazon Relational Database Service (RDS): PostgreSQL and MySQL instances, storage, and read replicas.
- Amazon Simple Storage Service (S3): Bucket storage, API requests, and data transfer.
- Drill Down: Group By: Usage Type:
After identifying the primary cost driver, filter by that service (such as EC2) and change grouping to Usage Type.
- This setting replaces broad service names with specific line items:
USE2-NatGateway-Bytes(NAT Gateway data processing charges)USE2-NatGateway-Hours(Hourly fee for running NAT gateways)USE2-EBS:VolumeUsage.gp3(EBS disk storage)USE2-BoxUsage:t4g.xlarge(Compute instance hours)
- This setting replaces broad service names with specific line items:
Once you identify the dominant usage types, you can resolve the underlying configuration issues.
2. Money Pit #1: Clearing Out Idle & Over-Provisioned NAT Gateways
When containers (such as ECS Fargate, EKS, or standard EC2) run inside private subnets, servers cannot connect directly to the public internet without a NAT Gateway.
Private subnets protect backend resources. But NAT Gateways use a two-part pricing structure:
- Hourly Running Fee: $0.045 per hour (approximately $32.40 per month for each gateway).
- Data Processing Fee: $0.045 per GB for all network traffic crossing the gateway.
Prices for US East (Ohio), as of November 2026. See the Amazon VPC pricing page.
┌────────────────────────────────────────────────────────────────────────┐
│ THE MULTI-AZ NAT GATEWAY BILL │
├────────────────────────────────────────────────────────────────────────┤
│ Illustrative example: a high-availability Terraform tutorial that │
│ provisioned a NAT Gateway in 3 Availability Zones (AZs). │
│ │
│ 1. Idle Base Running Cost: │
│ 3 Gateways × $32.40/month = $97.20 / month (Just to exist!) │
│ │
│ 2. The Internal Data Processing Trap: │
│ Your app backs up 300 GB of database dumps to Amazon S3 every │
│ week, and CI/CD pulls large Docker images from public registries: │
│ 2,500 GB of traffic × $0.045/GB = $112.50 / month │
│ │
│ TOTAL MONTHLY COST: $209.70 / month for simple internal routing! │
└────────────────────────────────────────────────────────────────────────┘
Because Amazon S3 and public container registries use public IP addresses, traffic from private containers to S3 routes through the NAT Gateway by default. This incurs the $0.045/GB processing surcharge on internal application data. An S3 Gateway Endpoint (below) removes the NAT charge on S3 traffic. Container image pulls from public registries still go through the NAT Gateway.
The 5-Minute Fix: Deploy a Free S3 VPC Gateway Endpoint
AWS provides VPC Gateway Endpoints for Amazon S3 and Amazon DynamoDB.
VPC Gateway Endpoints include no hourly or data fees:
- Hourly Cost: $0.00
- Data Processing Cost: $0.00 per GB
Attaching an S3 Gateway Endpoint to your VPC route tables routes traffic between private servers and S3 over the AWS internal network backbone. Traffic bypasses the public internet and avoids the NAT Gateway:
BEFORE (EXPENSIVE):
Private Container ──► NAT Gateway ($0.045/GB) ──► Public Internet ──► Amazon S3
AFTER (NO NAT CHARGE FOR S3 TRAFFIC):
Private Container ──────────────────────────────► AWS Internal Backbone ──► Amazon S3
Terraform Configuration for S3 Gateway Endpoint
Add this configuration to your infrastructure code:
# main.tf - Free S3 VPC Gateway Endpoint
resource "aws_vpc_endpoint" "s3" {
vpc_id = aws_vpc.main.id
service_name = "com.amazonaws.us-east-2.s3" # use your VPC's region
vpc_endpoint_type = "Gateway"
# Route table IDs for all private subnets
route_table_ids = aws_route_table.private[*].id
tags = {
Name = "free-internal-s3-endpoint"
}
}
Single-AZ NAT Consolidation for Early Startups
Early-stage products rarely need a NAT Gateway in each of three Availability Zones.
Routing outbound traffic through a single NAT Gateway in one Availability Zone saves $64.80 per month ($777.60 per year) in baseline running costs. The trade-offs: if that zone goes down, private subnets in the other zones lose outbound internet access, and traffic from the other zones to the gateway pays AWS's cross-AZ data transfer charge.
3. Money Pit #2: Purging Unattached & Zombie EBS Volumes
Unattached Elastic Block Store (EBS) SSD volumes represent another common source of cloud waste.
Unattached volumes accumulate through a standard sequence:
- An engineer launches an EC2 instance to test a backend service or run a staging workload.
- The team terminates the EC2 instance later.
- If the Delete on termination option was unchecked, AWS deletes the virtual server. The EBS volume persists in the account under the
availablestate.
AWS continues charging $0.08 per GB-month for gp3 storage (or $0.10 per GB-month for legacy gp2) even when no instance is attached.
EBS prices for US East, as of November 2026; see the official Amazon EBS pricing page.
┌────────────────────────────────────────────────────────────────────────┐
│ THE COMPOUNDING ZOMBIE EBS TRAP │
├────────────────────────────────────────────────────────────────────────┤
│ Illustrative example, over 12 months of rapid development: │
│ • 14 staging EC2 instances terminated without deleting volumes. │
│ • Each instance had a 100 GB SSD disk attached. │
│ • Total Orphaned Storage: 1,400 GB sitting completely idle. │
│ │
│ Monthly Cash Burn: 1,400 GB × $0.08/GB = $112.00 / month │
│ Annual Cash Burn: $1,344.00 / year paid for abandoned bytes. │
└────────────────────────────────────────────────────────────────────────┘
Terminal Command to Find Unattached Volumes
Run this command using the AWS Command Line Interface (CLI) to list unattached EBS volumes in your active region:
aws ec2 describe-volumes \
--filters Name=status,Values=available \
--query "Volumes[*].{ID:VolumeId,Size:Size,Type:VolumeType,Created:CreateTime}" \
--output table
Deleting a volume is permanent. Check that nothing needs it, and take a snapshot first if you are unsure (aws ec2 create-snapshot --volume-id vol-0123456789abcdef0). Then remove it:
aws ec2 delete-volume --volume-id vol-0123456789abcdef0
Upgrade Legacy gp2 to gp3 for an Instant 20% Discount
Older AWS deployments often use legacy gp2 SSD storage:
gp2Pricing: $0.10 per GB-month.gp3Pricing: $0.08 per GB-month (includes baseline 3,000 IOPS and 125 MB/s throughput at no extra charge).
You can change an active EBS volume from gp2 to gp3 through the AWS Console or CLI with zero system downtime or server reboots:
aws ec2 modify-volume \
--volume-id vol-0123456789abcdef0 \
--volume-type gp3
This single adjustment lowers active disk storage costs by 20 percent.
4. Money Pit #3: Right-Sizing Oversized & Idle RDS Databases
Databases support critical application functions. Because teams want to prevent database downtime, Amazon RDS is frequently over-provisioned in early-stage startups.
Three common database settings often multiply costs:
┌────────────────────────────────────────────────────────────────────────┐
│ THE 3 COMMON RDS OVERSPENDING TRAPS │
├────────────────────────────────────────────────────────────────────────┤
│ 1. THE MULTI-AZ DEV/STAGING TRAP: │
│ • Running Multi-AZ standby replicas for development environments. │
│ • Doubles your database cost with zero production customer benefit. │
│ • FIX: Convert staging databases to Single-AZ (Instantly saves 50%).│
├────────────────────────────────────────────────────────────────────────┤
│ 2. PROVISIONED IOPS (io1 / io2) OVER-ALLOCATION: │
│ • Paying for provisioned IOPS you don't use. │
│ • FIX: Switch to standard gp3 with free baseline 3,000 IOPS. │
├────────────────────────────────────────────────────────────────────────┤
│ 3. INTEL VS. GRAVITON (x86 vs. ARM64): │
│ • Running older `db.t3` or `db.m5` Intel instances. │
│ • FIX: Switch to AWS Graviton `db.t4g` (lower hourly price). │
└────────────────────────────────────────────────────────────────────────┘
Step 1: Remove Multi-AZ on Staging and Test Databases
Creating an RDS database prompts users to select a Multi-AZ deployment. Multi-AZ creates a standby replica in a second data center and mirrors database writes.
Multi-AZ is important for production workloads. But non-production environments do not require synchronous failover replicas:
db.t4g.medium(Single-AZ): ~$50.00 per monthdb.t4g.medium(Multi-AZ): ~$100.00 per month
On-demand PostgreSQL prices for US East, as of November 2026; see the official Amazon RDS pricing page.
Converting development and staging databases to Single-AZ reduces non-production database costs by 50 percent.
Step 2: Switch to AWS Graviton (t4g Instances)
Running databases on older Intel instance types (such as db.t3.medium or db.m5.large) increases compute expenses.
AWS Graviton (ARM64) instances (such as db.t4g.medium):
- Usually cost less per hour than the matching Intel instance. Compare both on the Amazon RDS pricing page before you switch.
Switching to db.t4g requires a short maintenance reboot and lowers monthly instance fees immediately.
Step 3: Avoid Provisioned IOPS Overkill on Storage
Selecting io1 or io2 storage adds a monthly charge for every provisioned IOPS, on top of storage. Check the current rate on the Amazon RDS pricing page: at 5,000 IOPS it adds up quickly.
In modern applications, gp3 is the practical default:
gp3provides 3,000 free IOPS and 125 MB/s throughput out of the box at standard RDS storage rates.- For many small web applications, 3,000 baseline IOPS is enough. Check the
ReadIOPSandWriteIOPSmetrics in CloudWatch before you change anything.
5. Bonus Cleanup: Unassociated Elastic IPs & Idle Load Balancers
Review accounts for two additional idle resource charges:
1. Unassociated Elastic IP Addresses
AWS charges $0.005 per hour (about $3.60 per month) for every public IPv4 address, attached or not (as of November 2026; see the Amazon VPC pricing page). An Elastic IP that is allocated but not associated with anything is pure waste.
Run this command to find unassociated Elastic IPs:
aws ec2 describe-addresses \
--query "Addresses[?AssociationId==null].{IP:PublicIp,AllocationId:AllocationId}" \
--output table
Release the idle IP address using:
aws ec2 release-address --allocation-id eipalloc-0123456789abcdef0
2. Zombie Load Balancers
Teams often test services and delete container tasks without removing the Application Load Balancer (ALB). AWS keeps charging an hourly fee per ALB (about $16 a month in US East, as of November 2026; see the official Elastic Load Balancing pricing page) plus load balancer capacity unit (LCU) charges.
List active load balancers using:
aws elbv2 describe-load-balancers \
--query "LoadBalancers[*].{Name:LoadBalancerName,DNS:DNSName,Created:CreatedTime}" \
--output table
Delete unneeded load balancers to remove ongoing hourly charges.
6. Setting Up AWS Budgets: Preventing Future Bill Shock
Correcting existing waste solves current overspending. Automated alerts protect against future cost spikes.
Configure an AWS Budget with threshold alerts rather than waiting for month-end invoices.
┌────────────────────────────────────────────────────────────────────────┐
│ RECOMMENDED AWS BUDGET ALERT MATRIX │
├────────────────────────────────────────────────────────────────────────┤
│ ALERT 1 (Forecast Alert): │
│ • Condition: Forecasted monthly spend exceeds 100% of budget. │
│ • Action: Sends email alert when a mid-month spike begins. │
│ │
│ ALERT 2 (Actual 80% Warning): │
│ • Condition: Actual month-to-date spend reaches 80% of budget. │
│ • Action: Email, or an Amazon SNS topic that forwards to Slack. │
│ │
│ ALERT 3 (Actual 100% Critical Alert): │
│ • Condition: Actual month-to-date spend hits 100% of budget. │
│ • Action: Email plus an SNS topic that pages the technical founder. │
└────────────────────────────────────────────────────────────────────────┘
You can define an AWS Budget in Terraform quickly:
# budgets.tf - Automated Startup Cost Guard
resource "aws_budgets_budget" "monthly_saas_budget" {
name = "monthly-total-saas-spend"
budget_type = "COST"
limit_amount = "1000"
limit_unit = "USD"
time_unit = "MONTHLY"
# Alert when forecasted spend exceeds budget
notification {
comparison_operator = "GREATER_THAN"
threshold = 100
threshold_type = "PERCENTAGE"
notification_type = "FORECASTED"
subscriber_email_addresses = ["[email protected]"]
}
# Alert when actual spend reaches 80%
notification {
comparison_operator = "GREATER_THAN"
threshold = 80
threshold_type = "PERCENTAGE"
notification_type = "ACTUAL"
subscriber_email_addresses = ["[email protected]"]
}
# Alert when actual spend reaches 100%
notification {
comparison_operator = "GREATER_THAN"
threshold = 100
threshold_type = "PERCENTAGE"
notification_type = "ACTUAL"
subscriber_email_addresses = ["[email protected]"]
}
}
7. Tracking AWS Costs in Your Product Margins
Cleaning up NAT Gateways, removing orphaned EBS disks, and right-sizing RDS instances can cut a large part of an AWS bill.
Founders must still evaluate their wider financial health:
"What is our true gross margin after accounting for AWS hosting costs and payment processing fees?"
Subscription metrics tools inspect payment processors like Stripe or Paddle. They track gross Monthly Recurring Revenue (MRR) without factoring in hosting invoices.
Illustrative example, one month for one product:
- Revenue: $28,400.00
- AWS costs: -$2,850.00
- Payment fees (Stripe or Paddle): -$980.00
- Profit: $24,570.00 (86.5% margin)
RealMRR replaces the spreadsheet. It reads revenue from Stripe, Paddle or Lemon Squeezy and costs from OpenAI and Anthropic through their APIs, and shows revenue, costs and profit for each product.
Add your AWS bill as a manual expense. If several products share the bill, use your AWS cost allocation tags to split the total and enter each product’s share.
8. Summary: The 30-Minute AWS Cost Audit Checklist
Review these steps to complete your infrastructure audit:
1. Network & Routing Optimization
- S3 VPC Gateway Endpoint deployed across private route tables ($0.00 cost).
- Multi-AZ NAT Gateways consolidated to a single gateway for non-critical workloads.
2. Storage & Disk Cleanup
- Unattached EBS volumes in
availablestate identified and deleted. - Active EBS volumes upgraded from
gp2togp3for a 20% discount. - Unassociated Elastic IP addresses released.
3. Database Right-Sizing
- Non-production RDS databases converted from Multi-AZ to Single-AZ (50% savings).
- RDS instances upgraded from Intel (
db.t3) to AWS Graviton (db.t4g) for 20% lower cost. - Storage confirmed as
gp3with baseline 3,000 IOPS rather than dedicatedio2.
4. Continuous Financial Tracking
- AWS Budgets configured with 80% and 100% threshold alerts.
- AWS costs entered as manual expenses in RealMRR for each product.
Related Reading
- A Minimalist Founder's Guide to AWS Cost Explorer
- How to Track and Allocate OpenAI & Anthropic API Costs Per User
- How to Monitor & Track OpenAI and Claude API Costs by Project
- Why $20k MRR Can Still Leave You Broke: The Broken Unit Economics of AI Wrappers
- RealMRR vs Baremetrics vs ProfitWell: Why Subscription Analytics Fail Modern AI Apps
Know your real profit today.
Connect your payment gateway and cloud bills to get verified profit rankings, automated bookkeeping, and zero guesswork.