My day job is AWS. I think in VPCs, IAM roles, Lambdas and managed everything. And I’m good at it.
So for a side project I wanted the opposite. One Ubuntu box at home, called server. No managed services at all.
In about a month it grew from a place to try out n8n into a small platform: automation, an AI browser agent, a short-lived local LLM, and a public product called Stempl. Everything lives in one Git repo and runs on Docker Compose.
None of My Usual Answers Applied
That was the fun part. Every AWS habit needed a home-grown replacement. And every replacement made me think about what the managed service had been doing for me all along.
| On AWS I’d reach for | Here I used | What I noticed |
|---|---|---|
| VPC, security groups | A Compose network per stack, plus one shared network for the stacks that need to talk | Isolation is a choice per port, not a default |
| ALB or API Gateway | A Cloudflare Tunnel (and ngrok for n8n), no open ports on the router | Public HTTPS in minutes, but auth is still my job |
| ECS services | One Compose stack per service | Restarts and deploys are just make <stack>-up |
| CloudFormation or CDK | A Makefile and Compose files in Git | Less safety, far less ceremony |
| Secrets Manager | ~/secrets/<stack>/, outside the repo | Works fine, as long as I stay disciplined |
| RDS | SQLite in a mounted folder | Backups are mine to remember |
| Bedrock | Ollama on the CPU, for a day | Free and private, but slow |
| Auto Scaling | A fixed RAM budget | Minecraft and the LLM had to take turns |
That last row is my favourite. On AWS you never have to choose between your language model and your Minecraft server.
What Runs on It
Each service is its own Compose stack. n8n, the browser agent, Portainer and Hoppscotch share one Docker network, internal-network, so n8n can call the browser agent by name. The rest keep to themselves, and when they do need each other they go through the host: the flight API’s gate reaches Stempl on the server’s port 8002.
Most stacks stay on the home network. Three are public: Stempl and the flight API through a Cloudflare Tunnel, and n8n through ngrok.
- Stempl. My main project. You upload a dataset and ask a question about every record, and AI agents answer it in batches of five: three new records and two that an earlier agent already answered. The batch only passes if those two agree. API owners can put a Stempl gate in front of their API, so agents pay for access with that work instead of money. It’s live at stempl.dev and has its own post.
- Flight API. A made-up flight API at
flights.stempl.dev, the live demo for the Stempl gate. The API has no gate code at all. The gate runs in front of it as a proxy, and the API itself has no published port. - n8n. Workflow automation. The editor runs on the home network, and an ngrok container gives it a public URL so webhooks from outside can reach it. It’s the glue that sends tasks to the browser agent.
- Browser agent. Built on Browser Use, with Gemini 2.5 Flash through OpenRouter. n8n sends it tasks over HTTP, including a structured endpoint for posting to Reddit. A noVNC view lets me watch the browser live from my phone, or step in to solve a CAPTCHA.
- Obsidian MCP server. Two containers. One keeps my Obsidian vault in sync through Obsidian Sync, the other serves it to Claude as MCP tools with FastMCP. Claude can search and read every note, but can only write in a
Claude/folder. Docker enforces that too: the vault is mounted read-only, with onlyClaude/writable on top. Every request needs a secret token, and it never goes on the tunnel. - Windows 11 VM. dockur/windows runs Windows in a container with QEMU/KVM, on 8 GB of RAM and 4 cores. I use it from my laptop over Remote Desktop.
- Media server. MiniDLNA streams my media folder to devices on the network, next to a small web page that downloads torrents and magnet links with aria2.
- Minecraft. A Paper 1.20.6 server with 4 GB of RAM and room for 10 players. Message of the day: “Find the Button!”
- Portainer and Hoppscotch. A dashboard for the containers, and an API client for testing endpoints.
Yes, a Windows VM and a Minecraft server are running next to an AI platform. It’s a home server. That’s allowed.
A 26B Model on a CPU
The first version of Stempl labeled data with a local model: Gemma 4 26B, served by Ollama on the server’s CPU. No GPU. Ollama ran as its own container in Stempl’s Compose stack, with no published ports, so only the app could reach it.
Getting a 26B model to behave on a CPU, next to everything else, took a few choices:
- Structured output. Every request passed a JSON schema as Ollama’s
format. So every answer was valid JSON with exactly the fields the user defined. - No reasoning tokens.
think: falsekept the time per record reasonable on a CPU. - One request at a time.
OLLAMA_NUM_PARALLEL=1and one loaded model. Parallel requests would only queue inside Ollama anyway. - Bounded context. A 4K context window, with each record cut to 8,000 characters (about 2–3K tokens).
- Sharing memory.
OLLAMA_KEEP_ALIVE=10munloaded the model after 10 idle minutes. That freed about 17 GB of RAM for Minecraft. - Self-starting. The worker waited for Ollama to come up, pulled the model if it was missing (a 17 GB download on the first run), and retried failed calls three times.
It worked. A full labeling pipeline with no API costs.
It also lasted one day. The model went in on September 29 and came out on the 30th.
One CPU-bound model caps your throughput, and there’s no bigger instance to click. So Stempl moved on: now AI agents fetch batches over an API and their answers are checked against each other. The local model is still on the roadmap, to seed a few “gold” answers that the owner confirms.
How I Keep It Manageable
Everything runs on Docker Compose. On purpose.
With one host, Kubernetes would add work and give nothing back. That’s not a hot take. It’s just one machine.
A few rules keep it sane:
- One Makefile.
make <stack>-upandmake <stack>-downfor every stack. The stacks on the shared network start the base stack first, which creates it.make upstarts the everyday stacks; the tunnel, the Windows VM and the Obsidian server are started on their own, because they need a login or a lot of RAM first. - Secrets outside the repo. Every stack with secrets reads them from
~/secrets/<stack>/, and the repo only holds anenv.conf.example. Signing keys live there too and are mounted read-only. Stempl refuses to start without its key. - Nothing installed on the host. No pip, venv or npm on the server. Images are built and tests run only in Docker:
make stempel-testfor unit tests,make stempel-e2eagainst a throwaway stack, andmake stempel-live-testagainst the running one. - Public without open ports. A Cloudflare Tunnel publishes
stempl.devandflights.stempl.dev. The tunnel only makes them reachable. Anyone can look at Stempl, but changes need the admin login, with a lockout after 5 wrong passwords in 15 minutes.
What’s Next
Self-service accounts for Stempl, so API owners, businesses and people with idle agents can sign up without me.
And backups to S3: Litestream streaming the SQLite database, plus a nightly sync of the files. Yes, AWS. I see the irony.
What I’m Taking With Me
The cloud hides a lot. On one box you feel every trade-off. The local model, the Windows VM and Minecraft all want the same RAM, and there’s no bigger instance type to pick.
A local model is a great teacher. It’s free and private, and it shows you exactly what a model needs: a schema, a context budget and retries. Just don’t expect throughput from a shared CPU.
I’ll keep using AWS at work, gladly. But building without it made me a better architect there too.
Now I know what each managed service is actually worth.
Evert