Skip to content
Tutorial

Set Up Clawdbot on a VPS in Minutes (no mac mini)

Nate Herk | AI Automation015,052 views

Summary

This video walks through setting up Clawdbot on a Linux VPS so you can run the agent without needing a Mac Mini. Nate Herk demonstrates the end to end process: choosing a VPS, SSHing in, installing dependencies, configuring environment variables, and running Clawdbot as a persistent service.

What You'll Learn

Why run Clawdbot on a VPS

Running Clawdbot on a remote VPS is a practical way to host an AI agent without relying on local hardware like a Mac Mini. VPS hosting gives you 24 7 uptime, easier scaling, and simpler remote access. In this tutorial based on Nate Herk's walkthrough, you will learn how to prepare a VPS, install dependencies, configure your environment, and run Clawdbot reliably.

What you need before you start

  • A Linux VPS (Ubuntu 22.04 or similar) with SSH access
  • Domain or static IP if you need inbound webhooks
  • Basic familiarity with SSH, the terminal, and editing files
  • Clawdbot repository or installer files

Optional but recommended:

  • Docker and Docker Compose installed for containerized deployment
  • A non root user configured with sudo
  • A secure place to store secrets such as environment variables or a secrets manager

Step by step: Quick overview

1. Pick and prepare a VPS

2. SSH into the server and install dependencies

3. Clone or copy the Clawdbot project

4. Add required environment variables and API keys

5. Run the bot with Docker Compose or as a systemd service

6. Enable logs, firewall rules, and auto restart

The video shows each step in under 15 minutes and focuses on a simple, repeatable setup useful for testing and small production workloads.

1. Choose and provision a VPS

Choose a provider that matches your budget and region. Aim for at least 2 CPU cores and 2 to 4 GB of RAM for small bots, increasing resources if the agent performs heavy tasks. Ensure you create an SSH key pair and add your public key to the server for secure passwordless login.

Commands you will run on your local machine:

  • ssh ubuntu@your.vps.ip.address

Once connected, update packages:

sudo apt update && sudo apt upgrade -y

2. Install dependencies

The video shows both Docker and a more direct Python based approach. Docker is recommended for isolation and repeatability. To install Docker quickly:

sudo apt install -y apt-transport-https ca-certificates curl gnupg lsb-release

curl -fsSL https://get.docker.com | sh

sudo usermod -aG docker $USER

If you prefer not to use Docker install Python, pip, git, and any other required system libs noted in the Clawdbot docs.

3. Get the Clawdbot code and set environment variables

Clone the repo or download the project to your home directory. Create an .env file or use a config file for API keys and runtime settings. Keep secrets out of version control.

Example environment keys to expect:

  • API_KEY or BOT_TOKEN
  • DATABASE_URL or path for persistence
  • LOG_LEVEL

Make sure file permissions restrict access: chmod 600 .env

4. Run with Docker Compose or systemd for persistence

Docker Compose approach (recommended for simple deployments):

  • Create docker-compose.yml to define the service, environment, volumes for persistence and restart policy.
  • Run docker compose up -d to start the bot in detached mode.

If you prefer systemd the video demonstrates a simple unit file that runs the bot as a service and restarts on failure. Example pattern:

  • Create /etc/systemd/system/clawdbot.service with ExecStart pointing to your start script
  • Enable and start the service: sudo systemctl enable clawdbot && sudo systemctl start clawdbot

Both approaches allow the bot to survive reboots and keep logs accessible via docker logs or journalctl.

5. Security and reliability tips

  • Use SSH keys and disable password login
  • Set up a basic firewall such as ufw to allow only required ports
  • Keep secrets in environment variables or a secrets manager
  • Monitor logs and resource usage with top, htop, docker stats or a lightweight monitoring agent
  • Schedule automated backups if your bot stores state

Troubleshooting common issues

  • Bot not starting: check logs, validate environment variables, and confirm dependencies are installed
  • Permissions error: ensure files have correct owners and service user has access
  • Restart loops: inspect logs for fatal exceptions and missing keys

Final thoughts and next steps

This quick VPS setup avoids hardware constraints and makes Clawdbot portable. From here you can add a domain and HTTPS, integrate with a database for persistence, or use container orchestration for scaling. Create With recommends testing updates in a staging environment before rolling changes to production.

If you follow the steps from the video you should have Clawdbot running on your VPS in minutes. The core ideas are reproducible for other agents and provide a reliable baseline for AI automation projects.

Credits

This guide summarizes the demo by Nate Herk | AI Automation and adds practical tips for secure, persistent hosting. For community resources and more agent tutorials check Create With for events and workshops.

Key Learnings

1VPS is a cost effective alternative to local hardware

You can host AI agents like Clawdbot on a modest VPS rather than buying dedicated local hardware. VPS instances offer uptime, remote access, and easy scaling.

2Use Docker for isolation and portability

Containerizing Clawdbot with Docker or Docker Compose simplifies dependency management and makes deployments repeatable across environments.

3Persist configuration with env files

Store API keys and runtime settings in a protected .env file or secrets system to keep credentials out of source control and make configuration reproducible.

4Run as a service for reliability

Use systemd or Docker restart policies to ensure the agent restarts automatically after crashes or server reboots.

5Lock down the server for security

Restrict SSH access with keys, enable a firewall, and ensure only required ports are open to reduce attack surface.

6Monitor logs and resource usage

Proactively monitoring logs and resource consumption helps identify issues early and guides right sizing of CPU and memory for the bot.

Resources Mentioned

Clawdbot repository or docs

Official Clawdbot codebase and documentation referenced in the video for installation and configuration details

Frequently Asked Questions

Do I need a Mac Mini to run Clawdbot?

No. The video demonstrates running Clawdbot on a Linux VPS so you can avoid local Mac hardware and host the bot remotely.

Should I use Docker or install directly on the server?

Docker is recommended for isolation and repeatability, but you can run Clawdbot directly with Python if you prefer. Docker simplifies updates and dependency management.

How do I keep Clawdbot running after a reboot?

Run Clawdbot under systemd or use Docker Compose with a restart policy to ensure the service starts automatically after reboots.

What security precautions should I take on a VPS?

Use SSH keys, disable password logins, enable a firewall to restrict ports, store secrets in environment variables, and restrict access to config files.

More content like this

Never miss a video

Get weekly updates on the best AI tutorials, conference recordings, and community content.

Keep Watching

Related Videos

View all videos
55. We're Back! Conference Recap, Running Events with AI & Self-Healing Apps
Podcast35:53

55. We're Back! Conference Recap, Running Events with AI & Self-Healing Apps

James and Kieran return to the Create With Podcast after their summer break to recap the 2026 Create With Conference in Brighton. They discuss how 550 attendees experienced workshops, a charity hackathon where functional apps were built in 30 minutes, and an innovative conference operating system built entirely with AI. The episode covers the latest developments in AI development tools including Anthropic's Fable model, scheduled tasks in Codex, and self-healing applications using PostHog.

The Biggest AI Opportunities for Non-Technical Builders in 2026
Conference38:09

The Biggest AI Opportunities for Non-Technical Builders in 2026

A closing panel discussion from Create With featuring leaders from Glide, Softr, Bubble, Momen, and TechFoundHer examining how AI and no-code platforms are democratizing software development. The panelists explore what non-technical builders can now create, how AI is transforming service businesses, and where expertise still matters when prototypes become production applications.

Everyone Can Build with AI. What Should Companies Do Next?
Conference29:07

Everyone Can Build with AI. What Should Companies Do Next?

A leadership panel from Create With conference exploring how companies should approach AI adoption when building tools becomes accessible to everyone. Four experts debate the gap between technical capability and strategic judgment, discussing governance frameworks, safe experimentation, product sense development, and organizational learning pathways for AI transformation.

How to Get Your Product Recommended by Google and ChatGPT
Conference30:12

How to Get Your Product Recommended by Google and ChatGPT

Tanya Van Gastel presents the APEX framework for making products discoverable in AI-powered search engines like ChatGPT and Google's AI Overviews. She explains how AI is fundamentally changing product discovery and buyer behavior, then breaks down five critical components: Authority (being cited as a solution), Presence (visibility across search platforms), Expertise (creating high-quality money pages), Endorsements (off-site validation), and Extractability (making content easy for AI to process). The talk emphasizes quality over quantity, with data showing 50% of SaaS SEO revenue comes from fewer than 10 high-performing pages.

Inside a 60-Skill Claude Code System Running AI Agents in Parallel
Conference35:21

Inside a 60-Skill Claude Code System Running AI Agents in Parallel

Stephany Oliveros, CEO of Lyra AI, presents a production-ready Claude Code architecture for running dozens of AI agents in parallel. She demonstrates a 60-skill system built on progressive disclosure, layered memory, and reusable components that enable coordinated multi-agent workflows without burning through tokens. The talk covers practical folder structures, guardrails, and token economics for building scalable agentic systems.

The AI-Native Solopreneur: Build Without a Technical Co-Founder
Conference34:21

The AI-Native Solopreneur: Build Without a Technical Co-Founder

Effie Bersoux presents a paradigm shift in entrepreneurship where AI enables solo founders to build, validate, and scale businesses without technical co-founders or significant capital. Drawing from Growth Girls' experience building 40+ companies in one year and going from a £4m exit (7 years) to a £40m acquisition target (1 year), she demonstrates how AI breaks the traditional capital-talent-traction loop that disadvantages undercapitalized founders. The talk provides concrete frameworks for AI-native operating models, automation decision-making, and rapid idea-to-market validation.