Google Cloud

Run agentgateway on GCP to leverage Vertex AI, GKE, and Google Cloud services.

Deployment options

Google Kubernetes Engine (GKE)

For GKE deployments, use Agentgateway on Kubernetes which provides native Kubernetes Gateway API support, dynamic configuration, and MCP service discovery.

Cloud Run

Run agentgateway as a serverless container on Cloud Run.

gcloud run deploy agentgateway \
  --image ghcr.io/agentgateway/agentgateway:latest \
  --port 3000 \
  --set-env-vars "GOOGLE_CLOUD_PROJECT=my-project" \
  --service-account agentgateway@my-project.iam.gserviceaccount.com \
  --allow-unauthenticated

GCP integrations

IntegrationPurpose
Vertex AIAccess Gemini and other models
Google GeminiDirect Gemini API access
GCP Secret ManagerSecure API key storage
Cloud Load BalancingGlobal load balancing with SSL
Cloud TraceDistributed tracing
Cloud MonitoringMetrics and alerting

IAM permissions

Create a service account with these roles:

# Create service account
gcloud iam service-accounts create agentgateway \
  --display-name "agentgateway"

# Grant Vertex AI access
gcloud projects add-iam-policy-binding my-project \
  --member "serviceAccount:agentgateway@my-project.iam.gserviceaccount.com" \
  --role "roles/aiplatform.user"

# Grant Secret Manager access
gcloud projects add-iam-policy-binding my-project \
  --member "serviceAccount:agentgateway@my-project.iam.gserviceaccount.com" \
  --role "roles/secretmanager.secretAccessor"

Learn more

Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.