↓ Skip to main content

Project Aether, End to End: A Platform on a 2015 Laptop and Two Free Clouds

3096 words·15 mins· loading · loading ·
Table of Contents
Project Deep Dives - This article is part of a series.
Part 6: This Article

Project Aether started as a weekend plan: move my 34 Docker Compose services onto Kubernetes, on a 2015 HP laptop with a dual-core i3, 12 GB of RAM and no public IPv4 address. The plan didn’t survive the first memory calculation. What I built instead is a small platform spread across three environments: the laptop, a free Oracle Cloud VM and a free Google Cloud VM, run the way I’d want a production platform run.

The 25-part series covers how each piece works, one problem at a time. This post is the other view: the whole project as one story. Why it’s shaped the way it is, what each of the five phases built, what went wrong, and what I’d do differently. There’s no code here. Where a detail matters, I link to the part that has it.

Project Aether: live status Live Live health of all three environments, measured from the observer in a third cloud, with each recovery objective shown next to the drill that last tested it. status.chetan-thapliyal.cloud

The constraints that shaped everything
#

Every design decision in Aether comes from four limits:

  • One machine. A repurposed laptop: two cores, four threads, 12 GB of DDR3, an SSD and an HDD. There’s no second host to fail over to.
  • No inbound internet. My connection is behind carrier-grade NAT. No open ports, no static IPv4, nothing reachable from outside unless something inside reaches out first.
  • A ₹0 infrastructure budget, on purpose. I could have rented a managed cluster. I set the limit deliberately, because cost is a constraint every real platform team works under, and a hard zero makes it impossible to ignore. Oracle Cloud’s and Google Cloud’s always-free compute, plus cheap backup storage, and nothing else. Every component has to earn its memory, and every design choice has to work without throwing money at the problem.
  • One operator. Everything has to be operable, and recoverable, by one person, at night, from a runbook.

The first limit killed the original plan. Kubernetes plus 34 services doesn’t fit in 12 GB, and running both on one laptop means one failure takes everything down. So the question changed from “how do I move everything to Kubernetes?” to “where should each workload live so its failure costs the least?” Placement by blast radius became the project’s first architecture decision.


The shape of it: three environments, one network
#

Environment What it is Its job
The homelab The laptop running Proxmox, with three Ubuntu VMs A K3s cluster (one control plane, two workers), delivered by Argo CD
The app host Oracle Cloud’s free ARM VM The apps that haven’t moved to the cluster, automation, and the central metrics and logs
The DMZ observer Google Cloud’s free e2-micro, IPv6 only A low-trust machine that watches the other two from outside, and serves the public status page

Three ideas hold the environments together:

  • One private network. Tailscale connects all three without opening a single inbound port. Machines carry role tags, and access grants say exactly which role may reach which port on which other role. Identity decides access, not location (part 6).
  • One way to describe infrastructure. Terraform creates the cloud machines, Ansible configures every host, and Argo CD builds the cluster from Git. One public repository holds all of it.
  • One way to keep secrets. SOPS encrypts every secret in that public repository to two independent keys: an offline age key and a Google Cloud KMS key. Either one can decrypt, so losing one isn’t fatal (part 7).

The whole of Project Aether: the public internet, the Google Cloud observer, the private Tailscale network, the K3s cluster on the laptop, the Oracle Cloud host with monitoring and the apps staying there, and the tools that manage it all as code

The whole system on one page, from the public internet down to the tools that manage it as code. Every diagram in this post is generated from code (part 24).


Phase 01: the foundation
#

Phase 01 built the three environments and the one network between them. The four pillars were simple:

  1. Offload the apps to the cloud host, which has as much memory as the laptop and none of the Kubernetes overhead.
  2. Reserve the laptop for Kubernetes.
  3. Put an independent observer in a third failure domain, so a dead homelab can’t silence its own alerts.
  4. Segment the network with per-role grants instead of a flat mesh.

The private network: role tags grouped by site (the homelab, Oracle Cloud and Google Cloud), with the access each role is granted

Pillar 4 as built: the three sites and the roles inside them. Each arrow is a grant, saying who may reach what, and on which port.

The most important lesson of the phase arrived later, and it was about pillar 3. On paper, the observer watched the app host and the app host watched the observer. An audit in November found the observer’s checks of the app host had passed 0 of about 2,600 attempts over 72 hours, and its alerts had never left the machine. The watching ran in only one direction, and nothing said so (INC-2026-002).

Worse, my first fix for it widened the observer’s access to the admin tools on the app host. One tag had come to mean two different things. That incident, and the tag model that replaced it, is part 4.

Before and after the tag model: one tag that covered the app host, its probed services and its admin tools, replaced by one role tag per purpose

Before: one tag meant the host, the services the observer probes and the admin tools, so a grant to one was a grant to all three. After: one tag, one meaning.


Phase 02: GitOps
#

At the end of Phase 01 the cluster ran, but everything on it was deployed by hand. Phase 02 ended that. Argo CD now builds the whole cluster from one root Application, the app-of-apps pattern (part 8).

Three decisions from this phase still carry the platform:

  • Secrets decrypted inside the cluster. A sidecar next to Argo CD’s repo server decrypts SOPS files with the age key, so plain secrets never touch a disk or the repository.
  • Sync waves. Namespaces first, then operators, then their configuration, then controllers, network policies and ingress, then databases, then apps. Each wave waits for the one before to be healthy. That’s how a cluster rebuilt from nothing comes up in the right order.
  • The remote repository is the truth. Argo CD reads GitHub, never my working copy. A change that isn’t pushed doesn’t exist.

Where secrets live: SOPS-encrypted files in the public repository, decrypted only inside the cluster by Argo CD’s repo server

Every secret is encrypted in the public repository for two keys. Checks in pre-commit and CI refuse a file that isn’t, and decryption happens only inside the cluster.

This phase also produced the most humbling post in the series. Argo CD and Helm accepted inputs that did nothing, without a warning: a Helm key the chart didn’t recognise, a setting that “disabled” a component it never touched. The audit later found four applications that Argo CD could no longer diff while the UI still looked fine (INC-2026-005, part 9).


Phase 03: the platform
#

Phase 02 left a GitOps pipeline driving an almost empty cluster. Phase 03 built every layer an application would need:

Layer What I chose Why
Load balancing MetalLB in L2 mode Gives LoadBalancer services a real LAN address on bare metal
Ingress Envoy Gateway with the Gateway API The successor to Ingress, with routes separate from the gateway they attach to (part 10)
Certificates cert-manager with an internal CA, later a Let’s Encrypt wildcard TLS everywhere, including services nobody outside will ever see
Remote access The Tailscale operator Cluster services reachable from my devices, never from the internet
Storage local-path Replicated storage across three VMs on one disk would cost a third of the RAM and protect against nothing (part 11)
Observability Exporters in the cluster; Prometheus, Loki and Alertmanager on the app host The monitoring can’t die with the thing it monitors (part 15)
East-west traffic Default-deny NetworkPolicies, then explicit allows A compromised pod reaches only what it needs
etcd recovery Daily snapshot to the hypervisor, then restic, then an offsite bucket Three copies, two media, one offsite

Two of those choices are worth a sentence more, because they look wrong at first.

Monitoring runs outside the cluster. It would be easier inside it. But an alert about the cluster has to come from something the cluster’s failure can’t take down. So the cluster ships metrics and logs out to the app host, Alertmanager there sends the alerts, and the observer in Google Cloud watches both from a third place (part 16). How a failure travels from a broken component to a message on my phone, along two independent paths, is part 27.

Monitoring off the cluster: Prometheus, Loki, Alertmanager and Grafana on the cloud host, scraping and receiving from the cluster, the hypervisor and the edge VM

Metrics are pulled from the cluster and logs pushed out of it, over the private network. The alerting path lives on the cloud host, and the observer watches that too.

There’s no replicated storage. Longhorn or Ceph would give me volume replicas across three VMs, but all three VMs share one physical disk. Replicas on one disk protect against nothing that matters, and they cost memory the laptop doesn’t have. Backups, not replicas, are the protection.

Left: three replicas on three VMs that share one SSD, one power supply and one hypervisor. Right: nightly dumps and snapshots copied, encrypted, to an offsite bucket

Replicas that share a disk fail together. A copy somewhere else doesn’t.


The audit: four claims that were false
#

By late October three phases were built and documented, and nothing was alerting. Before deploying apps and building anything on top of it, I re-audited each phase’s documentation. For every claim in a document, I ran the command that would prove it on the live system.

Four claims were false:

The documentation said What I measured
The observer and the app host watch each other The observer’s checks of the app host had passed 0 of about 2,600 in 72 hours, and its alerts never left the host
The nightly backup sends a heartbeat when it succeeds The heartbeat had never arrived in 24 days. Two schedulers were running the backup
Local disaster-recovery copies sit on the ZFS disk They sat on the SSD that holds every VM disk. The ZFS pool held 1.48 MiB
Argo CD manages 16 healthy apps Four showed Unknown. Argo CD couldn’t diff them, and a merged fix had never applied

The pattern behind all four was the most valuable thing the project taught me: the dashboards were green because the broken parts were the ones that do the reporting. A heartbeat that never fires looks the same as a backup that never fails. An observer that can’t send alerts looks the same as one with nothing to report. I wrote up five of these backup failures in part 5, “Green Is Not a Status”.

The fix was a hardening pass over all three phases, with four rules:

  1. Audit claims, not components. The question isn’t “is Prometheus up?” but “is the sentence in the document true?”
  2. One finding, one change. Each change records how to verify it, how to roll it back, and the guardrail that stops the problem coming back.
  3. Fix in the order you’d lose things. First the ability to see (the observer, the heartbeats), then the ability to recover, then everything else.
  4. Sign off by re-running the audit.

Every real failure from then on got a written, blameless incident review. There are 20 now, all public on GitHub.


Phase 04: real applications
#

Phase 03 left a platform with nothing on it. Phase 04 moved real apps onto the cluster and, for the first time, made it responsible for data that can’t be rebuilt from Git.

Six apps run on K3s now: AFFiNE, Blinko, IT-Tools, Linkwarden, Paperless-ngx, and CouchDB for Obsidian sync. They share one PostgreSQL 16 instance (four app databases) and a Redis, with app files on NFS from the hypervisor’s ZFS pool (part 13).

The cluster with its apps: the control plane, worker 1 with the gateway, most apps and both databases, worker 2 with Argo CD and the controllers, and the hypervisor’s ZFS pool

Where everything runs. Four stories play in turn: a request through the gateway to Paperless and PostgreSQL, Paperless writing files to the ZFS pool, the nightly database dump, and the control loop, where a change from Git goes from Argo CD to the API server on the control plane and a worker’s kubelet applies it.

Why only six? The original plan moved nearly everything off the cloud host. A replan cut it down, and the reason wasn’t effort, it was memory. Two workers of about 3.3 GB each, carved out of a 12 GB laptop that also runs the hypervisor and the control plane, leave about 2.1 GB of usable app memory on the main worker. Every app had to fit inside that, measured, before the next one started (part 17). The rest stay on the cloud host, and that’s a decision, not a failure.

Data that can’t be rebuilt from Git needed a backup chain of its own:

Backups in Aether: etcd snapshots and app data flow to the hypervisor’s ZFS pool, then to an Object-Locked offsite bucket, with a heartbeat at each stage

Every stage sends a heartbeat only when it succeeds, so silence raises an alert. That’s the lesson from the audit, built in. The whole chain, and what each copy survives, is part 26.

The apps also got guardrails the platform hadn’t needed before:

  • Pod Security restricted on every namespace that can carry it (part 23);
  • quotas, limit ranges and priority classes;
  • internet egress that an app must opt into with a label.

One cutover tripped a backup heartbeat: stopping an app on the cloud host is a change too, and it withheld the backup’s success signal (part 14, INC-2026-015).


Phase 05: operations and proof
#

Phases 01 to 04 built things. Phase 05 has no new service in it. Its output is checks, runbooks, drills and documents, and its idea in one line is a claim is only true if a check proves it.

Before After
Pre-commit checks on one laptop 15 hooks, with the same set running in CI on every push and pull request (part 28)
Anyone with push rights could rewrite main A ruleset: no force-pushes, no deletion
Drift noticed by accident A nightly, keyless drift check of all three cloud Terraform roots (part 22)
Updates by hand Renovate and Dependabot, images pinned by digest, major versions need approval
K3s never upgraded A playbook and a runbook; the first real upgrade found three problems in nine minutes (part 25)
Recovery assumed Written recovery objectives per component, with the last measured drill shown beside each one

The recovery numbers are the part I’m proudest of, because they’re measured, not targets (part 18):

Component Objective What a drill actually measured
The K3s cluster 30 min Restored from the offsite copy: API ready 54 seconds after the reset
Apps on the cluster 30 min Four databases, 69,840 rows, restored in 29 seconds
The observer 30 min A full rebuild from nothing took 48 minutes, against a 15-minute target at the time (part 19)

The observer rebuild missed its target by more than three times, and I published it anyway. The drill found three breaks that no earlier test could reach, which is exactly what a drill is for. The objective is now 30 minutes, and each of the three breaks is fixed.

The public status page shows all of this live: health from the observer, and next to every recovery objective, the last drill that tested it. It’s built so that it can’t leak private details, and can’t make the numbers look better than they are (part 21).

The status page’s one-way data path: a feed built from Prometheus every five minutes, checked against a deny list, and pulled by the observer

The page only ever sees a summary that has passed a check for host names, addresses and ports. If a summary fails the check, the page shows the last good copy, marked stale.


The incidents that taught the most
#

Of the 20 incident reviews, these changed the design the most:

  • The tag that meant two things. A quick monitoring fix opened my admin tools to the least-trusted machine. Now each tag has exactly one meaning, and the access policy has tests that run before every change.
  • Green is not a status. Five ways the backups reported success while failing. Each one now fails loudly.
  • The power cut that outlasted the inverter. A 15-hour recovery and four failures, each hidden behind the one before. It’s why the cold-start runbook exists.
  • A fix that moved the problem. A worker fell back to a relay connection, twice, because the first fix moved the cause instead of removing it.
  • The first K3s upgrade. A node drain evicted the per-node load-balancer agent. Per-node agents now run at the highest priority class.

Every one is written up blamelessly, with a timeline, the root cause, “where we got lucky”, and the guardrail that stops it happening again.


Decisions I’d defend
#

All 22 architecture decision records are in the repository. These are the ones I’d argue for in any design review:

  • Placement by blast radius. Each workload runs where its failure costs least. The cluster holds what benefits from Kubernetes; the cloud host holds what doesn’t fit; the observer holds what must outlive both.
  • Identity, not location, decides access. No inbound ports anywhere. Role tags and tested grants decide who reaches what.
  • A watcher outside the failure domain. The thing that raises the alarm can’t be the thing that’s on fire.
  • local-path over replicated storage, because replicas on one disk are a cost without a benefit.
  • Publish evidence, not targets. A recovery objective means nothing until a timed drill sits next to it.

What I’d do differently
#

  • Audit from day one, not after three phases. The four false claims had been false for weeks. A check for each claim, written when the claim was written, would have caught every one the day it broke. Phase 05’s rule, “a claim is only true if a check proves it”, belonged in Phase 01.
  • Plan around memory first. Memory decided how many apps could move, which phases slipped, and what the RAM upgrade is for. I’d measure the real budget before planning a single migration, not after.
  • Buy the second machine sooner. One host means no high availability, only fast, tested recovery. That’s honest, but it’s a workaround. A second small machine would remove the biggest single point of failure.
  • Run every runbook once before you need it. The first real K3s upgrade found three problems in nine minutes that writing the runbook hadn’t.
  • Track incident follow-ups in the backlog, not only inside the review. One promised alert wasn’t built until the same failure came back.

Where it stands
#

As of late November 2026, all five phases are built. What’s left is a final sign-off audit across every claim in the README and on the status page, and a RAM upgrade from 12 to 16 GB that will let the cluster take more apps. I’ll update this post when both are done.

The fastest ways in, depending on what you want:


The project page is Project Aether, and the rest of the Project Deep Dives are in the series.

Project Deep Dives - This article is part of a series.
Part 6: This Article