← All deployment guides
Google Cloud

Deploy OpenClaw to Google Cloud

Run OpenClaw on Compute Engine, Cloud Run, or GKE for scalable AI agent hosting.

01

Prerequisites

A Google Cloud account and gcloud CLI installed and authenticated.

# Install gcloud and authenticate

gcloud auth login

gcloud config set project YOUR_PROJECT_ID

02

Create a Compute Engine VM

Launch a VM with Ubuntu. e2-medium or larger recommended.

# Create VM instance

gcloud compute instances create openclaw-vm --zone=us-central1-a --machine-type=e2-medium --image-family=ubuntu-2204-lts

03

Install OpenClaw

SSH into your VM and follow the standard OpenClaw setup guide.

# SSH and install

gcloud compute ssh openclaw-vm --zone=us-central1-a

git clone https://github.com/example/openclaw.git

cd openclaw && npm install