You Just Need $30 or a Free Amazon Account to Deploy OpenClaw
How to Install OpenClaw on EC2 with Claude Code and Connect It to Telegram — a step-by-step guide to deploying OpenClaw on AWS EC2, wiring it up with Claude, and getting Telegram notifications for everything it does.
Skip the tutorial. Paste this into Claude Code.
Copy this prompt, open Claude Code in your terminal, paste it in, and Claude will ask you the right questions and walk you through the entire installation automatically.
All you need is a Claude Code subscription ($20/mo) to skip everything below. Paste this prompt in Claude Code and it handles the rest — no need to follow the 12 steps manually.
What You’ll End Up With
A fully operational OpenClaw instance running on EC2, connected to Claude and Telegram.
- OpenClaw running on a $30/month EC2 instance
- Claude Haiku 4.5 executing browser tasks on a schedule
- Headless Chrome for Gmail, web, and Facebook automation
- A Telegram bot that pings you whenever a task runs
- Claude Code on your laptop writing task instructions that OpenClaw follows
Prerequisites
The 12 Steps
Click any step to expand it. Each one has the exact commands you need.
Cheat Sheet
Every command you’ll need after installation.
Health & Status
openclaw healthFull health checkopenclaw browser statusChrome statusopenclaw browser screenshotTake a screenshotRunning Tasks
openclaw agent --message "Do something"One-off taskopenclaw cron run task-nameRun scheduled task nowopenclaw cron runsView run historyCron Management
openclaw cron listAll tasksopenclaw cron add --name X --schedule Y --agent main --message ZAdd taskopenclaw cron enable task-nameEnable taskopenclaw cron disable task-nameDisable taskopenclaw cron rm task-nameRemove taskLogs & Debugging
journalctl --user -u openclaw-gateway --no-pager -n 50View logsdocker-compose logs -fDocker logsopenclaw doctor --fixFix common issuesSecurity
openclaw security audit --deepSecurity checkopenclaw doctor --fixTighten permissionsCost Breakdown
The full monthly cost of running OpenClaw on EC2.
That’s it. OpenClaw on EC2, Claude executing your tasks, Telegram telling you what happened. Write .md files, push them, and Haiku does the rest.