SOSA LABS
// CASE STUDY · SOFTWARE & INFRASTRUCTURE

Production infrastructure in two nights.

A new company needed a home for its products: cheap to run, safe to change, easy to rebuild. Nothing to migrate — built from zero, the way I'd build it for a business that handles money.

Products
CLIENT
Sosa Labs (my own)
ROLE
Everything, solo
TIMELINE
2 nights, November 2026
RUNNING COST
USD 52 / month
NIGHT 1 · THE FOUNDATION
  • New accounts with 2FA everywhere; domain and DNS with DNSSEC
  • Email in and out, with SPF, DKIM and DMARC passing
  • Two servers on a private network, defined in Terraform
  • Hardened with Ansible: keys only, firewalls, fail2ban, automatic patches
NIGHT 2 · THE PLATFORM
  • Postgres for prod and staging, one database and user per project
  • Nightly backups to object storage, restore tested end to end
  • Deploy pipeline: push to develop ships staging; prod needs a person
  • First app live in production, behind single sign-on
// THE SHAPE OF IT

Architecture

GITHUBcode · CI · images USERSbrowsers · apps CLOUDFLARE EDGE DNS · proxy · TLSAccess (single sign-on)Tunnel (deploys)Object storage (backups)Static pages PRIVATE NETWORK BACKENDCaddyapps prod+staging DATABASEPostgres prodPostgres staging deployhttpsbackup · 03:00 UTC
// DECISIONS

What I chose, and why

Production needs a person.

A push to main only builds. Releasing is a deliberate click, and rolling back takes seconds because the previous image is always kept.

A backup you haven't restored is a hope.

Nightly dumps, locked against deletion for 7 days, and a restore drill that proved the data comes back identical.

Rebuild, don't repair.

Servers, firewalls, DNS and config are code. If a server dies, it comes back from the repo, not from memory.

Secrets stay off git.

Credentials live only on the servers. The deploy key can run exactly one command, through a tunnel, with a second credential.

// WHO WATCHES IT
5 min
uptime checks, prod and staging
03:00
backup must check in, or I'm alerted
80%
CPU, memory or disk alerts
0
personal data in error reports
// MY OWN PRODUCTS

Products

RUCket landing page hero: the headline “You issue. We sign. Approved.” next to an electronic invoice stamped Approved, with buttons to join the waitlist and see the API.

RUCket

E-invoicing connected directly to Paraguay’s SIFEN. A simple JSON API and a back office: we build the XML, sign it, send it and watch the 72-hour deadline.

For companies and systems that invoice in Paraguay.

Status: Waitlist open See RUCket
DobleCheck landing page hero, in Spanish: the headline “El pago entró. Está conciliado y facturado.” (The payment came in. It’s reconciled and invoiced.) next to a sample chat where a cooperative confirms a member’s payment and sends the invoice.

DobleCheck

Payments reconciled and invoiced. ✓ the payment came in · ✓✓ it’s matched to its installment and invoiced. It never moves money.

Schools, clinics, accounting firms and other organizations that collect monthly fees.

Status: Pilot program open See DobleCheck (site in Spanish)

DobleCheck invoices through RUCket.

This is the baseline I bring to client work.

Payment integrations, reconciliation or the infrastructure under them — tell me what you're building.

Start a project