Back to Elevate IT

Clawdbot AWS Setup Guide

Deploy your personal AI assistant on AWS in under an hour

  Open Source • Self-Hosted • Private

What You'll Build

What's Included

1

AWS Account & CLI Setup

FREE
1

Create AWS Account

  1. Go to aws.amazon.com and click Create an AWS Account
  2. Enter email, password, and account name
  3. Choose "Personal" account type
  4. Add payment method (credit/debit card required)
  5. Complete phone verification
  6. Select Basic support (Free)
2

Create IAM User with Admin Access

  1. Sign in to AWS Console
  2. Search for IAM in the top search bar
  3. Go to UsersCreate user
  4. Create a user and attach AdministratorAccess permission
  5. Under that user's Security credentials tab → Create access key
  6. Choose "Command Line Interface (CLI)" as the use case
  7. Save both the Access Key ID and Secret Access Key!
3

Install AWS CLI

Mac
brew install awscli

Or download directly:

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
4

Configure AWS CLI

Mac
aws configure

Enter your credentials when prompted:

AWS Access Key ID [None]: your-access-key
AWS Secret Access Key [None]: your-secret-key
Default region name [None]: us-east-1
Default output format [None]: json

Verify it works:

aws sts get-caller-identity
You're ready! Your AWS CLI is now configured. Continue to Part 2 to create your server.

Unlock Full Guide

$2.99 one-time

Get instant access to all 22 steps, including:

  • EC2 instance setup commands
  • Clawdbot installation & config
  • WhatsApp integration setup
  • VNC desktop access
  • Chrome extension setup
  • Quick reference cheat sheets
Unlock Now - $2.99
Secure payment via Gumroad
2

Create EC2 Instance

5

Create SSH Key Pair

Mac
aws ec2 create-key-pair \
  --key-name clawdbot-key \
  --query 'KeyMaterial' \
  --output text \
  --region us-east-1 > clawdbot-key.pem

chmod 400 clawdbot-key.pem
!
Important: Keep this .pem file safe! You need it to connect to your server.
6

Create Security Group

Mac
aws ec2 create-security-group \
  --group-name clawdbot-sg \
  --description "Clawdbot security group" \
  --region us-east-1

Allow SSH access:

aws ec2 authorize-security-group-ingress \
  --group-name clawdbot-sg \
  --protocol tcp \
  --port 22 \
  --cidr 0.0.0.0/0 \
  --region us-east-1
7

Launch EC2 Instance

Mac
aws ec2 run-instances \
  --image-id ami-0c7217cdde317cfec \
  --instance-type t3.micro \
  --key-name clawdbot-key \
  --security-groups clawdbot-sg \
  --region us-east-1
i
Instance Types:
  • t3.micro - 2 vCPU, 1GB RAM (~$8/month, free tier)
  • t3.small - 2 vCPU, 2GB RAM (~$15/month)
  • t3.medium - 2 vCPU, 4GB RAM (~$30/month)
8

Get Your Server's IP Address

Mac

Wait 30 seconds for the instance to start, then:

aws ec2 describe-instances \
  --filters "Name=instance-state-name,Values=running" \
  --query 'Reservations[*].Instances[*].PublicIpAddress' \
  --region us-east-1 \
  --output text
3

Connect to Your Server

9

SSH Into Your Server

Mac
ssh -i clawdbot-key.pem ubuntu@YOUR_IP_ADDRESS

Type yes when asked about host authenticity.

Connected! You're now on your AWS server. The prompt will show ubuntu@ip-xxx-xxx-xxx-xxx
4

Install Clawdbot

10

Install Node.js 22

Server
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs

Verify installation:

node --version
11

Add Swap Space

Server

Prevents memory errors on small instances:

sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
12

Install Clawdbot

Server
sudo npm install -g clawdbot@latest
13

Run Onboarding Wizard

Server
clawdbot onboard --install-daemon

The wizard guides you through: Gateway config, Anthropic API auth, Channel setup (WhatsApp, etc.)

Anthropic Token: On your Mac, run claude setup-token and paste the result into the wizard to use your Claude Max subscription.
14

Start Clawdbot

Server

Run in foreground (see logs):

clawdbot tui

Or run as background daemon:

clawdbot gateway --daemon
5

Desktop Access (VNC)

?
Optional: Only needed if you want to visually log into services like Gmail through a browser on the server.
15

Expand Disk Space

Mac
aws ec2 modify-volume \
  --volume-id $(aws ec2 describe-volumes \
    --filters "Name=attachment.instance-id,Values=$(aws ec2 describe-instances \
      --query 'Reservations[*].Instances[*].InstanceId' \
      --region us-east-1 --output text)" \
    --query 'Volumes[*].VolumeId' \
    --region us-east-1 --output text) \
  --size 50 --region us-east-1

Then on the server, expand the partition:

sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/root
df -h
16

Install Desktop Environment

Server
sudo apt update
sudo apt install -y xfce4 xfce4-goodies tightvncserver dbus-x11
17

Start VNC Server

Server
vncserver :1 -geometry 1280x800 -depth 24

Create a password when prompted.

18

Open VNC Port

Mac
aws ec2 authorize-security-group-ingress \
  --group-name clawdbot-sg \
  --protocol tcp --port 5901 \
  --cidr 0.0.0.0/0 --region us-east-1
19

Connect via VNC

Mac
  1. Open FinderGoConnect to Server (or Cmd+K)
  2. Enter: vnc://YOUR_IP:5901
  3. Enter your VNC password
6

Chrome Extension Setup

20

Install Chrome

Server
sudo apt update
sudo apt install -y wget gnupg

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub \
  | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] \
  http://dl.google.com/linux/chrome/deb/ stable main" \
  | sudo tee /etc/apt/sources.list.d/google-chrome.list

sudo apt update
sudo apt install -y google-chrome-stable
21

Find Extension Path

Server
find /usr/lib/node_modules/clawdbot -name manifest.json

Result: /usr/lib/node_modules/clawdbot/assets/chrome-extension

22

Load Extension in Chrome

  1. Open Chrome in VNC desktop
  2. Go to chrome://extensions
  3. Enable Developer mode (top right toggle)
  4. Click Load unpacked
  5. Navigate to: /usr/lib/node_modules/clawdbot/assets/chrome-extension
  6. Click Select/Open

Quick Reference

Common Commands

Action Command
Connect to server ssh -i clawdbot-key.pem ubuntu@IP
Chat interface clawdbot tui
Start daemon clawdbot gateway --daemon
Stop daemon clawdbot gateway stop
Restart daemon clawdbot gateway restart
Check status clawdbot status
Start VNC vncserver :1 -geometry 1280x800 -depth 24
Stop VNC vncserver -kill :1

Monthly Cost Estimate

~$12-14/month

t3.micro instance + 50GB storage + data transfer

Free tier: 750 hours of t3.micro free for first 12 months