OpenClaw is open-source and free. The installation guide says "one command." And in a way, that's true β you can run npx openclaw on your laptop and have a working AI agent in 30 seconds. But "running on your laptop" and "running reliably as a 24/7 service" are two completely different things.
If you want your OpenClaw bot always online, connected to Telegram, surviving reboots, getting updates, and not eating your server alive β you're looking at a real ops project. Here's what that actually looks like.
Step 1: Get a Server
Your laptop won't cut it for 24/7 operation. It sleeps, it restarts, it goes wherever you go. So you need a VPS.
Options:
- Hetzner CX22: ~$5/month (popular in the OpenClaw community)
- DigitalOcean: $6/month
- Oracle Free Tier: $0 (ARM, 4 cores, 24GB RAM β but spotty availability)
- Contabo: $5-7/month
Now you need to pick an OS, set up SSH keys, configure a firewall, and harden the server. Most guides gloss over this, but an unprotected VPS gets hit by bots within minutes of going live.
Time spent: 30-60 minutes (if you've done it before)
Step 2: Install OpenClaw
The actual installation is straightforward β Node.js 22+, clone the repo or use npx. But then the configuration starts:
- Create and edit
openclaw.json(model provider, API keys, gateway settings) - Set up the gateway for persistent operation
- Configure your AI provider (get an API key from Anthropic/OpenAI/etc, set up billing)
- Set sandbox mode appropriately for your environment
If you want browser automation (many skills need it), you also need Chromium installed β which on a headless server means installing X11 dependencies and running in headless mode. That's another 15 minutes of Googling error messages.
Time spent: 30-60 minutes
Step 3: Connect Telegram (or Other Channels)
This part actually isn't too bad:
- Create a bot via @BotFather on Telegram
- Get your bot token and user ID
- Add it to
openclaw.json - Restart the gateway
But if something doesn't connect, debugging means reading logs, checking token formats, and figuring out whether it's a Telegram API issue or a config issue. The error messages aren't always helpful.
Time spent: 15-30 minutes
Step 4: Make It Survive Reboots
Running openclaw gateway in a terminal works until you close that terminal. For production, you need:
- A systemd service (or Docker container) to keep it running
- Restart policies so it comes back after crashes
- Log rotation so your disk doesn't fill up
Here's a minimal systemd service file:
[Unit]
Description=OpenClaw Gateway
After=network.target
[Service]
Type=simple
User=openclaw
WorkingDirectory=/home/openclaw
ExecStart=/usr/bin/node /home/openclaw/.npm/openclaw/openclaw.mjs gateway
Restart=unless-stopped
RestartSec=5
[Install]
WantedBy=multi-user.target
If you go the Docker route, you need to write a Dockerfile (or find one that works), set up volumes for persistent data, configure networking, and handle the Chromium situation inside a container.
Time spent: 30-60 minutes
Step 5: Updates
OpenClaw ships updates frequently. Every update means:
- Check the release notes for breaking changes
- Back up your config and memory files
- Pull the new version
- Restart the service
- Verify everything still works
- Debug if it doesn't
Miss an update with a security fix? That's on you. Break your config during an update? Also on you. There's no rollback button.
Time spent: 15-30 minutes per update, every few weeks
Step 6: Backups
Your bot's memory, personality, and configuration are valuable. If your server's disk dies (it happens), you lose everything unless you have backups.
A proper backup setup means:
- Automated daily backups of config and workspace files
- Database backups (if you use skills that store data)
- Offsite backup storage (not on the same server)
- Testing that your backups actually restore correctly
Time spent: 1-2 hours to set up, ongoing maintenance
Step 7: Security
A server running 24/7 on the internet needs:
- Firewall rules (UFW or iptables)
- SSH hardening (key-only auth, no root login)
- Regular OS security updates
- Monitoring for suspicious activity
- Container isolation if running Docker
OpenClaw has full system access by design β it can run commands, read files, browse the web. That power is great when it's working for you. It's a liability if someone compromises your server.
Time spent: 1-2 hours initial, ongoing vigilance
The Hidden Time Costs
Beyond setup, self-hosting means you're the ops team:
- 3 AM your bot goes offline β your Telegram bot stops responding. Is it the process? The server? The API provider? You need to SSH in and figure it out.
- Disk full β Docker logs, OpenClaw workspace files, and Chromium cache silently fill your disk. Your bot crashes with cryptic errors.
- Memory leaks β Long-running Node.js processes sometimes leak memory. After a week, your 2GB VPS is thrashing swap and your bot takes 30 seconds to respond.
- API key rotation β Your provider rotates keys or changes pricing. You need to update configs manually.
- Skill conflicts β A skill update breaks another skill. Welcome to dependency debugging.
The Total Cost of Self-Hosting
Let's be honest about the real costs:
| Cost | Self-hosted | Managed (LobsterLair) |
|---|---|---|
| Server | $5-8/month | Included |
| AI model API | $5-30/month (you pay) | Included |
| Setup time | 3-6 hours | 2 minutes |
| Monthly maintenance | 1-3 hours | 0 |
| Updates | Manual, every few weeks | Automatic |
| Backups | DIY | Automatic |
| Security | Your responsibility | Handled |
| Monitoring | DIY | 24/7 |
| Total monthly cost | $10-38 + your time | $19/month |
The raw dollar cost of self-hosting can be cheaper β if your time is free. But if you value your time at even $20/hour, that 1-3 hours of monthly maintenance already exceeds the subscription cost.
Who Should Self-Host
Self-hosting makes sense if you:
- Are a developer who genuinely enjoys server management
- Need custom infrastructure (specific regions, hardware, compliance requirements)
- Want to run multiple agents on a single server
- Already have a server and ops pipeline set up
- Want to learn Linux administration
No judgment β self-hosting is a great learning experience and gives you total control.
Who Should Use Managed Hosting
Managed hosting makes sense if you:
- Want a working OpenClaw bot, not a sysadmin project
- Don't want to manage servers, updates, or backups
- Value your time over saving $10/month
- Want AI included (no separate API key needed)
- Want to start in 2 minutes, not 2 hours
How LobsterLair Works
LobsterLair is managed OpenClaw hosting. Here's what "managed" actually means:
- Sign up and name your bot β 30 seconds
- Connect Telegram (optional) β paste your bot token and user ID
- Done β your OpenClaw instance is running in an isolated Docker container with AI included
What you don't have to deal with:
- No server to provision or maintain
- No API key to manage β AI (MiniMax M2.5, 200K context) is included
- No Docker, no systemd, no reverse proxy
- Automatic updates to the latest OpenClaw version
- Daily backups with offsite storage
- 24/7 monitoring and automatic restarts
- Isolated containers with AES-256 encryption
- Browser automation (Chromium) pre-configured
It's $19/month, cancel anytime β less than most people spend on their AI API key alone.
The Bottom Line
OpenClaw is an incredible tool. Self-hosting it is a real commitment. If you're a developer who likes running infrastructure, go for it β the community and docs are solid.
But if you just want a working AI chatbot on Telegram without becoming a part-time sysadmin, skip the setup with LobsterLair β $19/month, cancel anytime. Your bot will be live before you'd finish reading a VPS setup guide.