OpenClaw has become one of the most talked-about self-hosted AI projects heading into 2026. Unlike browser-based chatbots that only respond when you ask, OpenClaw is an always-on AI agent that runs on your own server, connects to your messaging platforms, and executes tasks autonomously—even while you sleep. If you’re ready to take control of your AI infrastructure, this guide covers everything you need to know about OpenClaw hosting on a VPS, from hardware requirements to deployment steps and security hardening.

What Is OpenClaw?

OpenClaw is an open-source AI agent created by Austrian developer Peter Steinberger. It launched under the name Clawdbot and went through a rename after a trademark dispute. At its core, OpenClaw runs a persistent Node.js process called the Gateway that connects to messaging platforms including WhatsApp, Telegram, Slack, Discord, and iMessage.

What sets OpenClaw apart from traditional chatbots is its architecture:

  • Local data storage — Conversation context and agent memory are written to Markdown files on your own disk, with no vendor lock-in
  • Model flexibility — Connect to Claude, GPT-4, or other cloud APIs, or run local models through Ollama or LM Studio
  • Persistent operation — A recurring heartbeat reads a HEARTBEAT.md checklist to decide whether proactive action is needed

In short, OpenClaw is less “chat window” and more “always-on assistant that lives on your server.”

Why Self-Host OpenClaw?

The case for self-hosting comes down to three factors: cost, privacy, and control.

A self-hosted OpenClaw setup costs roughly $5–$15 per month in API tokens plus your VPS hosting fee. ChatGPT Pro, by comparison, runs $200 per month for a browser-based chatbot that only responds when prompted—it cannot serve as a 24/7 multi-channel agent.

More importantly, you own your data. Conversation history, agent memory, and configuration files stay on your server. They are not transmitted to a third-party SaaS platform. As Steinberger has said, OpenClaw is “a place for thinkers, hackers, and people who want a way to own their data.”

OpenClaw VPS Requirements

Getting the hardware right is critical, because undersized VPS instances fail during installation. 4GB of RAM is the practical standard configuration for OpenClaw.

ResourceMinimumRecommendedNotes
CPU1 core2+ coresMore cores needed for multiple agents
RAM2GB4GB+1GB instances frequently fail with OOM errors
Storage2GB5GB+Workspace, logs, and SQLite databases grow over time
RuntimeNode.js 22+Node.js 24Many VPS images still ship Node 18 or 20

Important context: OpenClaw itself does not run AI models locally. It’s a lightweight Node.js runtime that sends requests to cloud APIs like OpenAI, Anthropic, or Google. The only users who need significantly more hardware are those running local models through Ollama—a separate configuration requiring 16GB+ RAM.

Browser automation is another consideration. Each Chromium instance spawned for browser tasks consumes 2–4GB of memory on its own. If your workflow involves heavy automation, plan for 8GB or more.

DreamHost OpenClaw Hosting

DreamHost has positioned itself as a practical option for OpenClaw hosting by adding the application to its VPS App Library. Choosing OpenClaw from the library installs OpenClaw 2.0 with several quality-of-life improvements.

The DreamHost deployment experience includes:

  • Pre-configured environment — OpenClaw is installed and running before your first login
  • Domain and SSL included — Your VPS comes with its own domain, with certificates handled automatically
  • Browser application — A rebuilt browser app opens directly into a conversation, so you don’t have to manage the installation through SSH
  • Shared sessions — Team members can join the same conversation, see completed work, and continue without a full recap
  • Unmetered bandwidth — All VPS plans include unlimited bandwidth, which matters for teams with heavier usage

Critical caveat: DreamHost VPS is self-managed. The company is explicit that VPS customers are responsible for system updates, security patches, and application maintenance. This is not a managed service. You need basic Linux competency to run it safely.

For a full breakdown of performance, support, and real-world deployment experience, see our DreamHost VPS Review 2026.

How to Self-Host OpenClaw on a VPS - DreamHost

How to Deploy OpenClaw

DreamHost streamlines deployment to four steps:

  1. Log in to your DreamHost panel
  2. Navigate to Servers & Usage
  3. Add a VPS, choose OpenClaw, and select your login method
  4. Your server comes online within minutes with OpenClaw ready to use

DreamHost describes this as “deploy in minutes” rather than “one-click install”—a distinction the company emphasizes for accuracy, since some configuration is still required.

Option 2: Manual VPS Deployment (Full Control)

For developers who want complete control, the manual path involves provisioning an Ubuntu or Debian VPS, installing Docker, cloning the OpenClaw repository, and configuring the environment.

bash

# On your VPS as root
apt-get update
apt-get install -y git curl ca-certificates
curl -fsSL https://get.docker.com | sh

# Clone OpenClaw
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Create persistent directories
mkdir -p /root/.openclaw/workspace
chown -R 1000:1000 /root/.openclaw

# Configure .env and docker-compose.yml, then:
docker compose up -d

Treat your VPS as stateful infrastructure, not disposable. All long-lived state—conversation history, agent memory, credentials—must live on the host filesystem and be mounted into the container. If you tear down the container without a mounted volume, you lose your agent’s memory.

For Docker installation specifics, see the official Docker Ubuntu install guide.

Pricing and Cost Considerations

OpenClaw hosting costs break down into two components: VPS hosting and AI API usage.

VPS costs vary by provider. Budget options like Hetzner start around €3.29/month for an ARM instance with 4GB RAM. DigitalOcean’s basic Droplet runs about $6/month. DreamHost’s recommended VPS tier is positioned as a practical starting point for most users, and GoDaddy offers OpenClaw-specific VPS plans starting around $11.99/month with 4GB RAM and 2 vCPU cores.

API costs depend on your usage pattern and provider. The $5–$15/month estimate assumes moderate usage of cloud APIs like Claude or GPT-4. Heavy automation or multi-channel deployment will increase token consumption.

Before you commit, compare the full cost picture—including renewal pricing, which is where shared and VPS hosts often differ most. Our DreamHost pricing breakdown covers plan tiers and renewal costs in detail.

Security Hardening Essentials

Running an AI agent on a public server without hardening is risky. An agent that can read messages, execute commands, and reach the internet is a high-value target, and a publicly exposed gateway port is the single biggest exposure.

Recommended steps, in priority order:

  1. Restrict connections to localhost — Change the host value in ~/.openclaw/openclaw.json from 0.0.0.0 to 127.0.0.1. This alone closes off the most common attack path.
  2. Create a dedicated user account — Never run OpenClaw as root. A compromised agent then has limited permissions.
  3. Configure execution controls — Set tools.exec.security to “deny” and tools.exec.ask to “always” so local command execution requires your explicit approval.
  4. Close port 18789 to external traffic — If using Docker, bind ports to 127.0.0.1:18789:18789, since Docker can bypass standard firewall rules.
  5. Use a private connection for remote access — SSH tunneling or Tailscale gives you secure access without exposing the gateway publicly.

Review the OpenClaw documentation for current security guidance, since the project ships changes quickly.

OpenClaw Hosting Alternatives

Beyond DreamHost, several providers offer OpenClaw-ready VPS environments:

ProviderStarting PriceOpenClaw SupportBest For
Hetzner€3.29/monthDocker deploymentBest price-to-performance
DigitalOcean~$6/monthManual setupClean firewall UI, solid docs
DreamHostVPS tier pricingVPS App LibraryGuided deployment, unmetered bandwidth
GoDaddy$11.99/monthOne-click OpenClaw VPSBeginners who want managed setup

Hetzner stands out for raw value—the CAX11 ARM instance with 4GB RAM is hard to beat on price. GoDaddy takes the opposite approach, offering a fully managed one-click deployment for users who don’t want to touch a terminal.

Who Should Self-Host OpenClaw?

Self-hosting OpenClaw makes sense if you:

  • Want a 24/7 AI assistant reachable through Telegram, WhatsApp, or Slack
  • Need data sovereignty and don’t want conversations stored on a vendor’s servers
  • Are comfortable with basic Linux administration (or willing to learn)
  • Want to save money compared to $200/month ChatGPT Pro subscriptions

Self-hosting is not for you if:

  • You need zero-maintenance, fully managed AI hosting
  • You’re uncomfortable with SSH, Docker, or command-line tools
  • You expect the provider to handle all security updates automatically

Dreamhost openclaw official price: https://www.dreamhost.com/hosting/vps/openclaw/

Comments

Join the discussion

Sign in to leave a comment. It keeps the conversation civil and means you never have to type your name and email again.