Nathaniel Lewis

Project 05 · Home lab · test data only

Hardened EHR evaluation deployment

OpenEMR evaluated for a small practice, built to production standards even though it holds only test data.

  • OpenEMR
  • Docker
  • MariaDB
  • Cloudflare Tunnel & Access
  • rclone
  • Backblaze B2

Problem

Evaluate an open-source EHR, built as if it held real patient data.

Approach

Tunnel and Access only, enforced MFA, secrets out of compose files, encrypted nightly backups.

Result

A gate check caught two access-policy errors before anyone else could.

  1. Tunnel + Accessno open ports
  2. MFA enforceddocumented break-glass
  3. OpenEMR 8.4secrets externalized
  4. Nightly backupB2, restore-tested

The problem

Evaluate an open-source electronic health record system for a small practice, built to production standards even though it holds only test data.

The approach

Deployed OpenEMR 8.4 in Docker on the secondary node, reachable only through Cloudflare Tunnel and Access. Enforced MFA with a documented emergency-access procedure, moved secrets out of compose files, and set up encrypted nightly backups to a dedicated Backblaze B2 bucket with verification and a monthly restore test. Wrote a full operations runbook covering routine checks, restores and post-update steps.

The result

A gate check (every protected hostname must return a redirect to the Access sign-in) caught two access-policy errors during testing, either of which would have let unapproved users reach the sign-in page. Both fixes went into the routine checks. No real patient data was ever on the system.