2-02 / Series
2-02 № 02 · 2026

Split the machines
by role.

Four machines and a spare: the public face, mail and meetings, authentication and data, the AI workstation. Important work is checked by a person

Everything the Independence part stands up runs somewhere. Decide where, first.

2-01 drew the map for untying the layers that Microsoft and Google bundle into open tools. This chapter is about the machines those tools sit on. Two decisions. Split the machines by role. Important work is checked by a person.

An entry point for each scale — for an individual, start with three machines

This chapter's shape (four machines and a spare) assumes a company. It is heavy for an individual builder. While there is little to protect, start light, and move toward this chapter's shape as what you protect grows.

Scale Starting shape
Individual Three machines: the entrance, the materials machine, the desk PC (example below)
Small company Start by borrowing services, then move to this chapter's shape
Company Four machines and a spare (this chapter's shape)

As an individual's example, take running a farming app (seed) on your own machines.

What comes first is closing. Start with who can get in.

  1. Look at the list of keys that can log in, and remove any key not on your list
  2. Close the ssh password door (Server series, Chapter 4)
  3. Keep the router's admin ports out of the entrance machine's reach
  4. Close ports that have no authentication
  5. Close the outgoing direction (Server series, Chapter 5)

Giving the AI's account no sudo, and running services under their own users, is the same at every scale.

The heavy shapes — a machine for personal information, the data side checking the person across machines — come in when what you protect grows: when you start selling, or start holding personal information.

Split the machines by role

Use four machines and a spare. Each is a separate physical machine; a cheap small PC will do.

Machine What runs on it Ports reachable from outside Secrets kept on it
Public face Caddy, the public website, receivers for the API and IoT 80 and 443 Certificates
Mail and meetings Stalwart (2-08), Jitsi and Cal.com (2-09) Mail ports, and the meeting audio port The DKIM private key
Authentication and data The gatekeeper (2-05), the foundation (2-03), Forgejo (2-06), the document store (2-07) None; reachable only from inside The signing secret, database passwords
AI workstation The AI agent, task folders, the CI runner None The AI service's key, the key for pushing code
Spare Nothing; kept ready None None

The self-hosted LLM set up in 2-16 goes on a separate server of its own. It needs a GPU and a lot of memory, and its needs differ from the other tools'.

*Gather everything on one machine, and one defect or one breached port reaches all of it.* Separate users on the same machine still share one kernel. Separate virtual machines are no wall either: in 2026 alone, two defects were published that let a virtual machine take over its host (CVE-2026-53359 and CVE-2026-64561, both when nested virtualization is enabled). So split with physical machines, not virtualization.

The lines follow two questions: is it reachable from outside, and which secrets does it hold. If the public face is breached, the authentication-and-data machine is still unreachable from outside. If the mail machine is breached, the signing secret and the database passwords are not there.

If you hold a lot of personal information, such as customers' names and contacts, split it off from the authentication-and-data machine onto one more machine. Encrypt the disks of the machines that hold data.

When data is read across machines, the data side checks the person

Even with the entrance machine and the data machine split, the app on the entrance needs to read data. This is the hardest part.

If the entrance asks "give me this person's records" and the data machine trusts it, then when the entrance is breached, everyone's records come out. It is the same as keeping a key to everyone's records on the entrance. Splitting the key's scope into "read only" and "write" does not split "whose records."

So the data machine checks the person's own proof itself. The entrance only passes along the token the person received from the gate (2-05). The data machine, through a small API (2-12), checks its signature and returns only that person's records. If the entrance is breached, what can be reached is only the records of people who came in while it was breached.

This holds only when the gate's signing key is not on the entrance. With the gate on the entrance, a breached entrance can forge anyone's token. So the gate sits on the authentication-and-data machine, as in the table above. Verifying signatures with a public-key scheme means the verifying side, too, holds no key worth stealing. Having the person's own device key (a passkey) sign is another way.

There are four rules, layered from the top.

  1. The data machine checks the person's own proof itself. It does not trust the entrance
  2. Keep only what can be stolen without harm on the entrance machine. Not the gate's signing key, and no personal information such as email
  3. Split the accounts: people, the AI, and services. The same on the entrance and on the data machine
  4. Split the network and narrow who can reach what. This sits on top of the three above

Records on the data machine can only be added to from the entrance. The API offers no "delete" and no "rewrite."

A small company can start by borrowing

A small company may borrow services at first. There is no need to have all four machines at once. Say plainly what is borrowed, and decide the order in which it moves onto your own machines. Follow the order of untying in 2-01.

Build on Debian, with apt and systemd

Every machine runs Debian. Python and apt are there from the start, and if you want git it is one apt line away. Updates never reboot the machine on someone else's schedule.

The services the following chapters stand up are installed with Debian's apt and run under systemd. Anything apt does not carry is installed as the single file its project publishes, and registered with systemd. No Docker.

Docker is a tool for distributing, not for building. It is a box that lets someone else run what you made, unchanged, in their environment. When you build on your own machines and run it there, there is no one to distribute to. Isolation is covered by separate machines, separate users, and systemd's restrictions; rebuilding, by the configuration kept in folders and copies of the data. Concretely, there are three reasons not to use it.

The exception is set from the distributing side too. Something whose project ships it only as a container is received as that container and run. Use only the official image, and never build one of your own. An image with no one to distribute to only adds things to keep and places to fix.

Install a desktop on the workstation

Install the desktop environment (GNOME) on the AI workstation, and leave it running. Some of the work you want the AI to do requires a screen.

When a person needs to look, they connect to that desktop from their own PC. The other three machines get no desktop.

Important work is checked by a person

The work of configuring servers is split between the AI and a person. The AI investigates, reads logs, writes the configuration, writes the fix. Changing the machine is a person's job. The account the AI runs under gets no sudo. Every one of those is work in commands and files, and the result can be checked mechanically. It falls squarely inside what 1-01 described as a domain where the rules are explicit and the answer can be checked.

The unit of work is a folder. *Make one folder per task and set the working directory of Claude Code on the workstation to it. That is all.* The AI reads its context from that folder and writes what it builds into it. Git is not required; add it later if you want the history.

But whoever holds root can read every secret on that machine. They can be deceived, and they can make mistakes. That is true of an AI and of a person alike. So important work is checked by a person. If it takes time, so be it. Important work is these eight.

  1. Applying changes to a machine that holds secrets (the public face, mail and meetings, authentication and data)
  2. Regenerating keys
  3. Actions taken outside (changing DNS, sending mail, deleting data in an external service)
  4. Actions that cannot be undone
  5. Granting or revoking rights (creating or deleting users, making someone an administrator, giving an outsider rights for a job)
  6. Opening a way out or in (firewall rules, ports, adding a permitted destination)
  7. Bringing in new software or an outside service (adding a dependency, widening what data goes to an outside AI)
  8. Changing how copies and logs are kept (how and where copies go, stopping or deleting logs)

The AI states these eight before doing them. The AI explains each line, and a person reads, checks, and types it. Item 1 means changing configuration and applying it. Security updates are applied automatically, and starting a stopped service changes no configuration, so neither falls under item 1.

Treat an outside person you hire for maintenance the same way. Granting rights job by job would be ideal, but day-to-day maintenance would not keep moving. So separate the daily work from the important work.

Other steps that need sudo (applying updates, starting a stopped service) are also typed by a person. No line-by-line explanation is required; the result is verified. How to verify is in each chapter's "How to check you are done."

When an AI reads data from outside (the body of a mail, an outside page), that AI gets no tools and no secrets. Instructions to the AI can hide inside what it reads (2-17).

The human keeps only what a reinstall cannot restore

Every configuration is written to files in the task's folder. Whichever machine breaks, it is rebuilt on the spare from that folder and the copies of the data. The human keeps only what a reinstall cannot restore.

Narrow the ports reachable from outside

2-05's "keep the center minimal, defend in layers on every server" holds with the machines split, too.

Run more than one AI, and have them watch each other

Do not rely on a single AI. Add one from another company as well. Not depending on one vendor is the same idea as avoiding the lock-in examined in 3-05.

Then have them watch each other. Pair AIs from different companies, and give the watching side only the artifact and the criteria for checking it. Do not hand over how it was made. A partner who shares the same history makes the same oversights.

What goes to an outside AI, and what does not

An outside AI is run by a business outside the company. Decide what goes to it and what does not.

An outside AI can stop — by the vendor's choice, or by a government's rules (3-03). Arrange things so the work does not stop with it. What runs the business is frozen into code and keeps running without the AI (2-17). Building work continues on the self-hosted LLM set up in 2-16.

What you need

Memory and disk sizes are not decided here. Tell the AI what this series stands up, and the AI decides what each machine needs.

No dedicated server hardware, no maintenance contract. When one breaks, replace it and rebuild on the spare.

Reverse DNS (PTR) is the record that looks up a name from an IP address — the opposite direction from ordinary DNS. A receiving mail server reverse-looks-up the sending machine's IP and checks that the name it gets maps back to the same IP. If not, the mail is treated as spam or refused. Gmail requires this of every sending machine (Google's email sender guidelines, checked 2026-10-05).

The reverse record is set by the owner of the IP address, the line provider. Even on a fixed-IP line it often starts as the provider's generic name. To match it to your mail host name, ask the provider to set it.

What it costs

The machines are a one-time purchase, roughly ¥250,000–500,000 for five.

The AI is paid monthly. At public prices as of 2026-10-05 (excluding tax, monthly), Claude Pro is $20 a month and Max starts at $100. Another company's basic plan sits in the same range (ChatGPT Plus is ¥3,000 a month on its Japanese page). There are two because watching each other needs two contracts with different companies.

Period Plans Monthly
While building Claude Max $100 + another company's basic plan, about $20 About $120
In operation Claude Pro $20 + another company's basic plan, about $20 About $40 (under ¥10,000 even with tax)

In operation, the AI's work is checking that things run and making small fixes. It is not writing all day, so the basic plans suffice.

No approval paperwork, no server contract, no per-head licenses. Only the person who builds (the builder) talks to the AI, and the contract is that one person's. Letting others use a personal plan is forbidden by the terms (Anthropic's terms of service). What everyone in the group uses is the tools the AI built, and tools need no per-head contract.

How to check you are done

This chapter is done when these six hold.

  1. You can ssh into each of the four machines from your own PC
  2. You can connect to the workstation's desktop from your own PC through ssh and see GNOME
  3. On every machine, systemctl --failed lists no failed service
  4. Seen from outside, the public face shows only 80 and 443, the mail-and-meetings machine shows only its mail and meeting ports, and the other two show no ports at all
  5. The configuration is in the task folders, the copy of the data has arrived off the machines, and you have rebuilt one machine on the spare
  6. A person can put the state of each machine (running services, open ports, firewall directions, updates, backups) on one sheet with a tool, and read it
ssh [email protected]     # 1 — for each of the four
systemctl --failed              # 3
sudo ss -tlnp                   # 4 — list the listening ports

What the human holds

Values the human supplies

Operations the AI states before doing — the eight a person checks

Versions checked, and when

Summary

Decide the machines the Independence part runs on, first.

The next chapter lays the foundation (SQLite, PostgreSQL, DuckDB) on the authentication-and-data machine.


Related articles