Skip to main content

4 posts tagged with "carnets"

View All Tags

DR Is Not Cyber Recovery — Building an Immutable, Ransomware-Proof Backup Vault

· 4 min read
Software & Platform Engineer · AI Systems

I went to double-check the platform's disaster recovery and found something uncomfortable. The crown jewels — the k3s kine control-plane database and the Vault raft snapshot — were mirrored off-site to Cloudflare R2. Good. But every object in R2 is deletable by anyone holding the creds.

That protects me from one failure (my controller dies, the site burns down — I rebuild from R2) and leaves me wide open to a very different one: a compromised operator, or ransomware, that deletes the backups themselves. Off-site is not the same as un-deletable.

Database Isolation Is Not Operational Isolation — When Postgres Apps Should Share a Cluster

· 5 min read
Software & Platform Engineer · AI Systems

While wiring up a desktop SQL client across the platform's ~20 Postgres instances, I hit a small surprise: two servers host many databases at once. Backstage keeps 13 of them (one per plugin — backstage_plugin_catalog, _auth, _scaffolder, …); the shared AI server keeps 6 (one per tool — openwebui, litellm, ragdb, vaultwarden, flowise, mlflow). Everything else uses one database per server.

That's a UI curiosity. But it forced the actual design question behind it: when should apps share a Postgres cluster, and when should each get its own? The answer rests on a distinction that's easy to collapse — and expensive when you do.

Closing the Books: an Auditable Period Close — and Why the 'Lock' Is a Polite Fiction

· 4 min read
Software & Platform Engineer · AI Systems

The insurance monolith (ktayl-core) could already turn a bound policy into cash and post it to the general ledger — premium → invoice → payment → double-entry Journal Entries in ERPNext. What it couldn't do was answer the question an auditor actually asks: "does the ledger agree with what you billed this month, and is the period closed?"

That's the finance module, now live in production. Two capabilities: a reconciliation (the billing subledger's posted total vs the GL, the drift between them, and the count of stuck postings) and a period close — lock a month, with a tamper-evident record of who closed it and the figures they attested.

3-2-1, Not 1: Why I Kept MinIO Instead of Going Cloud-Only for Backups

· 5 min read
Software & Platform Engineer · AI Systems

While hardening disaster recovery on the ktayl-solution information system, a fair question came up: we already mirror backups to Cloudflare R2 — so why keep a MinIO server running on the controller at all? Couldn't we retire it and go cloud-only?

R2's free tier is generous, cloud object storage is durable, and one less service to operate is always appealing. So it's a reasonable instinct. It's also wrong — and about an hour after I talked myself through why, I proved it the hard way by deleting the wrong bucket prefix. This post is that reasoning, and the honest incident that validated it.