How to Set Up OpenClaw on a VPS for Private AI Agents

Blog Hosting VPS hosting OpenClaw How to Set Up OpenClaw on a VPS for Private AI Agents
,
14 Mins Read
how_to_set_up_openclaw_on_a_vps
Summarize this blog post with:

Key highlights

  • Choose a virtual private server (VPS) plan that fits your agents, starting with NVMe 4 as the minimum.
  • Learn how to set up OpenClaw on a VPS using a one-click install and the Bluehost Portal.
  • Connect your AI model and a first messaging channel so your private agent answers your team.
  • Know which security checks and troubleshooting fixes help keep your OpenClaw server private after setup.
  • Explore the manual install path if you already run your own Linux server with shell access.

If you want an AI agent that stays available independently of your laptop, run OpenClaw on a VPS. With Bluehost, you can install OpenClaw 2.0 in one click at checkout, then connect an AI model and messaging channels. A self-managed VPS gives you control over the agent’s deployment, configuration and stored data, while the data sent to cloud model providers and connected services depends on your setup.

This guide walks you through choosing a plan, deploying OpenClaw, connecting a model and testing your agent. It also covers manual installation, security and common troubleshooting steps.

Why run your AI agents on a private VPS?

A private VPS gives OpenClaw a server that stays online, where you control the data, prompts and execution logic. SaaS AI platforms can limit visibility and require proprietary data to move outside your infrastructure, which restricts what you can automate with confidence.

A VPS also keeps your agent, its channels and scheduled Automations running when your laptop sleeps or restarts. If you’re still weighing providers, our guide to choosing the best VPS for OpenClaw covers the infrastructure to look for.

Also read: What Is VPS Hosting? A Complete Beginner’s Guide

What do you need before installing OpenClaw?

You need a VPS with enough resources to run OpenClaw and its connected workloads. On Bluehost, NVMe 4 is the functional minimum; NVMe 8 and NVMe 16 suit heavier workloads. Prepare the following before buying or reimaging a server.

OpenClaw 2.0 · Bluehost VPS Hosting

Automations that actually survive a restart.

Run OpenClaw 2.0 on a Bluehost VPS built to stay online, keeping every automation, channel, and approval running through every restart and update.

automation lifecycle · nightly-report
Runs
Restarts
Resumes
Delivers
root access · Docker Always on
  • Root access and Docker support: Bluehost self-managed VPS hosting provides root access and Docker support. These let you manage the server environment and use supported containerized deployments.
  • Persistent storage: NVMe storage keeps OpenClaw’s session data, run history, skills and configuration available across reboots.
  • Model access: Have an API key for a provider such as OpenAI or Anthropic or configure a compatible local model. Bluehost AI Credits are another option when configured according to the relevant guide.
  • SSH access: Prepare an SSH key pair for secure administration and be comfortable using a terminal for server maintenance.
  • Time for upkeep: This is a self-managed VPS. You handle the operating system, OpenClaw configuration, updates, integrations and security hardening.

Which OpenClaw VPS plan fits your workload?

Resource needs depend on your model, number of agents and channels and workload. This table compares the three Bluehost plans that meet OpenClaw’s requirements by virtual CPU (vCPU), random access memory (RAM) and storage.

PlanvCPU, RAM, storageBest fitIntro price (24-month term)Renews at
NVMe 4 (Recommended)2 vCPU, 4 GB DDR5, 100 GB NVMeOne agent, a few channels and a handful of Automations; the functional minimum for OpenClaw$9.49/mo$11.99/mo
NVMe 84 vCPU, 8 GB DDR5, 200 GB NVMeMulti-container production and heavier traffic$12.99/mo$28.99/mo
NVMe 168 vCPU, 16 GB DDR5, 450 GB NVMeHeavy AI workloads, large teams and enterprise stacks$25.99/mo$49.99/mo

Note: Bluehost pricing was verified in October 2026 and may change. See current Bluehost plans and pricing.

Start with NVMe 4 for a lighter deployment, then monitor resource usage and scale up as your workload grows. Compare the renewal rate as well as the intro price when you size hosting for OpenClaw.

Which setup path should you follow?

Your path depends on where OpenClaw will run and whether the server already holds data. Pick the option that matches your situation, then go to that section.

  • New Bluehost VPS: Follow the one-click steps below to buy a plan with OpenClaw installed.
  • Existing Bluehost self-managed VPS: Use the reimage steps after Step 7, which erase everything on the server.
  • A VPS you already manage: Use the manual install section to run the official installer over SSH.

How do you set up OpenClaw using one-click deployment?

At Bluehost, our VPS plans come with OpenClaw 2.0 available as a one-click install at checkout. The steps below take you from purchase to a working agent and our step-by-step purchase walkthrough shows each screen.

The image includes OpenClaw 2.0 (Community edition) on a secure Linux operating system with Node.js and its dependencies. It also adds a preconfigured Gateway service and management interface plus firewall configuration and secure remote access support.

1. Choose your plan and data center

Go to the OpenClaw VPS hosting page and click Choose Plan under NVMe 4 or a larger plan. Then pick the data center closest to you or your users.

2. Select OpenClaw as your application

In the cart, go to Software, open the Application tab and select OpenClaw. Click Confirm in the pop-up. If OpenClaw is grayed out, your plan is below the app’s minimum requirements, so choose NVMe 4 or higher.

Bluehost VPS cart Software section with the Application tab and OpenClaw selected

3. Add your SSH key and optional add-ons

Under Advanced options, paste your SSH public key into SSH Key for secure, password-less access after provisioning. You can also add Bluehost AI Credits here if you’d like one API key and one bill for model access.

4. Complete checkout and wait for provisioning

Select your billing term, review the order summary and click Continue to Checkout. Sign in or create an account, then click Submit Payment. Your VPS starts provisioning and appears in the Hosting tab of the Bluehost Portal.

5. Open the OpenClaw dashboard

In the Bluehost Portal, open Hosting › My Plans, click Manage on your VPS, then click Manage under Server Image. The dashboard opens in a new tab. This is OpenClaw 2.0’s rebuilt Control UI, a browser workspace for conversations, files, approvals, settings and agent activity.

Server Image card in the Bluehost Portal showing OpenClaw with the Manage button highlighted

6. Connect your AI model

OpenClaw 2.0’s guided setup can reuse an existing subscription, API key or local model and walk you through a first conversation. On the Bluehost one-click image, you add your provider key in the raw config editor. You can connect OpenAI, Anthropic Claude or local models through Ollama.

  • Go to Settings › Config and click Raw. If values are redacted, click the reveal icon.
  • Add your key at the top level and the default model inside agents › defaults, keeping the rest of the config.
  • For other providers, use OPENAI_API_KEY, GEMINI_API_KEY or OPENROUTER_API_KEY.
  • Click Save and then Apply. Check that the Agents tab shows your primary model.

Your edit adds two entries, shown here with an Anthropic key:

// Top level of the config
env: { ANTHROPIC_API_KEY: "sk-ant-your-key-here" },

// Inside agents → defaults
model: { primary: "anthropic/claude-opus-4-6" },

For the full walkthrough, see how to connect APIs in OpenClaw. To use Bluehost AI Credits instead, follow the steps to connect OpenClaw to AI Credits, which require root access over SSH.

7. Send a test message

Open Chat and send a short test message to your agent. A reply confirms that your model connection works.

Pro tip: OpenClaw 2.0 stores sessions and transcripts in SQLite and its update path is designed to inspect the install before replacing it. Create a verified backup before every upgrade, preview the update, then apply it.

# On the VPS: back up, preview the update, then apply it
openclaw backup create --output ~/Backups/openclaw --verify
openclaw update --dry-run
openclaw update

Keep the archive private because it contains credentials. On the one-click application, Bluehost’s guides run OpenClaw commands as the openclaw service user:

# One-click application: run OpenClaw commands as the service user
sudo -u openclaw HOME=/var/lib/openclaw openclaw [command]

Already have a Bluehost self-managed VPS? You can reimage it with OpenClaw from the Portal instead of buying a new server.

  1. Go to Hosting › My Plans and click Manage on your VPS.
  2. Click Reimage and open the Applications tab.
  3. Choose OpenClaw and click Select.
  4. Type “reimage” to confirm, then click Proceed.

Warning: Reimaging permanently erases all data and settings on the server, so back up anything you need first.

When it finishes, OpenClaw appears under Server Image and you can continue from Step 5. For screenshots, see how to reimage your server for OpenClaw.

How do you install OpenClaw on a VPS you already manage?

For an existing Linux VPS, use the official OpenClaw installer and follow the onboarding prompts. You need SSH access and a suitable Linux environment with the required permissions. Check the current installation documentation for supported Node.js versions and installation methods before proceeding.

Sign in to the VPS as the user who will operate OpenClaw, then run the official installer and check the Gateway status:

# On the VPS: install OpenClaw, then check the Gateway
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw gateway status

The status output should show the Gateway listening on port 18789. If you’d rather install with npm (version 12, or 11.16 and later), run these commands on the VPS instead:

# On the VPS: npm alternative to the installer
npm install -g openclaw@latest --allow-scripts=openclaw
openclaw onboard --install-daemon

The Gateway listens only on the server’s local interface by default, so open a tunnel from your laptop:

# On your laptop: forward local port 18789 to the Gateway
ssh -N -L 18789:127.0.0.1:18789 [user]@[your-server-ip]

Then open http://127.0.0.1:18789/ in your laptop browser and sign in with the Gateway authentication you configured during onboarding. If you plan to run OpenClaw in Docker, follow our OpenClaw hosting guide for a private server.

Also read: How to Host OpenClaw on a VPS for API Integrations

How can you integrate OpenClaw with your daily workflows?

Start by connecting a messaging channel your team already uses, then extend the agent with skills, plugins and Model Context Protocol (MCP) connectors. Automations then let the agent act on a schedule or in response to events.

  • Connect your channels: OpenClaw supports Slack, Discord, Telegram, WhatsApp, Signal, Microsoft Teams and text messages (SMS/MMS) via Twilio. Telegram is quickest because it needs only a bot token.
  • Build and refine skills: Create a skill, validate it, install it and invoke it mid-conversation, all from the Skill Workshop, with self-learning that improves skills over time.
  • Watch connection health: Accepted messages persist through restarts and reconnects and connection state reports as usable, recovering or blocked.
  • Manage add-ons from one hub: The admin hub lets you browse, install, enable, disable and roll back plugins, ClawHub skills and vetted MCP connectors.
  • Retry failed installs: A failed install is designed to return to a retryable state and leave your existing configuration in place.
  • Connect your business tools: Extend the agent with integrations such as Notion, GitHub, webhooks and custom APIs.

For example, an agent can watch a Slack support channel, check an internal GitHub repository and draft a reply in the same thread. You can also connect OpenClaw to a workflow tool such as n8n through webhooks, so n8n handles event triggers while OpenClaw handles the agent’s reasoning. The guide linked at the end of this section walks through that setup.

Automations bring scheduling together across the agent, Control UI, command-line interface (CLI) and apps, with event, schedule and heartbeat triggers. Run history tracks separately whether each run fired, delivered and completed. Work missed during a restart is designed to resume without re-running finished jobs.

Pro tip: Browse these OpenClaw automation commands for prompts to try first.

Also read: How to Run OpenClaw 24/7 on a VPS

How do you secure OpenClaw after setup?

On a self-managed VPS you handle hardening, so keep the dashboard private and make admin access key-based. Start with these four checks, then use our guide to harden your OpenClaw server for the full host commands.

  • Use SSH keys only: Create a non-root user with sudo rights and confirm you can sign in with your key. Then disable password login and root login in your SSH server settings.
  • Keep the Gateway private: By default it listens only locally, so use the Portal Manage button, an SSH tunnel or Tailscale Serve. Keep port 18789 closed to the internet.
  • Allow only the ports you need: Deny incoming traffic by default, then allow SSH and any web ports you actually serve.
  • Share one agent only within one trust boundary: Give a team agent its own runtime with no personal accounts. Split instances when users shouldn’t see each other’s data.

If you later bind the Gateway to a wider network, OpenClaw requires a token or password first. The error refusing to bind gateway ... without auth means that check stopped the start.

OpenClaw 2.0 also binds each approval to the exact request, command, session and person. Removing or re-pairing a device retires its old access, which helps when several teammates share one instance.

How do you troubleshoot common OpenClaw configuration issues?

Most first-run problems come from the model key, plan resources or the state of the OpenClaw service. Match your symptom below, then apply the fix.

  • OpenClaw is grayed out at checkout: Your plan is below the app’s minimum, so choose NVMe 4 or higher.
  • The dashboard won’t open: Use the Portal Manage button first. If that fails, connect over SSH and print your sign-in link with the root command below.
  • The model doesn’t respond: Match the variable name to your provider, remove extra spaces from the key and click Save, then Apply. Confirm the Agents tab lists your model.
  • Tasks stop partway or the agent slows down: Under memory pressure, OpenClaw stops short-lived helper processes first to protect the Gateway. Reduce concurrent work or move to a larger plan.
  • A channel or integration doesn’t trigger: Check the channel’s connection state and credentials in the dashboard. Keep the Gateway private while you test, with port 18789 closed.
  • You need the error details: Run OpenClaw Doctor first, since it explains config errors and suggests fixes. If you run OpenClaw in Docker, check the container logs as well.
  • An update or config change broke something: Restore from your pre-update backup. The restore command stages the archive for review before you activate it.

Run these commands on the VPS. On the one-click application, run the OpenClaw commands as the openclaw service user with the prefix shown in the Pro tip after Step 7.

# One-click application: show the dashboard sign-in link
sudo cat /root/.openclaw_info

# One-click application: restart after editing /etc/default/openclaw
sudo systemctl restart openclaw

# Manual installs: diagnose config errors, check the Gateway and follow the logs
openclaw doctor
openclaw gateway status
openclaw logs --follow

# Manual installs: stage a backup for review before you activate it
openclaw backup restore [backup-archive] --target ./restored-openclaw

Why choose Bluehost for your OpenClaw setup?

Bluehost OpenClaw VPS Hosting gives you a self-managed server with OpenClaw installed and the system access its plugins and updates depend on. These capabilities matter most once your team relies on the agent.

  • One-click OpenClaw 2.0 install: Select OpenClaw (Community edition) at checkout or reimage an existing server from the Portal.
  • Full root access and Docker support: Configure the server your way and run OpenClaw in containers if your setup calls for it.
  • Persistent NVMe storage: Plans pair NVMe storage with DDR5 RAM and AMD EPYC processors, so sessions and run history persist across reboots.
  • Network-level filtering: Distributed denial-of-service (DDoS) filtering helps shield your server from volumetric attacks. Learn how DDoS protection works on a VPS.
  • Unmetered bandwidth: Move data without overage fees, subject to the Terms of Service.
  • Renewal pricing upfront: Plan cards show the renewal rate for each term before checkout.
  • Independently benchmarked plan: NVMe 4 placed 2nd of 26 plans tested in VPSBenchmarks’ Best Value VPS May 2026 ranking (price weighted), scoring 82/100.

NVMe 4 also earned A grades in web performance, performance stability and network performance, which gives you third-party test data on the minimum plan. VPSBenchmarks receives support from featured providers, including Bluehost and VPSBenchmarks’ tests measure the underlying VPS plan rather than OpenClaw as an application.

OpenClaw 2.0 · Bluehost VPS Hosting

Automations that actually survive a restart.

Run OpenClaw 2.0 on a Bluehost VPS built to stay online, keeping every automation, channel, and approval running through every restart and update.

automation lifecycle · nightly-report
Runs
Restarts
Resumes
Delivers
root access · Docker Always on

On a self-managed VPS, we maintain the hardware, network and virtualization layer. You manage the operating system, OpenClaw configuration, updates and hardening and our support team can help with account and billing questions. If that split suits your team, pick a plan sized for your first agent.

Build your own private AI agents
Run OpenClaw 2.0 on a Bluehost self-managed VPS with root access, Docker support and persistent NVMe storage, connected to the channels your team already uses, such as Slack, Telegram and WhatsApp.
Deploy your first OpenClaw agent

Final thoughts

Get your first OpenClaw agent working before expanding to more channels and Automations. Start with a model you can connect, test it through one messaging channel and secure the Gateway before connecting additional tools or sharing access with teammates.

Bluehost OpenClaw VPS Hosting gives you OpenClaw 2.0 in a one-click setup on a self-managed VPS, with root access, Docker support and persistent NVMe storage. You stay in control of the software and configuration while Bluehost supports the infrastructure underneath.

Stop experimenting with AI. Start owning it, now with Automations that actually survive a restart.

Compare OpenClaw VPS plans and deploy your first agent.

FAQs

Can I run OpenClaw on shared hosting?

No. Typical shared hosting plans restrict root access, Docker and long-running services and may not provide the persistent storage OpenClaw needs. A self-managed VPS gives you greater control over the environment and storage required for a persistent deployment.

What technical skills do I need to run OpenClaw on a VPS?

You need working comfort with SSH, basic Linux administration and editing a JSON5 configuration file. The one-click install handles deployment and you’ll use the terminal for updates, hardening and troubleshooting because the VPS is self-managed.

Can I use local LLMs with my OpenClaw setup?

Yes. You can configure a compatible local model through Ollama. Running inference locally can keep prompts sent to that model on your server, but model capabilities and resource requirements vary. Check the model’s context limits, performance and memory needs before choosing a VPS plan. Also review the security of connected tools, channels and agent permissions.

Can OpenClaw keep my business data private?

Self-hosting gives you control over OpenClaw’s deployment, configuration and stored data, but it doesn’t automatically keep every part of a workflow on your VPS. If you use a cloud AI model, the prompts and context sent for processing go to that provider. Messages may also pass through the messaging platforms and external services you connect. A compatible local model can keep model inference on your server, depending on your configuration. Review your full data flow and secure your VPS before using sensitive business information.

Should I self-host OpenClaw or use a managed host?

It depends on who will maintain the server. A self-managed VPS gives you control of the runtime, model provider and integrations while you handle the operating system, updates and hardening. A managed option trades some control for less upkeep, as our comparison of managed vs self-managed VPS for OpenClaw explains.

  • Sanjana Benny is an SEO Content Specialist at Bluehost, where she develops content strategies that help technical and agency audiences make informed hosting decisions. With VPS hosting as her primary area of expertise, she develops search-driven content that makes complex infrastructure, performance and AI hosting concepts accessible to technical audiences. Her experience also spans Dedicated and Agency Hosting, enabling her to create comprehensive content across the hosting landscape. By combining SEO insights with user intent, she creates content that drives visibility, engagement and business impact, with VPS hosting remaining at the core of her technical content expertise. Outside of work, Sanjana is passionate about pottery, where she enjoys turning simple clay into handcrafted pieces.

Learn more about Bluehost Editorial Guidelines

Write A Comment

Your email address will not be published. Required fields are marked *