Ryan JarrettDiscuss a contract

AWS Cost Optimisation

AWS cost optimisation and platform stability

Bringing AWS hosting costs back in line with traffic, and keeping high-traffic sites up under load. Architecture review, serverless and edge caching, and the fixes that stop outages coming back.

Hosting costs that grow faster than traffic usually point to the architecture, not the AWS price list. Every request that reaches the origin costs money and adds load. Fix how traffic is cached and routed, and the bill and the outages tend to come down together.

At JOE Media I moved eight high-traffic WordPress sites onto serverless AWS. Hosting costs fell by 15% while traffic grew by 120%. The sites now handle more than 2,300 concurrent users a minute with sub-second page loads.

Signs it's worth a look

  • The AWS bill goes up every month, but traffic doesn't.
  • Traffic spikes slow the site down or take it offline.
  • Nobody can say which services the money is going on.
  • Instances were sized years ago and never revisited.
  • The same outage keeps coming back after each fix.

Where the money usually goes

The causes tend to be the same few:

  • Requests that should never reach the origin. Pages and assets that could be cached at the edge are rendered fresh every time.
  • Servers sized for the peak. Instances run all month at the size needed for the busiest hour.
  • Bot traffic. Scrapers and malicious bots use the same compute as real visitors.
  • Slow database queries. One unindexed query, run often enough, can hold up the whole site.
  • Forgotten resources. Old snapshots, unattached volumes and test environments that nobody switched off.

On one WordPress site, a vulnerable plugin query was being triggered over and over by bots. Earlier fixes had dealt with each outage as it happened. Filtering the bots at the edge, restructuring the caching and indexing the database stopped it for good.

How I approach it

  1. Review the account and the architecture. I break the bill down by service and match it against traffic, so it's clear what each part of the platform costs.
  2. Find the biggest wins first. Usually caching and edge routing, then compute sizing, then the long tail.
  3. Look at the traffic. I check how much of it is bots, and filter what shouldn't be there with WAF rules.
  4. Change the architecture where it pays. That might mean moving to serverless or managed services, or simply restructuring the cache.
  5. Fix the database bottlenecks that cause slowdowns under load.
  6. Automate the deployment, so changes go out in minutes and can be rolled back.
  7. Measure the result against the baseline from step 1.

Working together

An Architecture Audit is a fixed-fee review of your AWS account and platform. It ends with a list of changes, what each should save and what it would take. Project Delivery covers making those changes, from the plan to production. I'm available immediately for contract work, inside or outside IR35.

Related Case Studies

Common Questions

How much can you cut from our AWS bill?
I can't give a figure before looking at your account and architecture. On the JOE Media estate, hosting costs fell by 15% while traffic grew by 120%, so the cost per visitor dropped much further than the bill itself. The audit tells you where the money goes and what each change is likely to save.
Do we have to move to serverless?
No. Serverless suits spiky, read-heavy traffic like media sites, but it isn't the answer for everything. Often the bigger savings come from caching at the edge, rightsizing instances and removing resources nobody uses any more.
Will changes mean downtime?
They shouldn't. Changes are made in stages, tested away from production, and released with a way to roll back. Database work is planned so the site stays up.
Do you work with Cloudflare as well as AWS?
Yes. Cloudflare in front of AWS is a setup I use often, for caching, WAF rules and bot filtering at the edge, so less traffic reaches the origin at all.
Do you work inside or outside IR35?
Either. I'm available immediately, working remotely or hybrid in London, and happy to contract directly or through an agency.

Get in touch

Tell me what you're running now and what you want to change, and we can work out whether it's worth doing.