DigitalOcean
Run a persistent OpenClaw Gateway on a DigitalOcean Droplet.Prerequisites
- DigitalOcean account (signup)
- SSH key pair (or willingness to use password auth)
- About 20 minutes
Setup
Create a Droplet
- Log into DigitalOcean.
- Click Create > Droplets.
- Choose:
- Region: Closest to you
- Image: Ubuntu 24.04 LTS
- Size: Basic, Regular, 1 vCPU / 1 GB RAM / 25 GB SSD
- Authentication: SSH key (recommended) or password
- Click Create Droplet and note the IP address.
Run onboarding
Access the Control UI
The gateway binds to loopback by default. Pick one of these options.Option A: SSH tunnel (simplest)Then open Then open Then open
http://localhost:18789.Option B: Tailscale Servehttps://<magicdns>/ from any device on your tailnet.Option C: Tailnet bind (no Serve)http://<tailscale-ip>:18789 (token required).Troubleshooting
Gateway will not start — Runopenclaw doctor --non-interactive and check logs with journalctl --user -u openclaw-gateway.service -n 50.
Port already in use — Run lsof -i :18789 to find the process, then stop it.
Out of memory — Verify swap is active with free -h. If still hitting OOM, use API-based models (Claude, GPT) rather than local models, or upgrade to a 2 GB Droplet.
Next steps
- Channels — connect Telegram, WhatsApp, Discord, and more
- Gateway configuration — all config options
- Updating — keep OpenClaw up to date