Text size
On My Radar6 min read

Leaving the cloud: when it makes sense

Some companies saved millions by moving back to their own servers. Could you?

Leaving the cloud: when it makes sense
AI-generated editorial illustration

For about fifteen years, the direction was obvious: everything moves to the cloud. Data centres were closing, "cloud first" was official strategy, and running your own servers felt old-fashioned.

Then some companies started going the other way, very publicly. They moved workloads out of the public cloud and back onto their own hardware, and reported big savings. "Cloud repatriation" became a hot topic.

So is the cloud a rip-off? Not quite. But it's worth understanding when leaving makes sense.

The famous cases

The best-known example is 37signals, the company behind Basecamp and HEY. Starting in 2022, they moved their applications off AWS onto their own servers in rented data centre space, and published their reasoning and numbers along the way. They reported substantial annual savings, expected to add up to millions of dollars over several years, without growing their operations team significantly. They later also moved their storage out of S3.

Other companies have made similar moves for specific workloads: those with heavy storage needs, large and steady compute requirements, or high bandwidth costs. AI has also introduced a new angle: some companies find that buying GPUs is cheaper than renting them for workloads that run continuously.

At the same time, many more companies continue moving into the cloud. Repatriation is a real trend, but not a mass exodus.

Doing the math

The cloud's pricing model is great for some workloads and expensive for others.

The cloud is usually cheaper when: - Load is spiky or unpredictable, and you scale up and down a lot. - You're small or growing fast, and can't predict next year's needs. - You use many managed services that would require specialists to run yourself. - You need global presence quickly. - Your team is small and should focus on the product.

Your own hardware can be cheaper when: - Load is large and steady, running 24/7 at high utilisation. - You store huge amounts of data, or move a lot of it out (egress fees add up). - You need lots of GPUs constantly. - You have, or can hire, people with infrastructure and hardware skills. - You plan to keep the setup for many years.

When comparing, include everything: hardware, data centre space or colocation, power, network, spare parts, hardware refresh cycles, staff time, on-call, security, compliance, and the software you'll need to replace managed services. Also include the cost and risk of the migration itself.

The cloud charges you for flexibility. If you don't use the flexibility, you're paying for something you don't need.

It's not all or nothing

Very few companies move everything. More common patterns:

  • Hybrid: steady, heavy workloads on owned or rented hardware; spiky, experimental and globally distributed workloads in the cloud.
  • Rented dedicated servers (like Hetzner, OVHcloud and others) instead of buying hardware, a middle ground with much lower prices than cloud VMs and no data centre to manage.
  • Colocation: your hardware, someone else's building, power and network.
  • Cloud for managed data services, own hardware for compute, or the other way round.

The tools for on-prem

The tooling for running your own infrastructure is much better than ten years ago:

  • Kubernetes gives you a cloud-like platform on any hardware. Distributions like Talos, k3s, RKE2 and OpenShift, plus Cluster API, make it manageable.
  • Proxmox and other virtualisation platforms have become popular, especially after VMware's licensing changes pushed many companies to look for alternatives.
  • OpenStack for larger private clouds with an AWS-like API.
  • Ceph, MinIO and similar for storage.
  • Infrastructure as code and GitOps work exactly the same on your own hardware.
  • Bare-metal provisioning tools (like Tinkerbell, MAAS, or Talos with Omni) automate the hardware layer.

What you take on

Leaving the cloud means owning problems the cloud hid from you:

  • Hardware fails. Disks die, power supplies break, someone needs to replace them.
  • Capacity planning: you can't add a hundred servers in five minutes.
  • Physical security, networking, power redundancy.
  • Patching firmware, hypervisors and operating systems.
  • Replacing managed databases, queues and other services with things you operate.

If your team isn't prepared for that, the savings disappear quickly.

So, should you leave the cloud?

Probably not entirely. But if you have large, steady workloads and big bills, it's worth running the numbers honestly. The answer might be "move this one heavy workload to dedicated servers", which can save a lot without giving up the cloud's advantages for everything else.

My take: the cloud isn't always the cheapest option, just the most convenient one. Know which one you're paying for.

— Desly