From one rack to a hybrid edge.

We extended the lab beyond the house: a hardened cloud VPS as the public front door, with everything that matters still self-hosted.

By · Last updated November 19, 2026

Our homelab’s only public front door is one hardened cloud VPS. It terminates HTTPS and forwards only what’s meant to be public, so the home network is never exposed directly. We manage it only over an encrypted private mesh with default-deny rules, monitor it like every other host, and rebuild it from code instead of snapshots.

How does the cloud edge work?

Public traffic terminates at the edge. Management, data and secrets stay inside the lab.

Reverse-proxy edge

A single cloud VPS terminates HTTPS with automatic certificates and forwards only what is meant to be public. The internal network is never exposed directly.

Management over a private mesh

Administration happens only over the private mesh: an encrypted overlay network under default-deny, tag-based access rules.

Observed like everything else

The edge host reports metrics to the same monitoring stack as the rest of the fleet, scraped over the private mesh rather than its public address.

A time-series data platform

The VPS also hosts a TimescaleDB-backed collection pipeline with compression and retention policies, and the permanent copy is synced back to the lab.

How is the VPS rebuilt?

The edge is rebuilt from the repository, not from memory.

Proxy configuration and host setup are version-controlled and applied with Ansible. The VPS lives in its own inventory group so lab playbooks can never target it by accident, and recovery means re-applying code rather than restoring a snapshot of unknown state.

What went wrong at the edge?

Real incidents, written up.

  1. Zero-trust overlay before going public

    Open subnet routing was replaced with tag-based microsegmentation and default-deny access rules ahead of any public-facing service.

  2. Cloud edge VPS onboarded

    Provisioned as the dedicated public reverse proxy, joined to the private mesh, monitored, and kept in an isolated inventory group.

  3. Data-collection lag found and fixed

    A lagging data reader was isolated from ingestion so a slow consumer could no longer stall collection.

  4. Disk-pressure outage, recovered

    A time-series database filled its disk. We recovered it, moved to smaller chunks with faster compression and tighter retention, and wrote the incident up, including what we deleted and why it was safe.

How does a request reach the site?

  1. A visitor’s browser opens an HTTPS connection to the edge.
  2. The edge presents an automatically renewed certificate.
  3. It forwards only the routes meant to be public.
  4. The request travels over the private mesh to the lab.
  5. The page comes back the same way; the home network is never exposed directly.

What did we harden?

  • Automatic certificates on the public edge.
  • Default-deny firewall rules, with administration only over the private mesh.
  • A separate inventory group so lab playbooks cannot target the edge by accident.
  • Monitoring like every other host.
  • A size-capped, encrypted backup tier, in progress; see N+2 & Backup.

More: zero trust before going public, extending the lab to a hardened cloud edge, when the database filled the disk and mesh failover. Monitoring is on Software & IaC, edge checks are on Assessments, and the defense layers are on Blue Team.

Frequently asked questions

Why put a VPS in front of a homelab?
So the home network is never the thing facing the internet. A single hardened cloud host terminates HTTPS and forwards only what is meant to be public, while data and secrets stay inside the lab.
Is the home network exposed to the internet?
No. Only the edge host is public, and it forwards only the routes meant to be public. The internal network is never exposed directly.
How do you manage the VPS?
Only over an encrypted private mesh, under default-deny, tag-based access rules. Administration and automation never use the public address.
What else runs on the VPS?
A time-series collection pipeline with compression and retention policies, with the permanent copy synced back to the lab. A small encrypted backup tier is also planned there; its status is on N+2 & Backup.
What happens if the VPS dies?
Recovery means re-applying code from the repository rather than restoring a snapshot of unknown state, with data coming from the copy kept in the lab.
What went wrong at the edge?
On November 12, 2026 a time-series database filled its disk. We recovered it, moved to smaller chunks with faster compression and tighter retention, and wrote the incident up, including what we deleted and why it was safe.

Glossary

Reverse proxy:
A server that receives public requests and forwards only the allowed ones to the services behind it.
VPS:
A virtual private server rented from a cloud provider.
Private mesh:
An encrypted overlay network that links our machines without opening ports to the internet.
Default deny:
A rule set where anything not explicitly allowed is blocked.
Inventory group:
A named set of hosts in our configuration code, kept separate so lab playbooks cannot target the edge by accident.
Retention policy:
A rule for how long data is kept before it is compressed or removed.

Who built this: .

Follow the build

Questions about the build, or spotted something we got wrong? Find us on LinkedIn and GitHub.