Skip to content

n8n-on-awsOne YAML file, every shade of n8n on AWS

A configuration-driven CLI that turns a typed, validated YAML file into AWS CDK stacks, from one Fargate task to multi-main HA.

Quick start ​

shell
$ uvx n8n-on-aws init                       # questions, then a commented n8n.yaml
$ uvx n8n-on-aws plan -f n8n.yaml --cost    # resolved plan and monthly cost
$ uvx n8n-on-aws deploy -f n8n.yaml --dry-run

init writes the file, plan shows what it resolves to, and deploy --dry-run synthesizes the stacks locally without any AWS call. The getting started page goes through a real deployment and its teardown.

Four runtimes ​

The n8n roles (main, webhook processors, workers) are the same everywhere. runtime only picks the AWS building blocks that run them.

You are...Use
New to n8n on AWS, small or medium workload, cost-sensitiveruntime.platform: ecs on Fargate, ingress.kind: cloudfront
Handling many webhooks or a steady execution loadECS on Fargate, topology.mode: queue or split, workers on Spot
Holding Savings Plans or Reserved Instances, or needing more memory per vCPUECS on EC2 hosts (runtime.ecs.capacity: ec2), Graviton by default, workers on Spot hosts
Already running Kubernetesruntime.platform: eks, the official n8n Helm chart on a new or an existing cluster

See the ladder of shapes and the sample configurations.

Always destroy what you test

A deployment costs money while it exists. nano is about $4 a month and minimal about $72. Run destroy and cleanup when you are done.