Send a job from your phone. Watch the cloud get built.

On the left, the conversation. On the right, your machines coming up in sync: gateway, bastions, zones, network, approvals, rollout.

Idea → App

A CRM with a calendar and team chat, built from one message.

Eleven machines, four zones, four approvals. You never leave the chat.

9:419:449:479:529:5810:0210:098:15
Claude

Build a CRM for our sales team: accounts, pipeline, calendar and team chat. Production-grade, on our own infrastructure.

I'll work through your LetKite gateway, so your rules, approvals and audit log cover everything I do. Here is the plan:

Plan
  1. Isolated staging runtime on the prod VPS (nested virtualization)
  2. Enroll the new node in the LetKite gateway
  3. GitHub repository, protected main, CI
  4. Services: api, web, realtime, scheduler
  5. Postgres primary and replica, migrations
  6. Staging tests, then a rolling production release
  7. Monitoring, alerts and a rollback plan

Step 1 is an isolated staging runtime. prod-vps-1 supports nested virtualization, so I will create a guest VM and leave the host alone.

letkitevirt-install staging-vm · prod-vps-1needs approval
Approved in LetKite
letkitevirt-install staging-vmdone · 41 s

staging-vm is up: Ubuntu 24.04, 4 vCPU, 8 GB, on an isolated bridge.

Next I will install the LetKite agent in it and enroll it as a node, so every staging command follows the same rules.

Approved in LetKite
letkiteenroll_node staging-vmjoined

staging-vm joined the gateway as user deploy, no sudo. Limits are applied.

Now the source of truth: a private GitHub repository with protected main, required reviews and CI.

Approved in LetKite
githubcreate_repository acme/crmprivate
CI · main · c3f9a1elinttestbuildscan

Scaffolded four services and Postgres schema v1 with migrations. Tests on staging-vm:

staging-vmunit 142e2e 18SAST clean

Production topology: bastion-1 and bastion-2 for access, app-1 and app-2 for the CRM, chat-1 for realtime, cal-1 for the scheduler.

Data tier: db-1 primary, db-2 replica, nas-1 for nightly dumps. All hosts share one WireGuard network, and web may reach data on 5432 only.

The schema change on db-1 is production, and I only have read access there. I have asked you to approve it.

Approved in LetKite

Migrated. Rolling out: app-1 is healthy.

app-2 is healthy. Smoke tests pass on both.

LiveLive at crm.yourcompany.comMonitoring and alerts are on. Rolling back is one command.

Add a daily summary email.

v2Shipped through the same pipeline. cal-1 sends the summary at 8:00.
The AI pathThe AI works through the gateway. The agent on each machine connects out to it, so nothing needs an open port.
The people pathA WireGuard channel the gateway configures, so you and your team can reach the machines yourselves. It lands on the bastions.
You and your teamWireGuard, set up by the gateway
Your AIClaude, over MCP
LetKite gateway
  • Rules per machine
  • Approvals on your phone
  • Audit log
GitHubacme/crm · private · CI on
WireGuard private network · 10.8.0.0/24
Build zone
prod-vps-1user ops · KVM hostnested virtualization
staging-vmuser deploy · 4 vCPU · 8 GBisolated bridgeupnode joinedtests passed
Admin zone your team lands here
bastion-1user letkitejump host · no app data
bastion-2user letkitejump host · no app data
admin → all zones: ssh
Web zone crm.yourcompany.comcrm.yourcompany.com · v2
app-1user deploywrites /srv/crm · restarts crmhealthy · v1healthy · v2
app-2user deploywrites /srv/crm · restarts crmhealthy · v1healthy · v2
chat-1user chatrealtime chat · restart only
cal-1user calscheduled jobsdaily summary · 8:00
web → data: 5432 only
Data zone
db-1primary · user postgresAI read-only · schema changes need approvalwaiting for your approvalapproved · migratingmigrated
db-2replica · user postgresread-only · reports
nas-1user backupnightly dumps

Every machine has its own user and its own limits

The AI can do only what the row says. The last column always waits for your OK on your phone.

HostUserWhat the AI can doWhat needs your approval
app-1, app-2deployWrite /srv/crm, restart crmDeploying to production
db-1postgresRead dataSchema changes
cal-1calRun and edit scheduled jobsJobs that write to db-1
nas-1backupRead backups, run a restore testRestoring over live data
bastion-1, bastion-2letkiteJump hostsNothing
chat-1chatRead logs, restart chat serviceNothing
db-2postgresRead for reportsNothing

Where the data lives

One place changes. Two places read. One place remembers.

db-1Takes every write. The only place data changes. Schema changes wait for you.
db-2Serves reports and read-only AI queries, so the primary stays quiet.
nas-1Holds a nightly dump, tested by a restore every week.

One release, step by step

This is what happened between “Put it on our servers” and “Live”.

  1. BuildThe AI writes the app in its workspace and runs the tests.
  2. StageA copy goes to app-1 on a staging address for a smoke test.
  3. MigrateThe schema change on db-1 is prepared and shown to you.You approve
  4. Roll outapp-1 first. When it is healthy, app-2.
  5. Wire upcrm.yourcompany.com points at both servers. Chat and calendar are connected.
  6. RecordEvery command, file change and approval goes into one audit log.
Website rescue

It is 2:07 a.m. and the orders site is down.

The same nine machines, already up and green. You are in bed with your phone. That is enough.

2:07 2:08 2:09 2:10
Claude

The orders site is down!

Looking. Reading app-1 through the gateway.

app-1 crashed: its log disk is full. app-2 is healthy and is taking the traffic.

I can fix this: rotate the logs and restart crm on app-1. I have asked you to approve it in LetKite.
Approved in LetKite
Back online Both servers are serving again.

The report is in the audit log. Go back to sleep.

The AI pathOnly this path was used tonight: your AI, the gateway, the agent on app-1.
The people pathStill there, unused. Nobody had to open a laptop or log in to a bastion.
Youin bed, with your phone
Your AIreads logs, proposes the fix
LetKite gateway
  • restart crm is allowed on app-1
  • production: asks you first
  • records the repair
WireGuard private network · 10.8.0.0/24
Admin zone nobody had to log in
bastion-1user letkitejump host
bastion-2user letkitejump host
admin → all zones: ssh
Web zone orders.yourcompany.com
app-1user deploywrites /srv/crm · restarts crm crashed/var/log 100% fullrotate logs + restart?rotating · restartinghealthy · 200 OK
app-2user deploywrites /srv/crm · restarts crm healthy · taking all traffic
chat-1user chatuntouched
cal-1user caluntouched
web → data: 5432 only
Data zone
db-1primary · user postgresuntouched
db-2replica · user postgresuntouched
nas-1user backupuntouched
  1. 02:07:41claude → app-1 · read crm.log (tail), df -h /var/logdisk full
  2. 02:08:34claude → gateway · request: rotate logs + restart crm on app-1needs approval
  3. 02:09:05you (phone) → gateway · approve request #4183approved
  4. 02:09:21claude → app-1 · logrotate -f crm; systemctl restart crmdone
  5. 02:10:02claude → app-1 · curl -sf orders.yourcompany.com/health200 OK

Three minutes, start to finish

  1. 02:07
    Orders return an errorYou notice, and you type one line.
  2. 02:08
    The AI finds the causeA full log disk on app-1. app-2 is healthy and keeps serving.
  3. 02:09
    You approve the fix on your phoneRotate the logs, restart crm on app-1. One tap.
  4. 02:10
    The site is backBoth servers are serving again. The report is in the audit log.

What the AI was allowed to do

The same limits as every other night. Nothing was widened for the emergency.

app-1 · user deployRead logs, check disk, rotate logs, restart crm. Deploying code needs approval, and so does a restart in production.
app-2 · user deployChecked once, left alone. It was serving all traffic the whole time.
Everything elseUntouched. The data zone and the bastions never saw a command.

From the audit log

Every command, who asked for it, and who approved it. This is the full excerpt for that night.

  1. 02:07:41claude → app-1read/var/log/crm/crm.log (tail)
  2. 02:07:52claude → app-1execdf -h /var/log100%
  3. 02:08:10claude → app-2execsystemctl status crmhealthy
  4. 02:08:34claude → gatewayrequestrotate logs + restart crm on app-1needs approval
  5. 02:09:05you (phone) → gatewayapproverequest #4183
  6. 02:09:06claude → app-1execlogrotate -f /etc/logrotate.d/crm
  7. 02:09:21claude → app-1execsystemctl restart crm
  8. 02:10:02claude → app-1execcurl -sf https://orders.yourcompany.com/health200 OK
  9. 02:10:04claude → gatewayreportsaved · incident-2026-11-28-0207