TL;DR
Learn how to use metrics, traces, and logs to find 10 overlooked ways to cut overall cloud costs. You’ll see how to spot unused Kubernetes capacity, repeated calls that drive up request charges, and duplicate log ingestion, then check whether your fixes reduced usage.
IntroductionÂ
If you’re running workloads in the cloud, your bill tends to grow as your business handles more traffic and stores more data. There are plenty of ways to cut cloud costs, from resizing instances to changing storage tiers. The hard part is knowing which changes will actually save you money.
Observability gives you a place to start. In Middleware, metrics can reveal unused capacity, traces can uncover repeated calls, and logs can show which service is driving up ingestion.Â
More contextÂ
- Traces show which service called which, how often, and from which zone.
- Metrics show what a workload reserved versus what it used.
- Logs show who generates volume nobody reads.
The usual advice (Reserved Instances, Spot, storage tiering) is in our AWS cost reduction guide. This list covers waste that only shows up when you read infrastructure metrics, traces, and logs together. Here are 10 overlooked cloud savings you can find using the data you already collect on cloud platforms such as AWS and Azure.
- Kubernetes resource requests far above real usage
- Cross-AZ and NAT Gateway traffic nobody mapped
- Retry storms that multiply per request charges
- N+1 queries that push databases into bigger tiers
- Debug logging left on in production
- Custom metrics with runaway cardinality
- Serverless memory set once and never revisited
- Autoscaling floors sized for an old peak
- Load balancers and public IPs serving nobody
- Paying twice for the same telemetry
10 overlooked cloud savings
1. Kubernetes resource requests nobody revisited
Kubernetes schedules pods on what they request, not what they use. A pod that requests 2 vCPU and averages 0.3 still reserves the full 2 on its node. The cluster autoscaler then adds nodes to fit those reservations, so node CPU can sit at 35% while you pay for capacity held by empty requests. Cost Explorer only sees more EC2 or more AKS VMs.
What to look for: Requested CPU and memory against p95 actual usage per deployment over two to four weeks. The gap is your waste number. Group it by namespace in Kubernetes monitoring so each team sees its own slack.
# CPU requested but unused, by namespace
sum by (namespace) (kube_pod_container_resource_requests{resource=”cpu”})
 – sum by (namespace) (rate(container_cpu_usage_seconds_total{container!=””}[5m]))
What it can cost: 40 pods that each request 2 vCPU and use 0.3 hold 68 idle vCPU. That is about 17 m5.xlarge nodes, or roughly $2,400 a month on demand.
Fix: Set requests near p95 usage plus a margin. Keep memory requests honest, because memory pressure ends in OOM kills, not throttling. The Kubernetes docs on requests and limits explain how the scheduler uses each. This works the same on EKS and AKS.
2. Cross-AZ and NAT Gateway traffic nobody mapped
AWS charges $0.01 per GB in each direction for data that crosses availability zones in the same region, so every cross-zone GB costs $0.02 in total. Traffic from private subnets to S3, ECR, or DynamoDB through a NAT Gateway pays a $0.045 per GB processing fee on top of the gateway’s hourly rate. Both land under broad line items (regional data transfer and “EC2 Other”) with no hint of which service caused them.
What to look for: Add the zone as a resource attribute on your spans (OpenTelemetry uses cloud.availability_zone). Group service calls by caller zone and callee zone. High-volume pairs that cross zones are your candidates. For NAT, look for spans or flow log entries from private subnets to s3.amazonaws.com, ECR, or DynamoDB endpoints.
What it can cost: Two chatty services moving 50 TB a month across zones pay about $1,000 a month. Pulling 10 TB of S3 data through a NAT Gateway adds $450 a month in processing alone.
Fix: Turn on Topology Aware Routing in Kubernetes, give caches and read replicas zone affinity, and keep the chattiest pairs in one zone where your availability design allows it. Add S3 and DynamoDB gateway endpoints, which carry no hourly or per GB charge. On Azure, cross-zone transfer has been free since May 2024, so focus there on cross-region traffic and Azure NAT Gateway processing instead.
3. Retry storms that multiply per-request charges
Lambda invocations, API Gateway calls, DynamoDB request units, Azure Functions executions, and Service Bus operations all bill failed attempts too. A client with aggressive retries and no backoff turns one user action into five billed calls during a partial outage. Lambda also retries failed asynchronous invocations twice by default. The pattern often keeps running quietly after the incident ends.
What to look for: Traces where the same downstream operation repeats several times inside one request. Also compare invocation counts against real user traffic from RUM or load balancer request counts. If invocations climb while users stay flat, something is retrying.
What it can cost: A function billed for 20 million calls a month that should be billed for 4 million is paying 5x for the same work, plus the extra DynamoDB and downstream calls each retry makes.
Fix: Add exponential backoff with jitter, cap retries with a retry budget, and put circuit breakers in front of flaky dependencies. Set a dead letter queue and a lower retry count on async Lambda triggers. The AWS Builders’ Library guide on timeouts, retries, and backoff with jitter is the best practical reference.
4. N+1 queries that push databases into bigger tiers
When database CPU climbs, the default move is a bigger RDS or Azure SQL tier. Often the real cause is an ORM loop issuing one query per row, so a single page load fires 200 nearly identical SELECT statements.
What to look for: In APM, find requests with dozens or hundreds of similar database spans. In database monitoring, sort queries by call count, not just by duration. Cheap queries that run millions of times drive CPU.
What it can cost: Each RDS instance class step roughly doubles the hourly price. A database moved up one class to absorb N+1 load costs twice what it needs to.
Fix: Batch the queries or use eager loading, then watch CPU for a week before touching instance size. Fix demand first, then size the database. Teams often find they can step back down a tier.
5. Debug logging left on in production
CloudWatch charges $0.50 per GB for standard log ingestion. On Azure, the Analytics Logs plan is the most expensive of the three Log Analytics plans. One service left at DEBUG after an incident can push tens of gigabytes a day, and nobody notices because the bill just says “logs.”
What to look for: Log volume by service and by level, plus the top log patterns by bytes. Health check hits and “200 OK” access lines are usually near the top.
# CloudWatch Logs Insights: noisiest log streams by bytes
stats sum(strlen(@message)) as bytes by @logStream
| sort bytes desc
| limit 20
What it can cost: One service at DEBUG writing 40 GB a day costs about $600 a month in ingestion before any storage or query charges.
Fix: Run production at INFO or WARN, with a way to raise the level for one service on demand. Drop health check noise before ingestion with an observability pipeline. Route verbose sources to cheaper classes: CloudWatch Infrequent Access cuts ingestion by about half, and Azure Basic or Auxiliary Logs cost less than Analytics. Set retention on every CloudWatch log group, since new groups never expire by default. Lambda logs now get tiered vended log pricing, but the first 10 TB a month still bills at $0.50 per GB.
6. Custom metrics with runaway cardinality
Classic CloudWatch custom metrics bill every unique combination of metric name and dimensions as a separate metric, at $0.30 per metric per month for the first 10,000 and $0.10 for the next 240,000. Add a user_id or a raw URL path as a dimension, and one metric becomes thousands overnight. CloudWatch now also accepts OpenTelemetry metrics at $0.50 per GB with no per-series charge, but high cardinality still inflates bytes, query cost, and dashboard load in any backend.
What to look for: Series count per metric name, and any dimension whose values are unbounded (IDs, emails, full paths, timestamps).
# Metric names with the most series
topk(20, count by (__name__) ({__name__=~”.+”}))
What it can cost: One latency metric with a user_id dimension and 20,000 active users creates 20,000 series. That is about $4,000 a month for a single chart.
Fix: Remove unbounded dimensions, normalize paths into route templates (/orders/{id}), and move per-request detail into traces or logs where it belongs. Our guide to reducing observability costs covers more ways to trim telemetry without losing signal.
7. Serverless memory set once and never revisited
Lambda bills duration multiplied by configured memory, so a function set to 1,024 MB that peaks at 180 MB pays for memory it never touches. See Lambda pricing for current rates. On Azure, Functions Premium plans bill for the instances you keep warm, so plan size and minimum instance count deserve the same review.
What to look for: The Max Memory Used value in each Lambda REPORT log line against configured memory, alongside p99 duration in serverless monitoring.
# CloudWatch Logs Insights, run across your Lambda log groups
filter @type = “REPORT”
| stats max(@maxMemoryUsed / 1000 / 1000) as peak_mb,
    max(@memorySize / 1000 / 1000) as configured_mb
 by @log
| sort configured_mb desc
What it can cost: Dropping a function from 1,024 MB to 256 MB cuts its duration charge by 75%, provided duration stays flat.
Fix: Test a few memory settings per function. Lambda allocates CPU in proportion to memory, so CPU-bound functions sometimes get cheaper with more memory because they finish faster. AWS Lambda Power Tuning automates the comparison.
8. Autoscaling floors sized for an old peak
Minimum replica counts, Auto Scaling group minimums, and VM Scale Set minimums often get raised during a launch or an incident and never come back down. At 3 a.m. with 5% of daytime traffic, you are still running 12 pods.
What to look for: Overlay replica or instance count on request rate for a full week. If the count stays flat through every overnight trough, the floor is doing the scaling, not demand.
What it can cost: A floor of 12 that could drop to 3 for 10 quiet hours a day wastes 90 pod hours daily, about a third of that service’s compute.
Fix: Lower the floor, add scheduled scaling for known quiet hours, and scale on request rate or queue depth instead of CPU alone. Our autoscaling explainer walks through the policy options.
9. Load balancers and public IPs serving nobody
Since February 2024, AWS charges $0.005 per hour for every public IPv4 address, attached or not. That is about $3.65 a month per address. Idle load balancers add their own hourly charge on top, and Azure Standard public IPs bill hourly as well.
What to look for: Load balancers with zero requests for 14 days, target groups with no healthy targets, and nodes that hold a public IP but only make outbound calls.
What it can cost: A fleet with 200 public IPs costs roughly $730 a month before it serves a single request.
Fix: Delete what is idle and consider IPv6 where your stack supports it. AWS Public IP Insights lists every public IPv4 address in your account. If you move worker nodes to private subnets, add VPC endpoints at the same time, or the IP saving turns into NAT Gateway processing charges (see item 2).
10. Paying twice for the same telemetry
Teams adopt a full stack observability platform and leave the native pipelines running: CloudWatch Logs subscriptions, Container Insights, Application Insights, VPC Flow Logs into CloudWatch. The same log line gets ingested and stored twice, once in each system.
What to look for: Log groups and Log Analytics workspaces with no queries, dashboards, or alerts reading them in the last 30 days.
What it can cost: 500 GB a month duplicated into CloudWatch adds $250 a month in ingestion, plus storage, on top of what your main platform already charges for the same data.
Fix: Pick one system of record. Collect once with OpenTelemetry and fan out from the collector if you truly need two destinations. Logs kept only for compliance can go straight to object storage.
Where each saving shows up
Use this table to match a line item on your bill to the signal that explains it. Low effort items are usually a config change one team can ship in a day.
| Saving | Main signal | AWS line item | Azure line item | Effort |
|---|---|---|---|---|
| Kubernetes requests | Requested vs used CPU and memory | EC2 (EKS nodes) | Virtual Machines (AKS nodes) | Medium |
| Cross-AZ and NAT traffic | Spans tagged by zone, flow logs by destination | Regional data transfer, EC2 Other (NAT) | NAT Gateway (no inter-zone charge) | Medium |
| Retry storms | Repeated spans per trace | Lambda, API Gateway, DynamoDB | Functions, Service Bus | Medium |
| N+1 queries | Database span count per request | RDS | Azure SQL Database | Medium |
| Debug logging | Log bytes by service and level | CloudWatch Logs | Log Analytics | Low |
| Metric cardinality | Series count per metric | CloudWatch metrics | Azure Monitor metrics | Low |
| Serverless memory | Max memory used vs configured | Lambda | Functions Premium | Low |
| Autoscaling floors | Replica count vs request rate | EC2, EKS | VM Scale Sets, AKS | Low |
| Idle LBs and IPs | Request count, public IP inventory | ELB, public IPv4 | Load Balancer, Public IP | Low |
| Duplicate telemetry | Unread log groups and workspaces | CloudWatch Logs | Log Analytics | Low |
How to run a monthly cost review with Middleware
One cleanup pass saves money once. A monthly review keeps it saved. Here is the loop we recommend.
- Connect both clouds in one place. Hook up the AWS and Azure integrations so infrastructure, Kubernetes, and serverless data sit next to traces and logs. Comparing requests to usage, or invocations to user traffic, only works when both live in the same view.
- Tag telemetry with owner and zone. Add service.name, team, deployment.environment, and cloud.availability_zone as resource attributes. Every number in this list becomes a per-team number, and per-team numbers get fixed.
- Build one cost signals dashboard. Put the ten signals from the table above on a single dashboard: request gap per namespace, cross-zone call volume, retries per trace, log bytes by service, series count by metric, and so on.
- Alert on drift, not just spend. Set alerts for a log volume jump on one service or a new metric dimension blowing up. You catch the change in a day instead of on next month’s invoice.
- Let OpsAI do the first pass. When a signal moves, OpsAI traces it back to the service, deploy, or config change behind it, so the owning team starts from a cause instead of a chart.
- Filter before you store. Use the observability pipeline to drop health checks and duplicate logs at ingestion, so your monitoring bill does not become item eleven.
The last step matters more than it looks. Observability is one of the fastest-growing lines on a cloud budget. MindOrigin cut its observability costs by 75% after moving to Middleware, and Middleware bills per GB ingested, not per host, so filtering at the pipeline lowers your bill directly.
Summary
The biggest cloud savings rarely sit in the obvious line items. They hide in reservations nobody revisited, traffic nobody mapped, and telemetry nobody reads. Billing tools tell you where money went. Metrics, logs, and traces tell you why, and that turns a cost report into a fix.
Start with the two or three signals that match your largest line items, assign an owner to each, and review them monthly so waste does not creep back.
FAQs
How is observability different from a cloud cost management tool?
Cost tools tell you how much each service, account, or tag spent. Observability tells you why: which code path, dependency, or config change drove the usage. You need both. Cost tools find the expensive line item, and telemetry finds the cause behind it.
Which cloud costs are hardest to spot on an AWS bill?
Cross AZ data transfer, NAT Gateway processing, log ingestion, and custom metrics. All four get rolled into broad line items like regional data transfer, EC2 Other, or CloudWatch, with no link to the service that generated them. Traces and log volume breakdowns close that gap.
Does Azure charge for traffic between availability zones?
No. Azure stopped charging for data transfer between availability zones in May 2024, for both private and public IPs. Cross-region transfer, internet egress, and NAT Gateway processing are still billed.
Do these savings apply to Azure as well as AWS?
Nine of the ten do. Kubernetes requests, retry storms, N+1 queries, debug logging, metric cardinality, serverless sizing, autoscaling floors, idle IPs, and duplicate telemetry all show up on AKS, Azure Functions, Azure SQL, and Log Analytics. Cross-zone traffic is the exception, since Azure no longer bills it.
What is the fastest saving to find?
Debug logging and duplicate telemetry. Sort log volume by service and level, and list log groups nobody queried in 30 days. Both take under an hour to find and one config change to fix.
Will reducing logs and metrics hurt incident response?
Not if you cut the right data. Health check lines, DEBUG output, and unbounded metric dimensions rarely help during an incident. Keep error and warning logs, sample high-volume traces instead of dropping them, and make it easy to raise one service’s log level when you need more detail.
How often should teams review cloud waste?
Monthly for the full review, with alerts for sudden changes in between. Most of the waste in this list returns slowly through deploys and config drift, so recurring checks beat a one-time cleanup.
Can the observability tool become a big cost itself?
Yes, especially with per-host or per-metric pricing. Filter noisy data before ingestion, avoid sending the same telemetry to two tools, and choose a platform whose pricing tracks the data you send. Our guide on reducing observability costs goes deeper.

