# 37signals Cloud Exit: From AWS to Owned Servers | gen2.dev

> Why 37signals moved Basecamp and HEY off AWS onto its own hardware in six months, what it cost, what it saved, and the S3 storage move that came last.

Source: https://gen2.dev/cases/37signals-cloud-exit/

---

Case file 38

# 37signals leaves the cloud: renting servers, then owning them again

In October 2022, 37signals said renting computers was a bad deal for a company like it. Eight months later every application was on its own hardware, and the last petabytes of storage followed in 2025.

![Slide: a rented cloud with a cloud bill of 3.2 million dollars a year, six months to owned servers, and the cloud bill down to 1.3 million, with the same team.](https://gen2.dev/img/case-37signals-cloud-exit.png)

Most cloud stories in this field run one way: off your own servers, onto someone else's. 37signals, the company behind Basecamp and HEY, went back the other way, and it published the numbers as it went. The company's earlier [Basecamp rewrite](https://gen2.dev/cases/basecamp/) is a separate case.

All the figures below are 37signals' own, from posts by David Heinemeier Hansson, its co-owner and CTO.

## Gen 1

Basecamp had "one foot in the cloud for well over a decade," and HEY, the email service, had run there "exclusively since it was launched two years ago." The company had used Amazon's and Google's clouds, bare virtual machines and Kubernetes.

The cloud did one thing very well for them. When HEY launched, "300,000 users signed up to try our service in three weeks instead of our forecast of 30,000 in six months."

The bill was the problem. Hansson wrote that HEY alone was "paying over half a million dollars per year for database (RDS) and search (ES) services from Amazon," and the whole cloud budget for 2022 was $3.2 million, "incredibly optimized, with long service commitments, scrupulous right-sizing and monitoring."

## The decision

The announcement on October 19, 2022 put it in one line: "Renting computers is (mostly) a bad deal for medium-sized companies like ours with stable growth." The promised saving in labor never came: "I've yet to hear of organizations at our scale being able to materially shrink their operations team, just because they moved to the cloud."

Hansson named where the cloud does win: for very simple, low-traffic apps, and "when your load is highly irregular." Neither described Basecamp: "They never did for Basecamp."

## What happened

The move was faster than expected. Hansson's June 2023 post: "after six months of effort, it's done. We're out."

-   **The older apps first.** Six "heritage services" that 37signals no longer sells but still supports, including Basecamp Classic and Highrise, moved to the new hardware.
-   **HEY in stages.** HEY "was born in the cloud," and the team moved it "in several stages, with different databases, cache servers, mail services, and app instances moving independently over the course of a few weeks."
-   **The hardware.** About half a million dollars bought "4,000 vCPUs with 7,680 GB of RAM and 384TB of NVMe storage," split across two data centers.
-   **The tooling.** KVM for virtual machines, Docker for the applications and Kamal, a tool Hansson wrote, for "zero-downtime app deploys and rollbacks." That avoided Kubernetes and enterprise service contracts.
-   **The team stayed the same.** The cloud exit was done "without changing the size of the operations team at all."

The work of moving into the cloud years earlier paid off on the way out: "all that work to containerize our applications and prepare them for the cloud actually turned out to make it relatively easy to exit."

## The results

The December 2023 FAQ said "customers scarcely noticed anything," and that by September the company had "secured a million dollars in savings on the cloud bill."

The October 2024 update gave the first full year: "we've brought the cloud bill down from the original $3.2 million/year run rate to $1.3 million." The Dell hardware, "about $700,000 in the end," was "entirely recouped during 2023."

## The last piece: storage

The remaining $1.3 million was Amazon S3, held by a four-year contract that ended on June 30, 2025. Hansson wrote that missing that date would cost "five thousand dollars a day." The replacement was 18 petabytes of Pure Storage across two data centers, with an S3-compatible interface, so the applications barely changed.

Moving the files was its own project. In a 37signals engineering episode, Principal Programmer Jeremy Daer described "five petabytes of data" in "on the order of about five billion objects," copied with custom reconciliation tooling and verified before anything was deleted.

## What made it work

-   **The apps were already containers.** Gen 1's cloud work made Gen 2's move a change of host, not a rewrite: the [lift and shift](https://gen2.dev/guide/lift-and-shift/) in reverse.
-   **One service at a time.** HEY's parts moved independently, so each step could be checked and undone.
-   **A reason with a number.** The case was written in dollars from the start, which is the language of [selling a rewrite](https://gen2.dev/guide/selling-a-rewrite/).
-   **The load fit.** Steady growth meant owned capacity could be bought weeks ahead.

## What to take from it

-   **The cloud is a fit, not a stage of maturity.** 37signals' own test: spiky or tiny workloads gain from it; steady ones may not.
-   **Count the team, not just the bill.** The savings held because the operations team did not grow.
-   **Watch contract dates.** Storage stayed two years longer than compute because of a four-year commitment.
-   **These are the company's numbers.** Use them as one data point for your own costs, not as a forecast.

## Sources

1.  [David Heinemeier Hansson - Why we're leaving the cloud (October 19, 2022)](https://world.hey.com/dhh/why-we-re-leaving-the-cloud-654b47e0)
2.  [David Heinemeier Hansson - We have left the cloud (June 23, 2023)](https://world.hey.com/dhh/we-have-left-the-cloud-251760fb)
3.  [David Heinemeier Hansson - The Big Cloud Exit FAQ (December 19, 2023)](https://world.hey.com/dhh/the-big-cloud-exit-faq-20274010)
4.  [David Heinemeier Hansson - Our cloud-exit savings will now top ten million over five years (October 17, 2024)](https://world.hey.com/dhh/our-cloud-exit-savings-will-now-top-ten-million-over-five-years-c7d9b5bd)
5.  [David Heinemeier Hansson - It's five grand a day to miss our S3 exit (March 26, 2025)](https://world.hey.com/dhh/it-s-five-grand-a-day-to-miss-our-s3-exit-b8293563)
6.  [37signals Dev - Moving Mountains of Data off S3 (RECORDABLES, January 8, 2026)](https://dev.37signals.com/moving-mountains-of-data-off-s3/) - how the files were copied and verified

Last updated November 29, 2026.

## Scorecard

Worked

Gen 1

Basecamp, HEY and six older apps running on Amazon's and Google's clouds, about $3.2 million of cloud spending in 2022

Gen 2

The same containerized apps on servers 37signals owns, racked in two data centers, deployed with its own open source tool, Kamal

Approach

Move the containerized apps one service at a time onto owned hardware, keep the same operations team, then move storage when its contract ran out

How long

Announced October 19, 2022; all applications moved by June 2023; the storage move planned for the end of a contract on June 30, 2025

Verdict

It worked, by 37signals' own figures: the compute bill fell from $3.2 million a year to $1.3 million, with no change to the team.

## More case files

-   [Netscape 6](https://gen2.dev/cases/netscape-6/)
-   [Python 2 to 3](https://gen2.dev/cases/python-2-to-3/)
-   [Firefox Quantum](https://gen2.dev/cases/firefox-quantum/)
-   [Perl 6 and Raku](https://gen2.dev/cases/perl-6-raku/)
-   [AngularJS to Angular](https://gen2.dev/cases/angularjs-to-angular/)
-   [Windows Longhorn](https://gen2.dev/cases/windows-longhorn/)
-   [Digg v4](https://gen2.dev/cases/digg-v4/)
-   [Twitter to the JVM](https://gen2.dev/cases/twitter-jvm/)
-   [Basecamp](https://gen2.dev/cases/basecamp/)
-   [IPv4 to IPv6](https://gen2.dev/cases/ipv6/)
-   [VB6 to VB.NET](https://gen2.dev/cases/vb6-to-vb-net/)
-   [HTTP/2 and HTTP/3](https://gen2.dev/cases/http-2-and-3/)
-   [K-12 browser rewrite](https://gen2.dev/cases/k12-browser-rewrite/)
-   [Mac OS X](https://gen2.dev/cases/mac-os-x/)
-   [Microsoft Edge](https://gen2.dev/cases/edge-chromium/)
-   [Winamp3](https://gen2.dev/cases/winamp3/)
-   [Slack desktop](https://gen2.dev/cases/slack-desktop/)
-   [Evernote 10](https://gen2.dev/cases/evernote/)
-   [Uber rider app](https://gen2.dev/cases/uber-rider-app/)
-   [HealthCare.gov](https://gen2.dev/cases/healthcare-gov/)
-   [Thunderbird Supernova](https://gen2.dev/cases/thunderbird-supernova/)
-   [Skype](https://gen2.dev/cases/skype-cloud/)
-   [Sonos app (2024)](https://gen2.dev/cases/sonos-app-2024/)
-   [FBI Virtual Case File](https://gen2.dev/cases/fbi-virtual-case-file/)
-   [LinkedIn Inversion](https://gen2.dev/cases/linkedin-project-inversion/)
-   [Netflix to AWS](https://gen2.dev/cases/netflix-cloud-migration/)
-   [TSB migration](https://gen2.dev/cases/tsb-migration/)
-   [Phoenix pay system](https://gen2.dev/cases/phoenix-pay/)
-   [Universal Credit](https://gen2.dev/cases/universal-credit/)
-   [Queensland Health payroll](https://gen2.dev/cases/queensland-health-payroll/)
-   [Facebook for iOS](https://gen2.dev/cases/facebook-native-ios/)
-   [New Microsoft Teams](https://gen2.dev/cases/microsoft-teams-2/)
-   [Dropbox to Python 3](https://gen2.dev/cases/dropbox-python-3/)
-   [Instagram to Python 3](https://gen2.dev/cases/instagram-python-3/)
-   [Discord Go to Rust](https://gen2.dev/cases/discord-go-to-rust/)
-   [Reddit Redesign](https://gen2.dev/cases/reddit-redesign/)
-   [GetPranks](https://gen2.dev/cases/getpranks/)
-   [IRS Individual Master File](https://gen2.dev/cases/irs-individual-master-file/)
-   [All case files](https://gen2.dev/cases/)
