Skip to content

DigitalOcean

Run a persistent CoderClaw Gateway on DigitalOcean for $6/month (or $4/mo with reserved pricing).

If you want a $0/month option and don’t mind ARM + provider-specific setup, see the Oracle Cloud guide.

ProviderPlanSpecsPrice/moNotes
Oracle CloudAlways Free ARMup to 4 OCPU, 24GB RAM$0ARM, limited capacity / signup quirks
HetznerCX222 vCPU, 4GB RAM€3.79 (~$4)Cheapest paid option
DigitalOceanBasic1 vCPU, 1GB RAM$6Easy UI, good docs
VultrCloud Compute1 vCPU, 1GB RAM$6Many locations
LinodeNanode1 vCPU, 1GB RAM$5Now part of Akamai

Picking a provider:

  • DigitalOcean: simplest UX + predictable setup (this guide)
  • Hetzner: good price/perf (see Hetzner guide)
  • Oracle Cloud: can be $0/month, but is more finicky and ARM-only (see Oracle guide)

  1. Log into DigitalOcean
  2. Click Create → Droplets
  3. Choose:
    • Region: Closest to you (or your users)
    • Image: Ubuntu 24.04 LTS
    • Size: Basic → Regular → $6/mo (1 vCPU, 1GB RAM, 25GB SSD)
    • Authentication: SSH key (recommended) or password
  4. Click Create Droplet
  5. Note the IP address
Terminal window
ssh root@YOUR_DROPLET_IP
Terminal window
# Update system
apt update && apt upgrade -y
# Install Node.js 22
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
# Install CoderClaw
curl -fsSL https://coderclaw.ai/install.sh | bash
# Verify
coderclaw --version
Terminal window
coderclaw onboard --install-daemon

The wizard will walk you through:

  • Model auth (API keys or OAuth)
  • Channel setup (Telegram, WhatsApp, Discord, etc.)
  • Gateway token (auto-generated)
  • Daemon installation (systemd)
Terminal window
# Check status
coderclaw status
# Check service
systemctl --user status coderclaw-gateway.service
# View logs
journalctl --user -u coderclaw-gateway.service -f

The gateway binds to loopback by default. To access the Control UI:

Option A: SSH Tunnel (recommended)

Terminal window
# From your local machine
ssh -L 18789:localhost:18789 root@YOUR_DROPLET_IP
# Then open: http://localhost:18789

Option B: Tailscale Serve (HTTPS, loopback-only)

Terminal window
# On the droplet
curl -fsSL https://tailscale.com/install.sh | sh
tailscale up
# Configure Gateway to use Tailscale Serve
coderclaw config set gateway.tailscale.mode serve
coderclaw gateway restart

Open: https://<magicdns>/

Notes:

  • Serve keeps the Gateway loopback-only and authenticates via Tailscale identity headers.
  • To require token/password instead, set gateway.auth.allowTailscale: false or use gateway.auth.mode: "password".

Option C: Tailnet bind (no Serve)

Terminal window
coderclaw config set gateway.bind tailnet
coderclaw gateway restart

Open: http://<tailscale-ip>:18789 (token required).

Terminal window
coderclaw pairing list telegram
coderclaw pairing approve telegram <CODE>
Terminal window
coderclaw channels login whatsapp
# Scan QR code

See Channels for other providers.


The $6 droplet only has 1GB RAM. To keep things running smoothly:

Terminal window
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab

If you’re hitting OOMs, consider:

  • Using API-based models (Claude, GPT) instead of local models
  • Setting agents.defaults.model.primary to a smaller model
Terminal window
free -h
htop

All state lives in:

  • ~/.coderclaw/ — config, credentials, session data
  • ~/.coderclaw/workspace/ — workspace (SOUL.md, memory, etc.)

These survive reboots. Back them up periodically:

Terminal window
tar -czvf coderclaw-backup.tar.gz ~/.coderclaw ~/.coderclaw/workspace

Oracle Cloud offers Always Free ARM instances that are significantly more powerful than any paid option here — for $0/month.

What you getSpecs
4 OCPUsARM Ampere A1
24GB RAMMore than enough
200GB storageBlock volume
Forever freeNo credit card charges

Caveats:

  • Signup can be finicky (retry if it fails)
  • ARM architecture — most things work, but some binaries need ARM builds

For the full setup guide, see Oracle Cloud. For signup tips and troubleshooting the enrollment process, see this community guide.


Terminal window
coderclaw gateway status
coderclaw doctor --non-interactive
journalctl -u coderclaw --no-pager -n 50
Terminal window
lsof -i :18789
kill <PID>
Terminal window
# Check memory
free -h
# Add more swap
# Or upgrade to $12/mo droplet (2GB RAM)