Set up a small Linux server and move three backends onto it

An iOS developer with little backend experience had an AI agent build a $4 Linux server, move three backends onto it and replace a hosted backend, then trace two outages to 740 MB of processes on a 458 MB machine.

Done withCustom agent· Nov 22, 2026

What they did

Tuan Ho Si, who describes himself as an iOS developer who only knew basic backend work, used an AI agent in October 2026 to set up a small Linux server with a firewall, automatic deploys and HTTPS certificates, move three small backends onto it, and replace a hosted backend with his own API and database, including copying the data and checking that record counts matched. When services on the server stopped answering twice in November, he had the agent measure the memory used by every process. He does not name the agent product.

How it went

Server setup took one working session and the backend replacement another. Both outages had one cause: about 740 MB of processes on a machine with 458 MB of usable memory, so idle services were swapped to disk and one API failed 313 health checks in a row. Per-container memory limits added after the first outage summed to 984 MB and did not help. The first outage came from a daily export that loaded the whole database, was killed and retried every ten minutes; it was moved elsewhere. Resizing from 512 MB to 1 GB, $6 a month instead of $4, with five minutes of downtime, fixed it.

Worth knowing

The author says the agent did the work but he lacked the background to review container configuration, and the undersized machine was his own choice. His takeaway is to ask the agent for measurements you can check rather than reassurance, and to add up per-process memory before deploying.

Try it

With Custom agent· 5 parts to fill in

I have a [size] Linux server at [provider]. Set it up with a firewall, HTTPS certificates and automatic deploys from [my repo], then move [list of services] onto it. Before deploying, measure what each service really uses in memory, add the system overhead, and tell me whether the total fits this machine; if it does not, stop and tell me what size I need. For the data migration from [current hosted backend], compare record counts table by table and show me the result before switching traffic.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related