Skip to content

Cloud & DevOps

Cloud cost optimisation: where the money goes and how to cut it

Most cloud bills are driven by a handful of line items. Here is where the money usually goes, and the practical levers that bring spend down without hurting reliability.

EveTek Engineering · · 7 min read

Wide view of a modern data centre hall with long rows of server cabinets

Cloud bills rarely jump overnight. They creep. A test environment nobody switched off, a database sized for a launch that never needed it, logs kept forever because nobody set a retention period. Each one is small. Together they can make up a surprising share of the bill.

The good news is that cloud costs follow patterns. Once you know where the money tends to go, cutting it is mostly a matter of visibility and routine. This guide walks through the usual suspects and the levers that work on AWS, Azure and Google Cloud alike.

Start with visibility

You cannot cut what you cannot see. Before changing anything, make sure you can answer one question for every pound or dollar on the bill: which product, team or environment is this for?

Three steps get you there:

  1. Tag everything. Agree a small set of required tags such as environment, team, service and cost-centre. Enforce them with policy (AWS Organizations tag policies, Azure Policy, or Google Cloud organisation policies and labels) so untagged resources are flagged or blocked.
  2. Use the native cost tools. AWS Cost Explorer, Azure Cost Management and the Google Cloud Billing reports all break spend down by service, tag and time. Export the detailed billing data to a warehouse if you want custom reporting.
  3. Set budgets and anomaly alerts. All three providers offer budget alerts and anomaly detection. Route alerts to the team that owns the spend, not a shared inbox nobody reads.

This is the core of what the industry calls FinOps: making engineering teams aware of the cost of what they build, and giving finance a view they can trust. It does not need a dedicated department to start. It needs owners and a monthly review.

Where the money usually goes

Every bill is different, but the same categories appear near the top again and again.

Category What drives it Typical waste
Compute Virtual machines, containers, serverless invocations Oversized instances, idle non-production environments
Managed databases Instance size, provisioned storage and IOPS, replicas Production-sized databases for dev and test; unused replicas
Storage Volume, storage class, snapshots, backups Orphaned disks and snapshots; everything kept in the hottest tier
Data transfer Egress to the internet, cross-region and cross-zone traffic Chatty services split across zones; serving large files without a CDN
Networking NAT gateways, load balancers, public IP addresses NAT processing charges on traffic that could use private endpoints
Observability Log ingestion, metrics, traces, retention Debug-level logs in production; indefinite retention
AI and GPUs Model API calls, GPU instances Largest model used for every request; GPUs left running

Data transfer and networking deserve special attention because they are easy to miss. Traffic between availability zones, NAT gateway processing and internet egress are all charged per gigabyte, and none of them show up as an obvious "server" on the bill. All three major providers also charge for public IPv4 addresses, which adds up across large fleets.

Rightsize and switch off

The quickest wins usually come from paying for less of what you already run.

Rightsize compute and databases. Look at actual CPU and memory use over a few weeks. If an instance rarely goes above 20% CPU, drop a size. AWS Compute Optimizer, Azure Advisor and Google Cloud's Recommender suggest changes based on real usage. Treat their output as a starting point and test before applying.

Schedule non-production environments. Development, test and staging environments often run 24 hours a day but are used for 50 hours a week. Shutting them down overnight and at weekends removes roughly two thirds of their compute cost. Simple scheduled automation does the job.

Clean up orphans. Unattached disks, old snapshots, unused load balancers, idle IP addresses and forgotten test accounts all keep billing. Run a monthly sweep, or automate it with lifecycle rules and scripts.

Autoscale on real demand. If traffic peaks at lunchtime and drops overnight, your capacity should too. Container platforms and managed instance groups can scale on CPU, queue depth or request rate. Serverless options such as AWS Lambda, Azure Functions, Google Cloud Run and Azure Container Apps scale to zero when idle, which suits spiky or low-traffic workloads.

Pay less for what you keep

Once you are running the right amount, pay the lowest rate for it.

Commit to steady usage. If a baseline of compute will run for the next one to three years, commitment discounts are the biggest single lever. AWS offers Savings Plans and Reserved Instances, Azure offers reservations and a savings plan for compute, and Google Cloud offers committed use discounts along with automatic sustained use discounts on some machine types. Commit to your floor, not your peak, and review coverage quarterly.

Use spot capacity for interruptible work. AWS Spot Instances, Azure Spot Virtual Machines and Google Cloud Spot VMs sell spare capacity at a deep discount, with the catch that the provider can reclaim it at short notice. They are a strong fit for CI runners, batch jobs, data processing and stateless workers that can be retried. They are a poor fit for your primary database.

Consider Arm-based instances. AWS Graviton, Azure Cobalt and Google Axion processors often deliver better price-performance than equivalent x86 instances for web servers, containers and many databases. Most modern runtimes (Node.js, Python, Java, .NET, Go) run on Arm without code changes, though you will need multi-architecture container images.

Pick the right managed service tier. Managed databases and caches often come in several tiers. A burstable or serverless tier may be enough for internal tools and low-traffic services.

Tame storage, data transfer and logs

These categories grow quietly because they scale with time, not traffic.

Storage tiering. Object storage has several classes, from frequently accessed to archive. Set lifecycle rules that move objects to cheaper tiers as they age and delete them when they are no longer needed. Intelligent or autoclass tiering options can do this automatically for data with unpredictable access.

Snapshots and backups. Define retention by policy: for example, daily backups kept for 30 days and monthly backups kept for a year. Without a policy, snapshots accumulate forever.

Data transfer. Put a CDN in front of static assets and downloads. Keep services that talk to each other a lot in the same zone or region where your resilience requirements allow. Use private endpoints (AWS PrivateLink and VPC endpoints, Azure Private Link, Google Private Service Connect) to reach cloud services without paying NAT gateway processing charges.

Logs and telemetry. Log at info or warn in production, not debug. Sample high-volume traces. Set retention periods that match how far back you actually investigate, and archive older logs to cheap storage if you need them for compliance.

Watch the new cost centre: AI

AI features have added a fast-growing line to many bills. The costs come from model API tokens, GPU instances for self-hosted models, and the vector databases and pipelines around them.

A few habits keep them in check:

  • Match the model to the task. Smaller, faster models handle classification, extraction and routing well. Reserve the largest models for requests that need them.
  • Use prompt caching and batching where your provider offers them. Both can reduce cost significantly for repeated context or non-urgent work.
  • Cap and monitor usage per feature and per customer, so a single runaway loop does not produce a surprise invoice.
  • Shut down idle GPUs. A GPU instance left running over a weekend can cost more than a month of a small web server.

Make it a habit, not a project

One-off clean-ups work for a few months, then costs drift back. Lasting savings come from routine.

A simple operating rhythm:

  • Weekly: anomaly alerts reviewed by the owning team.
  • Monthly: cost review per team or product, orphan sweep, check of top ten line items.
  • Quarterly: commitment coverage review, rightsizing pass, retention policy check.
  • On every new service: required tags, budget, autoscaling and log retention set before launch.

Build cost into engineering decisions too. When you design a new feature, ask what it will cost to run at expected scale. Show cost per customer or per transaction alongside performance metrics. When teams can see the effect of their choices, they make better ones without being told.

Finally, protect reliability while you cut. Removing redundancy or under-sizing a production database to save a few hundred a month is a poor trade if it causes an outage. Optimise waste first, then commitments, and only then consider architectural trade-offs.

How EveTek can help

Our cloud and DevOps team can review your AWS, Azure or Google Cloud setup, set up tagging, budgets and alerts, and work through the levers above with you. If you would rather have someone keep an eye on spend month to month, that fits naturally into a maintenance and support retainer. Talk to us about where your bill is today.

Keep reading

  • Close-up of API code and JSON responses on a dark editor screen

    Cloud & DevOps

    REST API best practices

    Practical rules for designing REST APIs that developers enjoy using: clear resources, correct status codes, safe retries, sensible pagination, versioning and security.

    · 7 min read

  • A product team sketching a release workflow with arrows and boxes on a whiteboard

    Cloud & DevOps

    CI/CD explained for non-engineers

    What continuous integration and delivery actually mean, why they make releases safer and faster, and the questions to ask any software partner about their pipeline.

    · 7 min read

Ready to build yours?

Tell us what you're planning. You'll get a written plan with scope, timeline and price, usually within a few working days.