September 12th, 2024

Ziglang.org migrates from AWS to self-hosting

The Zig Software Foundation migrated from AWS to a self-hosted solution using a €36 Hetzner server to reduce costs, improve deployment speed, and encourage community involvement for resilience.

Read original articleLink Icon
Ziglang.org migrates from AWS to self-hosting

The Zig Software Foundation (ZSF) has transitioned from using Amazon Web Services (AWS) for hosting its website and tarball storage to a self-hosted solution due to rising costs associated with increased traffic. In 2023, the Rust Foundation reported significant infrastructure expenses, highlighting the financial burden of cloud hosting. In contrast, ZSF opted for a more cost-effective approach by utilizing a single €36 Hetzner server, which allows for a 99% uptime that is deemed acceptable for their needs. This decision reflects a desire to enhance computing efficiency and avoid dependency on large corporations for funding. The foundation acknowledges that while the website's downtime may occur during peak traffic, it is a manageable risk. The move has resulted in instant website deployments, improving operational efficiency. ZSF plans to explore additional options, such as providing torrent files for releases, and encourages community involvement in mirroring Zig releases to enhance resilience.

- Zig Software Foundation migrated from AWS to a self-hosted solution to reduce costs.

- The decision was influenced by rising infrastructure expenses reported by other foundations.

- A single €36 Hetzner server is used, allowing for acceptable downtime.

- The migration has improved deployment speed from five minutes to instant.

- Community involvement is encouraged for mirroring releases to enhance resilience.

Link Icon 10 comments
By @rafaelturk - 2 months
Kudos! We’ve successfully migrated away from the cloud, and it was an epic decision. It’s cheaper, insanely faster, easier to maintain, and unexpectedly more secure. I strongly recommend any startup or corporation to explore how modern frameworks like K8S, Ansible, Proxmox, and OpenStack—whichever suits your needs—can be incredibly easier to manage on-premises.
By @ppeetteerr - 2 months
As someone who started in this industry when full stack meant you did CSS and Apache configuration, I'm often surprised by the need for AWS for most startups. A single machine can grow to two machines + a load balancer + a database instance. If you reach that point, then yes, explore AWS. Until then, is the cost really worth it?
By @vitaminCPP - 2 months
I really like this mentality.

I whish there was more ressource to learn this "low-level" approached to web developpement.

By @ksec - 2 months
>we'll look into providing torrent files for releases

It is sort of interesting we are back to torrenting. Especially when bandwidth outside of the cloud are relatively cheap. I wonder how many TB they are using per month.

By @daoistmonk - 2 months
seems ipv6 is broken atm for ziglang.org :(

ping -6 ziglang.org PING ziglang.org (2a01:4f9:3051:4bd2::) 56 data bytes ^C --- ziglang.org ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6135ms

just noticed because zigup has failed..

By @poisonborz - 2 months
I wish more high(er) profile examples would come from the industry. Cloud bills of any mid-large company are already sky high - that money could go to hiring staff for selfhosting, a win-win in this economy. Success stories would help a lot.
By @ahaferburg - 2 months
> we don't like begging for money, especially from Jeff Bezos and his ilk

Heh.