Claude Science on Google Cloud
Host Claude Science for non-IT researchers on Google Cloud: a browser-based,
SSO-gated workbench with a per-user persistent environment — no desktop install,
no Google Cloud console, and no gcloud required for end users. Everything is
provisioned as code (Terraform + Cloud Build) and reproducible from an empty project.
Using it? → USING.md — the researcher's guide: how it works, where
results land, and what you should see.
Deploying it? Two paths:
- New project → Quick start below.
- Already running the portal + workstations release → UPGRADING.md,
which adds the GCP compute path without recreating anything.
Release v0.2 — what you get, and what you don't
v0.2 adds one capability to v0.1: a researcher can dispatch parallel compute to
Google Cloud Batch from inside Claude Science and read the results back. Everything
in v0.1 (portal, SSO, per-user workstations) is unchanged.
If you are on v0.1 and only want Batch dispatch, this is the release for you — and
UPGRADING.md adds it without recreating a single workstation.
In v0.2
| |
|---|
/mnt/gcs | a GCS bucket mounted read-only on every workstation; results appear as ordinary files |
/mnt/gcs-in | a second bucket mounted read-write; staged data appears to every task as $INPUTS_DIR |
| Batch dispatch | a Cloud Run MCP server with submit_run, get_run_status, list_runs, cancel_run |
| Run-directory contract | STATUS.json, MANIFEST.json, a _COMPLETE sentinel, outputs/, logs/ |
| Two skills | gcp-batch and gcp-harvest — "run this on Google Cloud" is enough |
| Keyless auth | the workstation mints a short-lived ID token from its own service account. No service-account keys anywhere |
| Pinned runtime | the Claude Science release is pinned (CS_RELEASE), so two builds a month apart are identical |
| Container payloads | image= for work needing real dependencies |
| GPUs | pass gpu_type; Batch picks the machine family and installs the driver. nvidia-l4 is the default |
| Container-sized boot disks | jobs passing image= get a 200 GB boot disk instead of Batch's 30 GB default, which is too small for a real ML container |
| Region is explicit | every submit reports the region it ran in, so data-residency questions have an answer |
Verified before release
Deployed into an empty project end to end — bootstrap, build, apply, onboard, boot —
and exercised:
-
a workstation booted from the image came up with the mount, config and daemon,
with no manual steps; confirmed again after an idle-stop and restart
-
Batch dispatch at 1 task and at 104 tasks (208 grid points), results read back
through the contract, and the numbers checked against an independent local
computation rather than merely returned
-
the container path (image=) pulling a private image from the deployment's own
registry
-
the full input round trip: a file written from the workstation reached GCS and was
read by a Batch task off its own $INPUTS_DIR mount, with no credentials in the
payload
-
GPU dispatch on a real L4 (NVIDIA L4, 550.54.15, 23034 MiB) with Batch selecting
g2-standard-4 and installing the driver, from an accelerator name alone
-
the documented auth helper, run on the workstation, against the live service
On container images. The mechanism is verified twice over: a task pulled a private
image from the deployment's own registry, and a GPU task ran Google's PyTorch
deep-learning container end to end — {"cuda": true, "dev": "Tesla T4", "ver": "2.4.0+cu124"}, read back through the run directory.
That second run first failed on no space left on device partway through the pull.
The cause was our own 30 GB boot-disk default, not the image, and it would have hit
any large container including yours. Jobs with image= now get 200 GB.
The images referenced in the skill remain placeholders — named so a GPU request has
somewhere sensible to start rather than failing for want of CUDA. We are not certifying
them for any workload, and they pin framework versions that may not match yours.
Validate against your pipeline, or point image= at your own; the skill asks for
yours before proposing anything.
Not in v0.2 — plan around these
The honest list. None of them block dispatch; all of them will surprise someone.