CloudBurrow / Local Google Cloud development

Google Cloud APIs
on your laptop.

Start a local Kubernetes cluster and point the official Google client libraries at it. Test changes on your machine before you deploy.

v0.7.0 · MIT License. macOS and Linux, arm64 and amd64, with local AI on the Apple GPU (Metal) on Apple silicon. Requires Docker, kind and kubectl. Windows is unsupported. macOS binaries are signed with a Developer ID and notarized by Apple.

CloudBurrow workspace Cluster lifecycle
CloudBurrow START · CONNECT · INSPECT · VERIFY

Your cloud workflow. Local.

cloudburrow up kind cluster Local services

Docker / Kubernetes / Google Cloud APIs

CloudBurrow starts a dedicated kind cluster and configures its local services.
Developer workflows

Build locally.
Know what works.

Start with a first SDK call, run your tests in CI, or trace an operation to its evidence.

Local development

Make your first call.

Start a cluster, set the local endpoints, and use the client library your application already uses.

Follow the quickstart
DockerkindOfficial SDKs
CloudBurrowLocal development
Terminal
brew install cloudburrow/tap/cloudburrowcloudburrow up# in another shelleval "$(cloudburrow env)"
Continuous integration

Give each job its own cluster.

Start a fresh cluster for a job, run your integration tests, and collect logs before cleanup.

See the CI workflow
GitHub ActionsJob logsCleanup
CloudBurrowContinuous integration
A CI job with CloudBurrow One job lane: checkout, then cloudburrow/cloudburrow@<sha> (up), then your tests, then diagnose on failure, then cluster deleted (always). job checkout cloudburrow/cloudburrow@<sha> up your tests diagnose on failure cluster deleted always
Compatibility

Find the test behind an operation.

See what the published release verifies, method by method, then open the evidence for an individual operation.

Open the compatibility matrix
ReleasePer methodSDK tests
CloudBurrowCompatibility

Cloud Storage

Release v0.7.0Cloud Storage in the release: 83 Verified of 86
Pinned main @b42906dCloud Storage on pinned main: 83 Verified of 86

New in v0.7.0.

v0.7.0 is the latest release, published 2026-11-25. Entries from each section of its release notes; the changelog lists all of them.

Added

  • CI: account for the compat tests that run in no shard (v0.7.0) (#2246)
  • Fix main CI after Landing 168 (round 15): served browser timeout (#2237)
  • Compute: VM starts regressed 3× after Landing 168 (#2232)
  • Fix main CI after Landing 168 (round 11): GKE logs probe export (#2230)
  • Fix main CI after Landing 168 (round 6): NAT test race (#2222)
33 more in the changelog

What's new

  • No CHANGELOG.md entry was added since v0.6.0; these are the issues its landings closed:
  • not served (#2191)
  • continuous queries and the Reservation API (CONTINUOUS assignments) (#2193)
  • UDP, Cloud Armor, Cloud CDN, IAP, Certificate Manager, gRPC proxies, LB edit page (#2160)
  • managed connection pooling metrics in Cloud Monitoring (#2163)
17 more in the changelog

Other commits

  • docs: refresh README branding and onboarding (#2202) (#2203) (6aa54a19a)

Highlights

Create AlloyDB clusters

AlloyDB for PostgreSQL runs each instance as a local PostgreSQL server. Test clusters, read pools, secondary clusters, backups, users and managed connection pooling, and connect through the AlloyDB connectors, from the SDKs, gcloud, Terraform or the console.

Read the AlloyDB rows

Mount Filestore shares

Each Filestore instance is a real NFS server that Compute Engine VMs and Kubernetes Engine pods mount, with snapshots, backups, restores and the GKE Filestore CSI driver.

Read the Filestore rows

Run Spark with Dataproc

Serverless for Apache Spark runs PySpark, Spark SQL and SparkR batches and Spark Connect sessions. Dataproc clusters add HDFS with high availability, YARN ResourceManager HA, Hadoop, Hive, Pig, Trino and Flink jobs, and workflow templates.

Read the Dataproc rows

Put a load balancer in front of VMs and Cloud Run

Compute Engine load balancing routes real requests to instance groups and Cloud Run, with Cloud Armor rules, Cloud CDN caching, IAP, proxyless gRPC and UDP passthrough. VMs get their own metadata server, Shielded VM identity on a software vTPM, and egress firewall rules.

Read the Compute Engine rows

Run local AI on the Apple GPU

On a Mac with Apple silicon, Model Garden's GGUF and MLX deploys and Gemma generation run on the GPU through Metal. On an M4 Max a GGUF model ran at 243 tokens/s against 8.5 tokens/s on CPU (28.6×), and Gemma 4 E2B at 150 tokens/s against 32 tokens/s (4.7×). Embeddings stay on CPU.

Read the Apple GPU measurements

Test more of Cloud Storage

CloudBurrow’s storage server shares buckets and objects across JSON, XML and gRPC. Test versioning, soft delete, multipart uploads and signed URLs that reject invalid signatures.

Read the Storage gRPC tests

Run jobs and workers locally

Cloud Run jobs execute as Kubernetes Jobs. Worker pools and standalone instances have their own lifecycle APIs backed by Kubernetes Deployments.

Read the worker pool and instance tests

Deploy from source

Build source into a local image with Google Buildpacks. Cloud Build and Artifact Registry subsets support the local gcloud run deploy --source workflow.

Read the source deployment tests

Save and restore Pub/Sub configuration

Save schemas, topics, subscriptions and snapshots for repeatable tests. Queued messages are excluded. Pull subscriptions support exactly-once delivery in the official client test.

Read the Pub/Sub save and load tests

Exercise Cloud SQL restores

Opt in to Backup and DR alongside Cloud SQL to test backup plans and restores using dumps from the local PostgreSQL or MySQL engine.

Read the Cloud SQL restore test

Try embeddings locally

An opt-in ONNX build serves community EmbeddingGemma conversions. The multimodal model embeds text, images, audio, video and PDFs, and reads scanned PDF pages with Tesseract OCR.

Read the embeddings setup and evidence

Test IAM roles and service accounts

Create custom roles, read Google’s predefined roles, manage service accounts and keys, and impersonate them through IAM Credentials, from the SDKs, gcloud, Terraform or the console.

Read the service account tests

Connect a MongoDB driver to Firestore

Firestore with MongoDB compatibility serves the MongoDB wire protocol over the same documents, with transactions, indexes, text search and IAM-checked sign-in.

Read the MongoDB compatibility tests

Create Cloud SQL and Memorystore instances

The SQL Admin API starts a real server per instance: PostgreSQL 9.6 to 18, MySQL 8.0 and 8.4. Memorystore creates Redis instances, Redis Clusters and Valkey instances.

Read the database version tests

Use BigQuery across projects

Every Resource Manager project is a BigQuery project, with cross-project queries, loads and copies. Requests made with a token the instance minted are checked against that project’s IAM.

Read the BigQuery rows

Call AI functions from SQL

Remote models and the AI.* functions run on the local Agent Platform endpoint, never Google, with sampling options and constrained decoding. Object tables feed ML.DECODE_IMAGE, ML.PREDICT and Vision text detection.

Read the BigQuery ML rows

Scale Cloud Run services

Service-level automatic and manual scaling, including zero instances, and CPU-utilization autoscaling, editable from the console.

Read the Cloud Run rows
Platform overview

The services your app needs.

Five core services start with a default configuration. Add optional backends with --services and check the service directory for the exact scope in each version.

Cloud Run

Backed by Knative Serving behind a Cloud Run v2 adapter

Deploys real containers. The compatibility matrix separates mapped settings from those stored without effect.

Pub/Sub

Backed by Google's own emulator

Topics, subscriptions, publish, pull, StreamingPull and push.

Cloud Storage

Backed by CloudBurrow's own server

Buckets, objects, versioning, lifecycle, CORS, XML multipart uploads and notifications to Pub/Sub.

Cloud Tasks

Backed by CloudBurrow

Queues and tasks, pause and resume, HTTP dispatch with retry.

Secret Manager

Backed by CloudBurrow

Secrets and versions over gRPC and JSON. Use test secrets. The local API does not authenticate callers.

Start more with --services

  • Firestore, Datastore, Bigtable and Spanner (Google's emulators)
  • Firestore with MongoDB compatibility
  • BigQuery (community emulator)
  • Cloud SQL for PostgreSQL and MySQL (real engines)
  • Memorystore (Valkey)
  • Cloud KMS
  • Cloud Scheduler
  • Cloud Logging
  • AlloyDB for PostgreSQL
  • Filestore (NFS)
  • Dataproc and Serverless for Apache Spark
  • Compute Engine VMs and load balancing

The local project registry starts with every instance. Resource Manager also serves folders and tags, and Service Usage stores project API settings.

All services and their limits

Architecture / From shell to cluster

A real Kubernetes cluster underneath

cloudburrow up creates a kind cluster in Docker. It starts Google's own emulators where they exist and CloudBurrow's own services where they don't, then wires them together. Because it is real Kubernetes, kubectl, Helm charts and operators work against it directly.

cloudburrow up creates the cluster and starts the services. It never touches your current kubecontext.

cloudburrow env exports endpoint overrides, the project, a local metadata server and a generated ADC file, as shell, JSON, Terraform or docker-compose.

Your app uses the official Google client libraries, unmodified. So does the Cloud Run worker inside the cluster.

Watch it in the local console, or with kubectl.

  1. cloudburrow up creates the cluster and starts the services. It never touches your current kubecontext.
  2. cloudburrow env exports endpoint overrides, the project, a local metadata server and a generated ADC file, as shell, JSON, Terraform or docker-compose.
  3. Your app uses the official Google client libraries, unmodified. So does the Cloud Run worker inside the cluster.
  4. Watch it in the local console, or with kubectl.
How CloudBurrow fits together On your machine: the official SDKs; the cloudburrow CLI, which runs cluster lifecycle, Cloud Tasks, Secret Manager, Cloud Run v2 adapter, metadata server + ADC, web console; and kubectl and helm. Across the ground line, in the kind cluster: Cloud Storage (CloudBurrow’s own server. v0.1.0 used fake-gcs-server.); Pub/Sub (Google's emulator); Cloud Run (Knative Serving); Firestore, Datastore, Bigtable, Spanner (Google's emulators, opt-in); BigQuery (community emulator, opt-in); Cloud SQL (PostgreSQL and MySQL, opt-in); Memorystore (Valkey, opt-in); local AI runtime (opt-in); Kubernetes API (direct). The SDKs call the services in the cluster; kubectl and helm talk to the Kubernetes API directly. Each part is tagged ours when CloudBurrow builds it and upstream when it is integrated. your machine kind cluster official SDKs Google's client libraries, unmodified upstream cloudburrow CLI ours cluster lifecycle Cloud Tasks Secret Manager Cloud Run v2 adapter metadata server + ADC web console kubectl / helm upstream Cloud Storage CloudBurrow’s own server. v0.1.0 used fake-gcs-server. ours Pub/Sub Google's emulator upstream Cloud Run Knative Serving upstream Firestore, Datastore, Bigtable, Spanner Google's emulators, opt-in upstream BigQuery community emulator, opt-in upstream Cloud SQL PostgreSQL and MySQL, opt-in upstream Memorystore Valkey, opt-in upstream local AI runtime opt-in upstream ours Kubernetes API direct upstream
See the cluster in cross-section
CloudBurrow in cross-section Above ground, the CloudBurrow door. Below it the cloudburrow CLI and a kind cluster with 5 default services (Cloud Run, Pub/Sub, Cloud Storage, Cloud Tasks, Secret Manager) and 6 opt-in examples (Firestore and Datastore, Spanner and Bigtable, BigQuery, Cloud SQL and Memorystore, Cloud KMS, Cloud Scheduler and Cloud Logging). The Kubernetes API, for kubectl and helm, sits on the same gallery. A request travels from the door to Cloud Storage, then Pub/Sub, then Cloud Run, then back to Cloud Storage. kind cluster cloudburrow CLI Cloud Run Pub/Sub Cloud Storage Cloud Tasks Secret Manager Kubernetes API kubectl, helm opt-in Firestore andDatastore opt-in Spanner andBigtable opt-in BigQuery opt-in Cloud SQL andMemorystore opt-in Cloud KMS opt-in Cloud Scheduler andCloud Logging CloudBurrow in cross-section Above ground, the CloudBurrow door. Below it, the 5 services that start by default: Cloud Run, Pub/Sub, Cloud Storage, Cloud Tasks, Secret Manager. Cloud Run Pub/Sub Cloud Storage Cloud Tasks Secret Manager
Terminal
brew install cloudburrow/tap/cloudburrowcloudburrow up# in another shelleval "$(cloudburrow env)"

Console / Local inspection

A console you'll recognise, labelled LOCAL

cloudburrow up serves a web console laid out after the Google Cloud console, with a LOCAL badge on every screen. The console reads live instance state and exposes controls for operations the local backend can perform.

  • List and detail pages for resources such as documents, rows, revisions and secret versions
  • SQL editors for Cloud SQL and Spanner, plus query builders for Firestore, Datastore and Bigtable
  • Kubernetes workloads, pods, nodes and storage, with metric history per node and per pod
  • A live Logs Explorer, and search across all of it
  • Light, dark and system themes. No CDN or web-font requests, so it works offline
  • A Cloud Shell-style terminal that runs inside a cluster pod
  • Cloud Run jobs, worker pools and service scaling, Memorystore, and permission panels for supported resources
  • IAM & Admin: custom and predefined roles, service accounts and keys
  • BigQuery connections, with their permissions

Permission panels display local policy data. Apart from five named IAM checks, policies are stored and not enforced, and there are no billing or quota APIs.

Tour the console
Objects in the example-project-assets bucket, with folders and object actions
Cloud Storage objects in the local console, captured 2026-11-22 from v0.5.0 @76acbfe.

Local AI / Offline generation

Agent Platform generation, offline

CloudBurrow serves a subset of generateContent and streamGenerateContent, verified with the official genai SDK on both the Agent Platform and Gemini API paths. It also serves Google's custom prediction contract (AIP_* routes, instances in, predictions out) on its own runtime.

What the AI surface covers

Text generation uses a community conversion of Gemma (gemma-4-E2B-it) for one-turn prompts, on the Apple GPU (Metal) on a Mac with Apple silicon and on CPU elsewhere. Model Garden's GGUF and MLX deploys use the Apple GPU too. The opt-in ONNX build adds local embeddings with community models, on CPU.

Evidence / Per operation

Every "supported" has a test behind it

Compatibility is recorded per operation, not per service. An operation becomes Verified only through a merged test that drives it through an official Google SDK. A curl script doesn't count. Everything else is labelled: Refused with the field named, Unimplemented with a real UNIMPLEMENTED error, Not served, or Unknown. The coverage table is generated from the APIs' proto definitions, and CI fails if it goes stale.

"An emulator that quietly returns plausible responses is worse than one that returns a clear UNIMPLEMENTED."
CloudBurrow's compatibility rules
From Unknown to Verified An operation moves from Unknown to Served to Verified. The gate before Verified is a merged test through an official Google SDK; a curl script bounces off it, because it does not count. Off to the side, an operation that is not served returns UNIMPLEMENTED, and a field the adapter cannot map is refused with the field named. merged test through an official Google SDK curl does not count Unknown Not claimed: no test covers it Served Served, not yet verified Verified Verified Returns UNIMPLEMENTED Refused, field named
Generated from docs/coverage at b42906d (v0.7.0), published 2026-11-25. Main at b42906d matches it.
ServiceVerified in v0.7.0
Cloud Run Cloud Run: 46 Verified of 46
Pub/Sub Pub/Sub: 47 Verified of 47
Cloud Storage Cloud Storage: 83 Verified of 86
Cloud Tasks Cloud Tasks: 20 Verified of 20
Secret Manager Secret Manager: 15 Verified of 17

1. Upload an object

2. Publish to Pub/Sub

3. Cloud Run worker reads it

4. Writes a result

5. Result read back

The acceptance test runs on every merge. It deploys a Knative Service with kubectl and uses official Go clients for Storage and Pub/Sub.

  1. An object, example-uploads/hello.txt, is uploaded to Cloud Storage with an official SDK.
  2. The test publishes the uploaded object’s name to Pub/Sub with an official Go client.
  3. A Cloud Run worker receives it and reads example-uploads/hello.txt, with an official SDK.
  4. The worker writes a result, results/hello.txt.
  5. The test reads results/hello.txt back with an official SDK. The acceptance test runs on every merge.
Browse the compatibility matrix

Boundaries / Local and CI

Read this before you rely on it

A local emulator is for building and testing. These limits are deliberate or upstream. They are written down so you don't discover them in production.

  • IAM policies are stored, not enforced, apart from five named checks. Four check a token the instance minted against the project's stored policy: Memorystore for Redis Cluster and Valkey IAM auth, Firestore with MongoDB compatibility sign-ins and command permissions, IAM Credentials on service accounts the IAM API created, and BigQuery's per-project IAM. The fifth is BigQuery remote models' connection permissions. Every other service request is allowed whatever its policy says. Do not use CloudBurrow to prove your permissions are correct.
  • Knative is not Cloud Run. The adapter refuses unsupported fields by name. It stores some settings, such as VPC access and encryption keys, without applying them.
  • Cloud KMS and Secret Manager are not security boundaries. KMS key material is stored unencrypted.
  • Pub/Sub state does not survive a restart. An explicit state save and load restores schemas, topics, subscriptions and snapshot definitions. Queued messages and snapshot backlogs are lost.
  • No GKE management APIs. CloudBurrow runs your workloads on its own kind cluster; the GKE cluster-management API is not emulated.
  • BigQuery uses a community emulator. It serves every active Resource Manager project, but keeps no table data across a restart.
The full list, in docs/status.md

Quickstart / First call

From zero to your first call

  1. 1 Install

    Homebrew

    Homebrew
    brew install cloudburrow/tap/cloudburrowcloudburrow version

    Install script

    Install script
    curl -fsSL https://raw.githubusercontent.com/cloudburrow/cloudburrow/main/scripts/install.sh | sh

    It verifies the SHA-256 checksum and, when gh is installed, the GitHub build attestation. It refuses an archive it cannot verify.

    From source

    From source
    git clone https://github.com/cloudburrow/cloudburrow.gitcd cloudburrowmake build

    A plain go install build has no embedded Storage server, and up refuses it. Use make build.

    Needs Docker (4 CPU / 6 GB), kind v0.33.0 and kubectl. macOS and Linux only; Windows is unsupported and WSL2 is untested. macOS binaries in v0.7.0 are signed with a Developer ID and notarized by Apple. The console opens at http://127.0.0.1:9090 and is labelled LOCAL.

  2. 2 Check

    Terminal
    cloudburrow doctor

    cloudburrow doctor changes nothing, and fails only on what would stop up.

  3. 3 Run

    Terminal
    cloudburrow up# in another shelleval "$(cloudburrow env)"
  4. 4 Call it

    Python · Cloud Storage
    import uuid
    from google.cloud import storage
    
    client = storage.Client()
    bucket = client.create_bucket(f"example-{uuid.uuid4().hex[:12]}")
    bucket.blob("hello.txt").upload_from_string("hello")
    assert bucket.blob("hello.txt").download_as_text() == "hello"
    bucket.delete(force=True)
    

    This block is run by CloudBurrow's Python suite in CI. If it stops working, CI fails. docs/examples/python.md

    Node.js · Cloud Storage
    import assert from 'node:assert/strict';
    import { randomUUID } from 'node:crypto';
    import { Storage } from '@google-cloud/storage';
    import { PassThroughClient } from 'google-auth-library';
    
    const apiEndpoint = process.env.STORAGE_EMULATOR_HOST;
    delete process.env.STORAGE_EMULATOR_HOST;
    const storage = new Storage({
      apiEndpoint,
      projectId: process.env.GOOGLE_CLOUD_PROJECT,
      authClient: new PassThroughClient(),
    });
    
    const [bucket] = await storage.createBucket(`example-${randomUUID()}`);
    await bucket.file('hello.txt').save('hello', { resumable: false });
    const [data] = await bucket.file('hello.txt').download();
    assert.equal(data.toString(), 'hello');
    await bucket.deleteFiles({ force: true });
    await bucket.delete();
    

    This block is run by CloudBurrow's Node.js suite in CI. If it stops working, CI fails. docs/examples/node.md

    The compatibility matrix links each Verified operation to its test. SDK coverage varies by language and service.

macOS binaries in v0.7.0 are signed with a Developer ID and notarized by Apple. See Gatekeeper in docs/install.md.

Develop locally

Build against Google Cloud APIs, locally

Free and open source under the MIT License. No account, no sign-up, no Google Cloud bill.