devops4 min read

Deploying, maintaining, and migrating production n8n on EKS

  • n8n
  • Amazon EKS
  • PostgreSQL
  • Redis
  • AWS S3
  • AWS Secrets Manager
  • Helm

AI Summary

This article details the real-world architecture, scaling strategies, and migration steps for running n8n in queue mode on Amazon EKS. The author explains the transition from a community Helm chart to the official Helm chart while preserving the underlying PostgreSQL database, Redis queue, S3 object storage, and AWS Secrets Manager integration. Key operational lessons include splitting ingress for public versus internal webhooks, running dedicated webhook processors and workers, and managing persistent storage trade-offs.

Key Takeaways

  • Ran n8n in queue mode separating main instances, worker instances, and dedicated webhook processors.
  • Migrated from a community StatefulSet chart to the official Deployment-based chart by disabling main persistence since state resides in PostgreSQL, Redis, and S3.
  • Used External Secrets Operator (ESO) to sync encryption keys and credentials from AWS Secrets Manager into Kubernetes.

Why it matters

Running workflow automation tools like n8n under heavy production traffic requires careful separation of state, queueing mechanisms, and secret management. Understanding how to migrate between Helm charts safely without disrupting live data or handling complex multi-attach persistent volume issues helps platform engineers maintain reliable Kubernetes workloads.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.