ENGINEERING 172 upvotes 2022

Hetzner Cloud – Data loss incident

172 pts
Hacker News Signal
2022 · Shared by @bratao
Hetzner Cloud – Data loss incident by @bratao

The Founder's Submission

Direct narrative and submission text authored by @bratao on Hacker News:

Data loss incident (snapshots)

Dear Customer, Unfortunately, we have to inform you that there was a data loss incident that affects a small amount of your snapshots on Hetzner Cloud. All snapshots you create are stored on our highly available storage systems. The snapshot contents are distributed over multiple internal servers and data is stored in a way that allows up to two separate disks to fail without impacting data integrity. This means the snapshot can still be accessed, even if two disks fail at the same time. Due to a recent, very unfortunate series of events in one of our clusters, multiple disks failed in short succession and caused a small number of snapshots to become unavailable. We immediately tried to recover the affected snapshots but unfortunately the data is lost and we have exhausted all our options.

Affected snapshots in your account: XXXXXXXXX

The snapshots have been removed from our system as they are no longer accessible. We sincerely hope this doesn’t cause too much trouble for you; we know losing data is the worst-case scenario. Also, we have added 20€ as Cloud Credits to your account (valid for one year). While we know that this will not bring back your data, we still hope that you will accept the gesture. In response to this we will re-evaluate our snapshot cluster data replication strategies as well as our strategies for replacing disks and rebuilding redundancy after replacement.

Best Regards, Hetzner Cloud

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2022), @bratao shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (89 total discussions):

ID @idxodse Peer Contributor
DR @drfuchs Peer Contributor

Anybody have more color on the nature of the "recent, very unfortunate series of events in one of our clusters [such that] multiple disks failed in short succession"? What kind of "events"? A failed climate-control system? A berserk employee with a sledge hammer? Russian hackers? The Spanish Inquisition?

It seems odd that they'd be quite so vague and circumspect about it. Why not just say what it was, so we're not all left to speculate, perhaps for the worst?

JA @jasonzemos Peer Contributor

There is no reason to rely on "triple replication" for data integrity. This has long been a solved problem. An appropriate erasure encoding can reduce the probability of loss ~ten-fold while consuming physically less space (i.e. 2x worth of replication). Companies forego this technology because they feel confident in their operational ability to address failures quickly and competently. That's what we're relying on for data integrity, not the math.

JA @jamal-kumar Peer Contributor

I've never trusted cloud provider snapshots because it's just paying more for something that might fail outside of your responsibility.

I have a local backup box and a remote one and they both sync stuff in from rsync on a cron job from multiple servers. Works great. In case of catastrophic failure (Which has happened a few times), putting my eggs in more than one basket has been extremely successful.

HISTORICAL ERA Pandemic Bubble (2020–2022)
COMMUNITY SCORE 172 points
TOTAL DISCUSSIONS 89 comments
TOPICS & TECH STACK: