OpenClaw was designed to run on a laptop. The default install — curl -fsSL https://openclaw.ai/install.sh | bash, then openclaw onboard — drops the gateway, the workspace, the skills and the persistent memory under ~/.openclaw/ and assumes the machine wakes up every morning (openclaw.ai install instructions). That model works for one person at one desk. The moment a customer needs the agent to run a cron job at 3 a.m. while the laptop is closed, or to answer a Telegram webhook while the operator is on a flight, the deployment target shifts. Virtuozzo Application Platform (formerly Jelastic), VAP from here, is one of the cleaner targets for that shift — a Node.js container, a persistent volume mount, the built-in scheduler, the Let’s Encrypt add-on, and the platform Git-push-deploy together cover everything OpenClaw needs that a laptop normally provides for free.
What’s happening
OpenClaw is a Node.js application with an agent loop that holds persistent state in flat files under ~/.openclaw/workspace, plus a gateway HTTP service that listens on 127.0.0.1:18789 by default and dispatches to channel adapters (Telegram, WhatsApp, Slack, Discord, Signal, iMessage, Matrix and the rest of the supported set) (GitHub README). The runtime needs Node 24 (recommended) or Node 22.16+ (GitHub README — system requirements). On a laptop the host filesystem covers persistence, launchd or systemd-user keeps the gateway running, and the chat platforms reach the agent because the operator’s IDE has a public tunnel or the laptop is on a routable address.
On VAP, every one of those host-provided guarantees has a platform analogue:
- The agent process. A single Node.js compute node (Virtuozzo’s Node.js engine,
nodejsnode type) runsopenclaw gateway --port 18789under the platform’s process manager. Cloudlets — 1 Cloudlet = 128 MiB RAM + 400 MHz CPU (docs.virtuozzo.com) — set the floor and ceiling for the process. - Persistence. OpenClaw’s workspace, skills, memory, channel state and tokens all live under one directory tree. On VAP that tree lives on a mounted storage node (one Cloudlet of dedicated storage, persistent across container restarts and node migrations) or on a small persistent volume attached to the compute node — never on the container’s writable layer, where a redeploy wipes it.
- The scheduler. OpenClaw’s internal cron primitives run only while the gateway is up; VAP’s built-in scheduler (Environment → Settings → Scheduler) is host-driven and survives container restarts, which matters when you want a 3 a.m. job to fire even if the gateway crashed at 2:55. The two coexist; the article on cron in this series picks the right one per job.
- Webhook ingress. Telegram, Slack and Discord deliver messages by POSTing to a public URL. VAP terminates TLS on its shared load balancer, the Let’s Encrypt add-on issues the cert for the custom domain, and the LB forwards
/webhook/*paths to the Node.js node — no port-forwarding tunnel, no dynamic DNS. - Secrets. Channel tokens, model API keys and integration credentials never sit in the repo. They live in VAP container environment variables, in the platform’s secret-management add-on, or in an external vault pulled at process start — covered in the secrets-vault tutorial.
The combined topology is mostly stateless on the compute side and emphatically stateful on the storage side. OpenClaw is not a 12-factor twelve-replica app; it is a single-instance personal agent with a memory file that has to survive forever. The PaaS shape reflects that.
How to verify
After standing up the environment, the listeners on the Node.js node should be exactly these:
# From the platform web SSH on the cp node
ss -lntp | grep -E ':(18789|3000|8080)\b'
# 127.0.0.1:18789 openclaw gateway
Only the gateway should be listening, and only on localhost. The platform load balancer forwards inbound :443 to the container’s app port (18789 in this layout), so any other listener is either dead code or a security finding.
The workspace must live on a mount, not on the container root:
df -h ~/.openclaw/workspace
# Filesystem Size Used Avail Use% Mounted on
# /dev/... 10G 120M 9.9G 2% /home/jelastic/.openclaw/workspace
If df shows the workspace on the same root filesystem as /, a redeploy will lose every conversation, every memory, every paired channel. Move it before any user sends a message.
Webhook reachability from the public internet:
curl -sS -I https://agent.example.com/webhook/healthz
# HTTP/2 200
If you get 502 Bad Gateway, the LB is reaching the platform but the Node.js node isn’t listening on the expected port. If you get a TLS error, the Let’s Encrypt add-on hasn’t issued the cert yet — covered in the custom-domain article.
The scheduler:
# From the platform CLI
jelastic environment.scheduler.GetList --envName openclaw-prod --session "$SESSION_ID"
Empty is fine on day one. After the cron-jobs tutorial runs, you should see the host-side jobs that drive memory snapshots and the heartbeat tick.
Why VAP specifically
Two reasons the platform fits OpenClaw better than “a generic VM.”
First, the persistence story. OpenClaw’s workspace is the single source of truth for the agent’s behavior — memory, skills written by the agent itself, channel pairing state, integration tokens. Losing it is losing the agent. VAP’s storage node is a separate billing unit (its own Cloudlets) and gets snapshotted on the platform’s schedule (docs.virtuozzo.com — Storage), which means the durability story is solved at the platform layer instead of in your backup scripts. The persistent-memory tutorial in this series walks through the move.
Second, the webhook ingress story. Personal AI agents only feel personal when they reply to the chat app while the operator is sleeping. That requires a stable public hostname, valid TLS, and an LB that survives container restarts. VAP’s shared LB plus Let’s Encrypt add-on covers all three in roughly the same effort as configuring cloudflared on a laptop, but without the laptop being the single point of failure.
What VAP doesn’t fix for you: model API rate limits, integration token rotation, the agent’s tendency to spend money fast on tool calls, and the human discipline of writing skills the agent can actually use. The platform doesn’t make OpenClaw smarter — it just makes the question “is the agent still running” not require a desk visit.
When this overview applies
Read this article first if you’re scoping an OpenClaw deployment for someone who needs the agent online while they’re asleep, on a flight, or in a meeting — i.e. anyone past the “evaluating on my laptop” stage. The follow-ups in this series get into the topology, the Cloudlet sizing, where the memory actually lives, how to wire secrets, custom domains, the deploy workflow when you’re running an OpenClaw fork, cron reliability, chat-platform webhooks, and the cost shape of the workload.
What this article does not cover: choosing between OpenClaw and the alternatives, fine-tuning the model behind it, or writing skills. Those live elsewhere on openclaw.ai and in the project’s GitHub README.
The companion articles:
Stack Harbor runs OpenClaw and other personal-AI agent stacks on managed PaaS with persistence, scheduler, webhook ingress and secret rotation handled inside our Managed Cloud Ops tier. If you’d like a scoping call for an OpenClaw deployment with a 24/7 SLA, book a session.
Last verified on OpenClaw current, VAP 8.x.