AI Cloud Architect

Deploy n8n on Cloud Run

GoogleHow-to by Ryan PeiGoogle Cloud Blog (developers and practitioners)

With just a few commands, you can deploy n8n to Cloud Run and have it up and running, ready to supercharge your business with AI workflows that can manage spreadsheets, read and draft emails, and more.

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

AI: Summary

What it is

Cloud Run can host the official n8n image with Cloud SQL storage, and n8n agents can call Gemini as their LLM.

Who it is for

Teams that want to self-host n8n AI agent workflows on Google Cloud Run without managing servers.

Key points

  • One gcloud run deploy command starts a test instance with no CPU throttling and 2Gi memory.
  • Production setup uses Cloud SQL for persistent data and Secrets Manager, via Terraform or gcloud steps.
  • Gemini API key is provided in n8n's Google Gemini Chat Model credentials.
  • Optional OAuth setup connects workflows to Gmail, Google Calendar and Google Drive.

The same at other vendors

Timeline

Posts about Cloud Run, oldest first.

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