Guide · OpenClaw hosting
OpenClaw Hosting: Where to Run Your Agent 24/7
The four ways to host OpenClaw so it answers while you sleep: a small VPS, a one-click cloud platform, a Mac mini at home, or managed hosting. What each asks of you, and how to pick.
Last reviewed
OpenClaw is open source and runs on almost anything, but it only works for you while the machine under it is on. Your agent lives in one long-running process, the Gateway: it holds your sessions, settings and memory, keeps the connections to WhatsApp, Telegram, Slack or whichever channels you add, and runs your scheduled jobs. Close the laptop it runs on and the agent stops answering.
So "OpenClaw hosting" comes down to one question: which always-on machine runs the Gateway, and who looks after it? There are four real answers. Here is what each one asks of you.
The four ways to host OpenClaw
| Option | Best for | You look after | Cost |
|---|---|---|---|
| Small Linux VPS | Anyone at home in a terminal who wants the lowest running cost | Server setup, OS and OpenClaw updates, firewall, backups | Monthly server rent, on the provider's pricing page |
| One-click cloud platform | People who want to deploy from a browser and still own the account | Variables, a persistent volume, template updates | Usage-based on most platforms; check each pricing page |
| Your own Mac mini or Linux box | iMessage, browser automation from a home connection, full control | Power, sleep settings, home internet, updates, backups | Hardware you buy or already own, plus electricity |
| Managed OpenClaw hosting | Non-technical founders who never want to touch a server | Your agent's instructions, channels and model key | A plan from the host; read its pricing page |
What any OpenClaw host has to do
Whichever option you pick, check it can do these five things:
- Stay on. A laptop that sleeps when the lid closes takes the Gateway with it. OpenClaw's own docs point people who want true always-on at a dedicated Mac mini or a small VPS.
- Run a supported Node.js. OpenClaw's install docs ask for Node 24.16.0 or later on 24.x, or 26.1.0 or later, and recommend 24.22.1+ or 26.12.1+ for security fixes. The official installer adds Node when it is missing.
- Keep its files. Your settings and your agent's workspace live in
~/.openclaw/(openclaw.jsonandworkspace/). On a platform that resets the disk on every deploy, they need a persistent volume, or the agent forgets everything. - Bring the Gateway back after a crash or reboot. On Linux,
openclaw onboard --install-daemoninstalls a systemd service that restarts it automatically. - Keep the dashboard private. The Gateway's dashboard listens on port 18789. OpenClaw's secure default keeps it on the machine itself and reaches it through an SSH tunnel or Tailscale. If you open it to a network, it requires a token or password.
Option 1: a small Linux VPS
This is the default OpenClaw's docs recommend for an always-on Gateway at low cost. You rent a small server, connect to it over SSH, run the installer, and the Gateway runs there around the clock. You reach the dashboard from your laptop or phone.
OpenClaw publishes setup guides for DigitalOcean, Hetzner, Hostinger (a VPS with one-click setup), Oracle Cloud, Google Cloud, Azure and Fly.io, and notes that AWS works too.
- Sizing. Docker is optional. If you build OpenClaw's Docker image on the server itself, give it at least 6 GB of RAM; on a smaller server, use the official pre-built image (
ghcr.io/openclaw/openclaw) instead. The docs recommend SSD storage for faster restarts. - Security. Harden SSH before you install anything, and keep the Gateway bound to the server itself. If you run it in Docker, read OpenClaw's network-exposure page first: Docker's published ports can get around a host firewall such as ufw, and the page covers the
DOCKER-USERchain that closes that gap. Our OpenClaw Docker guide walks through the container setup end to end. - Backups. The VPS becomes the only copy of your agent's memory. Back up
~/.openclaw/on a schedule. - Free tier. OpenClaw has a guide for Oracle Cloud's Always Free ARM tier. What that tier includes, and its terms, are Oracle's to set: check them when you sign up.
Pick it if you are comfortable in a terminal and want the cheapest bill you control. Skip it if the words "SSH key" already sound like a second job: see managed hosting vs self-hosting on a VPS for what that job involves.
Option 2: a one-click cloud platform
OpenClaw's docs list Railway and Northflank as one-click setups you run entirely from the browser, and Render as a managed web service. You deploy a template, set a few variables (a gateway token, where state lives), and open the dashboard in your browser. There is no terminal on the server.
- Attach a volume. Railway's guide marks a volume mounted at
/dataas required for persistent state. Without one, a redeploy can wipe your agent's memory and settings. - Treat the gateway token as a password. It is the key to your agent's dashboard.
- Updates are still yours. The platform keeps the container running; moving to a new OpenClaw release is up to you.
Pick it if you want to click "deploy" and keep the account in your own name. Billing on these platforms is usually by usage, so read each one's pricing page before you leave an agent running all month.
Option 3: your own Mac mini or Linux box
A spare machine at home works, and OpenClaw's docs name it as the choice when you want full control and a residential IP: many websites block data-center addresses, so browser automation often works better from home. If you want iMessage, you need macOS. OpenClaw also has a Raspberry Pi guide.
- Stop it sleeping. Keep the Mac plugged in and turn off sleep. On a Mac laptop, closing the lid puts the machine to sleep and stops the Gateway with it.
- Your home connection is your uptime. A power cut or a router restart takes the agent offline until it comes back.
- Keep it separate if it's shared. If other people use the agent too, OpenClaw's docs advise keeping that machine out of your personal Apple, Google and password-manager accounts.
A hybrid works too: run the Gateway on a cheap VPS and pair your Mac to it as a node, so the agent can use the Mac's browser or screen when it needs to while the Gateway itself never sleeps.
Option 4: managed OpenClaw hosting
A managed host runs the Gateway for you: the server, the updates, the restarts and the backups. You sign up, add your model and your channels, and the agent is live. For a founder who wants the agent working rather than a server to look after, this is the shortest path; see one-click agent deployment for non-technical founders.
Agent37 is one: it runs OpenClaw, Hermes, Claude Code, Codex and other agents in the cloud for you (agent37.com/personal). Still deciding between OpenClaw and Hermes? See OpenClaw vs Hermes Agent. Whichever host you consider, ask:
- Which OpenClaw version do you run, and how quickly do you apply security releases?
- Is my agent's memory and workspace kept across restarts, and is it backed up?
- Can I export everything and move to another host?
- Do I bring my own model key, or pay for model usage through you?
Plans and prices change; read them on each host's own pricing page. Understanding agent hosting pricing at the entry level covers what to compare.
How to choose
- You have never used SSH and want the agent working this week: managed OpenClaw hosting.
- You live in a terminal and want the lowest monthly bill: a small Linux VPS.
- You want browser-based setup but your own cloud account: a one-click platform, with a volume attached.
- You need iMessage, or browsing from a home connection: a Mac mini at home, or a VPS with your Mac paired as a node.
Before you leave it running
Wherever OpenClaw ends up, go through this list once:
- The dashboard isn't open to the internet. Reach it through an SSH tunnel, Tailscale or your host's sign-in.
- Strangers can't message your agent. Set an allowlist on each channel; for WhatsApp, OpenClaw's docs show a direct-message allowlist of your own numbers.
- Your model spend has a ceiling. Set a limit with your model provider: setting a monthly spend cap before your agent runs.
~/.openclaw/is backed up, or your host backs it up for you.- It survives a restart. Reboot the machine, then check
openclaw gateway statusand send your agent a message. - Updates have an owner. Someone, you or your host, keeps Node and OpenClaw current.
Questions people ask
Can I host OpenClaw for free?
The software is free, and there are two ways to run it without paying for a server: on hardware you already own, or on Oracle Cloud's Always Free tier, which OpenClaw has a setup guide for. You still pay for the AI model your agent uses unless you run a local model.
What is the best VPS for OpenClaw?
There isn't one best provider. OpenClaw publishes guides for DigitalOcean, Hetzner, Hostinger, Oracle Cloud, Google Cloud, Azure and Fly.io, so any of those is a supported start. Pick a region near you and SSD storage, and allow at least 6 GB of RAM if you will build the Docker image on the server; with the pre-built image, a smaller server works.
Do I need Docker to host OpenClaw?
No. OpenClaw's docs call Docker optional: it is useful for an isolated, throwaway Gateway, but the normal installer runs OpenClaw directly on the server. If you do use Docker on a VPS, check how its published ports interact with your firewall.
Can OpenClaw run on shared web hosting?
Usually not. The Gateway is a process that has to run all the time, and shared web hosting is built to serve websites, not to keep your own processes running. Use a VPS, a one-click platform, your own machine or a managed host.
Is a Mac mini better than a VPS for OpenClaw?
It depends on what the agent does. A VPS is cheaper to start and doesn't depend on your home power or internet. A Mac mini gives you iMessage and a home IP address that websites block less often. You can also combine them: the Gateway on a VPS, your Mac paired as a node.
Can one OpenClaw serve my whole team or my customers?
OpenClaw's docs say one shared agent is fine when everyone using it is in the same trust boundary, such as a small team using it for business only. When users shouldn't see each other's data, as with customers, run a separate Gateway for each one.





