{
  "schema_version": 1,
  "kind": "product",
  "title": "OpenClaw Serverless",
  "description": "Host AI agents on Google Cloud Run with separate services and storage per tenant. OpenClaw includes Telegram and Slack webhooks and persistent workspaces.",
  "url": "https://cloudon-one.com/products/openclaw",
  "markdown_url": "https://cloudon-one.com/products/openclaw.md",
  "json_url": "https://cloudon-one.com/products/openclaw.json",
  "language": "en",
  "author": {
    "type": "Organization",
    "name": "CloudOn",
    "url": "https://cloudon-one.com/"
  },
  "rights_url": "https://cloudon-one.com/terms",
  "indexable": true,
  "headings": [
    {
      "level": 2,
      "text": "What it does"
    },
    {
      "level": 2,
      "text": "What’s included",
      "id": "features-heading",
      "url": "https://cloudon-one.com/products/openclaw#features-heading"
    },
    {
      "level": 3,
      "text": "Multi-Tenant Isolation"
    },
    {
      "level": 3,
      "text": "Serverless Architecture"
    },
    {
      "level": 3,
      "text": "Messaging Integration"
    },
    {
      "level": 2,
      "text": "Getting it running",
      "id": "how-heading",
      "url": "https://cloudon-one.com/products/openclaw#how-heading"
    },
    {
      "level": 3,
      "text": "Configure Tenants"
    },
    {
      "level": 3,
      "text": "Deploy with Terraform"
    },
    {
      "level": 3,
      "text": "Register Webhooks"
    },
    {
      "level": 3,
      "text": "Scale Automatically"
    },
    {
      "level": 2,
      "text": "What it helps with",
      "id": "benefits-heading",
      "url": "https://cloudon-one.com/products/openclaw#benefits-heading"
    },
    {
      "level": 3,
      "text": "Scale down when idle"
    },
    {
      "level": 3,
      "text": "Separate tenant resources"
    },
    {
      "level": 3,
      "text": "Configure tenants in YAML"
    },
    {
      "level": 3,
      "text": "Persistent Agent Workspaces"
    },
    {
      "level": 2,
      "text": "Built with",
      "id": "tech-heading",
      "url": "https://cloudon-one.com/products/openclaw#tech-heading"
    },
    {
      "level": 2,
      "text": "A few things you might be wondering",
      "id": "faq-heading",
      "url": "https://cloudon-one.com/products/openclaw#faq-heading"
    },
    {
      "level": 2,
      "text": "From the blog",
      "id": "blog-heading",
      "url": "https://cloudon-one.com/products/openclaw#blog-heading"
    },
    {
      "level": 3,
      "text": "Hosting OpenClaw agents on Google Cloud Run"
    },
    {
      "level": 2,
      "text": "Other CloudOn Tools",
      "id": "related-heading",
      "url": "https://cloudon-one.com/products/openclaw#related-heading"
    },
    {
      "level": 3,
      "text": "FinOps Guardian"
    },
    {
      "level": 3,
      "text": "Multi-Cloud Runway"
    },
    {
      "level": 3,
      "text": "SecureOps"
    },
    {
      "level": 2,
      "text": "Run OpenClaw Serverless in your environment."
    }
  ],
  "code_repository": "https://github.com/cloudon-one/openclaw-serverless",
  "code_license": "MIT",
  "content_markdown": "---\ntitle: OpenClaw Serverless\ndescription: Host AI agents on Google Cloud Run with separate services and storage per tenant. OpenClaw includes Telegram and Slack webhooks and persistent workspaces.\nurl: https://cloudon-one.com/products/openclaw\nauthor: CloudOn\nlanguage: en\nrights_url: https://cloudon-one.com/terms\ncode_repository: https://github.com/cloudon-one/openclaw-serverless\ncode_license: MIT\n---\n\nThe open-source toolkit\n\n# OpenClaw Serverless\n\nRun AI agents on Cloud Run, with a separate home for each tenant.\n\nOpen source MIT license \n\n[View on GitHub](https://github.com/cloudon-one/openclaw-serverless) [Get a hand setting it up](https://cloudon-one.com/contact)\n\n## What it does\n\nOpenClaw Serverless deploys AI agents to Google Cloud Run. Each tenant has a separate service, service account, and storage bucket. Workspaces persist in Cloud Storage, and Telegram or Slack webhooks route messages to the appropriate agent.\n\n## What’s included\n\n### Multi-Tenant Isolation\n\nGive each tenant its own Cloud Run service, service account, and workspace bucket.\n\n-   Separate Cloud Run services per tenant \n-   Individual service accounts with strict IAM \n-   Isolated GCS workspace buckets \n-   Network segmentation and secret scoping \n\n### Serverless Architecture\n\nScale-to-zero GCP Cloud Run instances with persistent workspace storage.\n\n-   Zero minimum instances for idle tenants \n-   Cold starts when an idle service receives a request \n-   GCSFuse mounts for workspace persistence \n-   Configurable instance and scaling limits \n\n### Messaging Integration\n\nRoute messages from Telegram and Slack with request validation.\n\n-   Telegram bot webhook with timing-safe signature validation \n-   Slack app with HMAC-SHA256 signature verification \n-   Centralized router for tenant routing \n-   Replay attack prevention \n\n## Getting it running\n\n01\n\n### Configure Tenants\n\nDefine tenants in a YAML configuration file. Each tenant gets its own Cloud Run service, service account, and workspace.\n\n02\n\n### Deploy with Terraform\n\nApply Terraform to provision all GCP infrastructure: Cloud Run services, GCS buckets, IAM bindings, and secrets.\n\n03\n\n### Register Webhooks\n\nSet up Telegram bot tokens or Slack app credentials. The router automatically routes incoming messages to the correct tenant.\n\n04\n\n### Scale Automatically\n\nCloud Run services scale with demand and can scale to zero when idle. Storage, network, and other service costs depend on your setup.\n\n## What it helps with\n\n### Scale down when idle\n\nConfigure Cloud Run to scale to zero when inactive. Persistent storage and other Google Cloud services can still incur charges.\n\n### Separate tenant resources\n\nEach tenant has its own service account, workspace bucket, and Cloud Run service, with access controlled through IAM.\n\n### Configure tenants in YAML\n\nAdd a tenant to the YAML configuration, review the Terraform plan, and apply it to provision the tenant’s resources.\n\n### Persistent Agent Workspaces\n\nGCSFuse mounts Google Cloud Storage directly into containers, persisting agent state across container restarts without sync daemons.\n\n## Built with\n\nGCP Cloud Run (Gen2)  Google Cloud Storage  GCSFuse  Terraform  Node.js 20+  Express.js  Secret Manager  Artifact Registry \n\n## A few things you might be wondering\n\nWhat is OpenClaw Serverless? \n\nOpenClaw Serverless is an open-source deployment architecture for running multiple isolated AI agents on Google Cloud Platform. Each tenant gets their own Cloud Run service with persistent workspace storage and webhook-based messaging integration.\n\nHow much does it cost to run? \n\nCosts depend on instance settings, activity, storage, network traffic, and any model APIs your agents use. Scale-to-zero reduces idle compute costs; it does not remove all service costs.\n\nWhat messaging platforms are supported? \n\nTelegram and Slack integrations are included, with webhook validation and replay protection.\n\nHow is tenant isolation achieved? \n\nEach tenant gets a separate Cloud Run service, service account, Cloud Storage bucket, and IAM bindings. Review these permissions and the network configuration for your environment.\n\nCan I add custom agent skills? \n\nYes. The architecture supports custom agent skills via Git-based skill repositories. Each agent can have its own set of skills configured through the tenant YAML file.\n\n## From the blog\n\n[1 Mar 2026\n\n### Hosting OpenClaw agents on Google Cloud Run\n\nA deployment walkthrough covering tenant-specific services, persistent workspaces, webhook routing, and scaling on Cloud Run.\n\nGCP Cloud Run OpenClaw \n\nRead the article ](https://cloudon-one.com/blog/openclaw-gcp-cloud-run)\n\n## Other CloudOn Tools\n\n[\n\nCloud costs \n\n### FinOps Guardian\n\nFinOps Guardian checks AWS and Google Cloud for idle resources and opportunities to reduce costs. Terraform modules deploy scheduled functions that send findings to Slack or email. Review the reports and use dry-run mode before enabling AWS resource cleanup.\n\nExplore the tool  Open source \n\n](https://cloudon-one.com/products/finops-guardian)[\n\nCloud foundations \n\n### Multi-Cloud Runway\n\nMulti-Cloud Runway provides Terraform and Terragrunt templates for cloud accounts, projects, networking, access, and security monitoring. Use the AWS or Google Cloud modules independently and adapt the structure to how your organization works.\n\nExplore the tool  Open source \n\n](https://cloudon-one.com/products/multi-cloud-runway)[\n\nCode security \n\n### SecureOps\n\nSecureOps brings Gitleaks, Trivy, and OSV-Scanner into a GitHub Actions workflow. It scans for exposed secrets, vulnerable dependencies, and infrastructure configuration issues. Read findings in pull request comments or export JSON, HTML, and SARIF reports.\n\nExplore the tool  Open source \n\n](https://cloudon-one.com/products/secureops)\n\nA good place to start\n\n## Run OpenClaw Serverless in your environment.\n\nStart with the repository’s setup guide. If you’d like help adapting it to your environment, talk to us about what you need.\n\n[View on GitHub](https://github.com/cloudon-one/openclaw-serverless) [Talk to an engineer](https://cloudon-one.com/contact)\n",
  "content_sha256": "c86924fde2bafbe3cc1514db3b846739258fe4bf296243bafa1711ae5278cce8"
}
