Create Expert Content: Deploying a Multi-Agent System with Terraform and Cloud Run
Google•How-to••by Shir Meir Lador•Google Cloud Blog (developers and practitioners)
Deploy the "Dev Signal" multi-agent system to Google Cloud Run with Terraform. Set up a production backbone, secure infrastructure, memory bank integration, and telemetry for expert content creation.
Walks through deploying the Dev Signal multi-agent system to Cloud Run, with a FastAPI server, Vertex AI memory bank connection, ADK telemetry, and Terraform-provisioned IAM and Secret Manager.
Who it is for
Developers moving an ADK agent with MCP tools and memory from local prototype to Cloud Run on Google Cloud.
Key points
Memory bank is attached via MEMORY_URI and telemetry via otel_to_cloud=True, which exports traces to Cloud Trace.
Terraform creates a dedicated least-privilege service account with aiplatform.user, logging.logWriter and storage.objectAdmin roles.
Traces are sampled in production, so targeted capture is needed for full-detail evaluation.
Service is private by default; access is granted with run.invoker and reached through gcloud run services proxy.
AI:Google-managed MCP servers let agents call Google services such as Maps, BigQuery and GKE through hosted endpoints, with IAM deny policies and Model Armor adding security checks on tool calls.
AI:Gemini API gains an Interactions API in public beta, a single endpoint for calling Gemini models and built-in agents with server-side state and background runs.