AI Cloud Architect

Google Cloud Run sandboxes are in public preview

GoogleAnnouncement by Ryan Pei and Greg BlockGoogle Cloud Blog (developers and practitioners)

Today, at WeAreDevelopers World Congress, we are announcing Google Cloud Run sandboxes in public preview. Cloud Run sandboxes are a native, secure, and ultra-fast runtime environment built specifically for executing untrusted code and agent workloads, starting in milliseconds.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Cloud Run now offers sandboxes in public preview for running untrusted or AI-generated code inside existing Cloud Run service instances, with deny-by-default network egress.

Who it is for

Teams running LLM agents or code interpreters on Cloud Run that need to execute model-written code safely.

Key points

  • Sandboxes are enabled with a deploy flag (--sandbox-launcher) and started from code with a sandbox CLI.
  • Network egress is denied by default and can be enabled per call.
  • Sandboxes run on the service's existing CPU and memory, which Google says means no extra cost.
  • An ADK CloudRunSandboxCodeExecutor is planned for the next ADK version.

The same at other vendors

Timeline

Posts about Cloud Run, oldest first.

  1. How-toDeploy n8n on Cloud Run · Google · How-to
  2. How-toA Guide to AI Cold Starts on Cloud Run · Google · How-to
  3. This postGoogle Cloud Run sandboxes are in public preview