May 30, 2026

Architecture-First: How We Cut Cloud Bills Without Cutting Capability

Most cloud overspend is an architecture problem wearing a billing costume — and the teams that fix it permanently start with the diagram, not the invoice. Here is the exact order we work in to take 20–40% out of a cloud bill without a feature freeze.

All posts

You open the AWS bill. It's up 34% month-over-month. Engineering says nothing changed. Finance wants answers by Friday. The instinct — almost universal — is to find the biggest number on the invoice and turn it down. That works once. It does not work twice.

Cloud cost optimization analytics dashboard

In this post

  1. The bill is a symptom
  2. Step 1: Attribution before action
  3. Step 2: Right-sizing compute
  4. Step 3: Commitment strategy
  5. Step 4: Data transfer — the silent killer
  6. What you get at the end

The bill is a symptom

A cloud bill is a financial printout of your architecture. Every line item — EC2, RDS, data transfer, NAT gateway, S3 requests — is a consequence of decisions made in Terraform files and Confluence documents months or years ago. When the bill grows faster than your product, it usually means one of three things: your architecture was never designed for the load it is now running, it was designed for a load that no longer exists, or it was designed by a team that had no visibility into cost at the time.

Cutting the biggest line item in isolation treats the symptom. An oversized RDS instance is not a database problem — it is a query-design problem, or a caching-layer problem, or a read-replica-routing problem. Turn it down without fixing those, and you have a slower database and the same bill back in six months.

The order matters. Cost is downstream of architecture. So we start with the architecture.

Step 1: Attribution before action

You cannot optimize what you cannot measure, and you cannot measure what you cannot attribute. The first thing we do on every engagement is build a complete cost attribution map: every AWS resource tagged and traced back to the workload, team, environment, and business unit that owns it.

Most organizations have partial tagging. A third of their resources have no tags at all — typically the ones provisioned manually, imported from an acquisition, or created by a developer at 11 PM to unblock a demo. Those untagged resources often represent 20–30% of the bill.

Here is the tagging policy we apply as a baseline across AWS accounts:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "RequireTagsOnCreate",
      "Effect": "Deny",
      "Action": [
        "ec2:RunInstances",
        "rds:CreateDBInstance",
        "elasticloadbalancing:CreateLoadBalancer",
        "ecs:CreateService",
        "lambda:CreateFunction",
        "s3:CreateBucket"
      ],
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:RequestTag/workload": "true",
          "aws:RequestTag/environment": "true",
          "aws:RequestTag/team": "true"
        }
      }
    }
  ]
}

This policy is attached to every account via AWS Organizations SCPs so it applies before any resource is created. Existing untagged resources get a retroactive audit pass using AWS Config rules and a short remediation sprint.

Once attribution is complete, we run Cost Explorer with grouping by workload tag. Nine times in ten, two or three workloads account for 60–70% of the bill — and the team that owns them has never seen those numbers before.

Server infrastructure and cloud resources

Step 2: Right-sizing compute

Right-sizing is not about buying less compute. It is about buying the right compute. The two failure modes we see most often are polar opposites: teams that provisioned for peak-of-peak traffic two years ago and never revisited, and teams running on instance families chosen because someone copy-pasted a tutorial from 2019.

The target utilization range we work toward is 60–80% CPU and memory at the 80th percentile — not average, not peak. Average smooths over spikes. Peak creates permanently over-provisioned infrastructure. The 80th percentile gives you meaningful headroom while still revealing waste.

The data source is CloudWatch. We pull 30 days of CPUUtilization and memory metrics (via CloudWatch agent) across every EC2 instance and ECS task, then build a utilization heatmap per service. Instances consistently below 20% CPU across all percentiles are candidates for downsizing or consolidation. Instances consistently above 80% may actually need resizing upward — or more likely, a horizontal scaling policy.

Beyond size, instance family matters enormously. The migration from m5 to m7g (Graviton3) delivers 20–40% better price-performance on most general-purpose workloads with no application code changes. For compute-intensive services, the c7g family is even more pronounced. A typical engagement that starts on m5.xlarge instances and moves to m7g.xlarge sees 15–25% cost reduction on EC2 alone, before any other changes.

RDS follows the same logic. db.m5 to db.m7g for PostgreSQL and MySQL delivers similar savings, and Aurora I/O-Optimized pricing eliminates I/O charges for databases that do more than 1 million I/O operations per day — which is most production databases.

Step 3: Commitment strategy

On-demand pricing is the right choice for unpredictable, experimental, or short-lived workloads. For anything running continuously, it is an expensive default.

AWS offers two main commitment instruments: Savings Plans and Reserved Instances. Savings Plans are the more flexible of the two — a Compute Savings Plan covers EC2, Fargate, and Lambda regardless of instance family, region, or OS, which means you can modernize your infrastructure (move from m5 to m7g, shift a workload to Fargate) without losing your discount. Reserved Instances lock to a specific instance family and region but offer slightly higher discounts for that specificity.

The question is not which to use — it is how much to commit. Over-committing is a real risk. Teams that bought three-year Reserved Instances for a workload they eventually moved to a managed service are still paying for compute they do not use.

Our approach: model your baseline load — the compute your application runs at 3 AM on a Tuesday, when traffic is at its lowest. That is your safe commitment floor. Commit 80–90% of that floor on a one-year Savings Plan. Use on-demand for everything above it, and re-evaluate every six months as your baseline grows.

For most teams, the one-year / three-year split lands at roughly 70/30 of committed spend. The three-year tranche is reserved for infrastructure that has been stable for at least 24 months and has no planned architectural change — database nodes, core network infrastructure, long-running batch compute. Everything else is one-year or on-demand.

Combined with right-sizing, commitment coverage typically delivers an additional 15–25% reduction on top of the right-sizing savings.

Step 4: Data transfer — the silent killer

Data transfer charges are the most underestimated line item on every bill we have reviewed. They appear small in isolation — a few cents per gigabyte — but at production scale, across a distributed architecture, they compound invisibly.

The taxonomy is important. Cross-AZ traffic (between availability zones within the same region) costs $0.01/GB in each direction. Cross-region traffic costs $0.02–$0.09/GB depending on the region pair. Egress to the public internet starts at $0.09/GB. None of these charges appear on the service bill that generated them — they appear on the EC2 line under "Data Transfer," which is why they are routinely missed.

We worked with a data platform team running a real-time analytics pipeline — Kafka producers in us-east-1a, Kafka brokers spread across all three AZs, consumers in us-east-1b, with results written to S3 and queried via Athena. Perfectly reasonable architecture. Their data transfer bill was $8,200/month. They had no idea. The Kafka cluster was generating 3TB/day of cross-AZ replication traffic — $900/month — and the consumers were reading from the wrong AZ, adding another $1,100/month. The remaining $6,200 was egress from their API tier to customer dashboards that could have been routed through CloudFront for a fraction of the cost.

Three changes: pinned Kafka consumers to their local AZ via client.rack configuration, added a VPC endpoint for S3 (eliminating NAT gateway charges for S3 traffic entirely), and placed CloudFront in front of the API. Monthly transfer cost dropped to $1,400.

The principle extends to every service. RDS read replicas should be in the same AZ as the application tier that reads from them. S3 access should go through VPC endpoints, not through the internet gateway. Services that exchange high volumes of data should be co-located in the same AZ and use private IP addressing.

VPC endpoints deserve special attention. Interface endpoints for common services (SSM, Secrets Manager, ECR, CloudWatch) eliminate both NAT gateway charges and internet exposure for those calls. For teams running large ECS or EKS clusters pulling images from ECR, the NAT gateway savings alone often pay for the endpoints within the first month.

What you get at the end

At the close of an engagement, we deliver a written report structured around the decisions your team needs to make — not a list of findings that requires a consultant to interpret.

The report includes: an executive summary with the total cost reduction opportunity and confidence band, segmented by category (right-sizing, commitment, data transfer, architecture changes); an annotated architecture diagram showing the current state, the recommended target state, and the delta between them; a line-by-line cost model that projects 12-month spend under current architecture versus recommended architecture, with sensitivity analysis for growth scenarios; and a prioritized remediation roadmap with effort estimates, risk levels, and dependency ordering so your team can sequence the work without re-doing the analysis.

You own the report. The findings are yours whether you implement them with us or hand them to your internal team.

If your cloud bill has grown faster than your engineering team, it is usually an architecture problem — and architecture problems have architecture solutions. Get in touch if you would like us to take a look.