Decide whether to keep Hetzner's root-disk backups #6
Labels
No labels
good-first-issue
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
status
accepted
status
blocked
status
triage
type
bug
type
cleanup
type
feature
type
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
platform/monorepo#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Hetzner server has provider backups switched on (
backups = trueininfra/terraform/modules/node-hetzner/main.tf). They cost about 20% of the server price on top. They copy only the root disk, and the root disk holds the LUKS key for the data volume and the node's SSH host key (docs/security.md, Known limits;docs/operations/runbook.md, Backups and restore). Anyone who can restore those backups in the Hetzner project can read all cluster data.They add almost nothing to recovery:
tofu applyre-creates the server, with the same SSH host key and volume key, from the encrypted OpenTofu state, and cloud-init reattaches and unlocks the data volume (runbook, Disaster recovery).What they still give: a quick rollback of the root disk after a bad change on the node, such as an update that breaks boot. A fresh
tofu applygives the same result in a few minutes.Proposal
Decide whether to keep them. If not:
backups = falseonhcloud_server.node. Check the field against the pinnedhetznercloud/hcloudprovider version first.docs/security.mdand the paragraph about them in the runbook's Backups and restore.tofu applyand check that Hetzner shows backups as disabled and the old backups are deleted.Done when: the decision is made, and either the backups are gone and the docs no longer mention them, or the docs say why they're kept.
Design doc
Not needed.