← Beyond Research

Self-hosted Lab

A small cloud environment for independently hosting my personal projects.

Building a home for my projects · Personal project

Why I started this

As my personal projects grew, I wanted an independent hosting environment for them. I started with a small cloud server and built the infrastructure needed to deploy, manage and maintain my own applications.

What it does

The lab uses an Ubuntu cloud instance with containerized services, private networking, monitoring and backups. It is the foundation for bringing my applications together over time.

How it works

01Private clientsSSH tunnel / WireGuard / Tailscale
02Access controlPeer allowlists / nftables / private proxies
03Service gatewayCaddy / loopback-only published ports
04Container servicesFreshRSS / ntfy; optional Forgejo / Uptime Kuma
Private application access; internet exit traffic uses a separate path.
More about the implementation

Backup and recovery architecture

01CaptureSQLite online snapshots + configuration inventory
02TransferSSH pull to a separate Windows machine
03ProtectAES-256-GCM + DPAPI key storage + SHA-256
04Verify & recoverDecryption check / SQLite integrity / Compose validation
Encrypted off-host backup and recovery workflow.

Technical approach

Resource-aware deployment

Docker Compose defines combined container memory limits of 416 MiB for the minimal profile and 1,504 MiB for the optional full profile.

Private access

WireGuard, Tailscale and nftables separate application access from internet exit traffic.

Encrypted backups

SQLite online snapshots, SSH transfer, AES-256-GCM encryption, SHA-256 verification and Windows DPAPI key protection.

Monitoring and recovery

systemd timers and Windows Task Scheduler automate health checks, backups and isolated recovery validation.

Technology stack

UbuntuDocker ComposeCaddyWireGuardTailscalenftablesPythonNode.jsPowerShellSQLiteAES-256-GCMsystemd

Core infrastructure in place; application migration is the next step.