Architecture
The ladder of shapes
Each rung adds capacity and cost. The same file grammar covers all of them.
See Shapes for the cost and status of each sample.
The stacks
One file maps to one CDK app and to a set of CloudFormation stacks named after the deployment.
| Stack | Holds | Created when |
|---|---|---|
network | Subnets for ingress, tasks and data, and their firewalls | Always, unless you reuse a VPC |
data | State that outlives n8n tasks, most of it retained on deletion | Always |
n8n | One ECS service per role (or one Helm release on EKS) and the way users reach it | Always |
edge | Global resources that AWS only accepts in us-east-1 | CloudFront with a certificate, WAF or the edge login wall |
backup-copy | A vault and its key in the copy region, retained on deletion | Cross-region backup is configured |
The design choices behind these shapes are in Deployment options and the configuration reference.