Skip to content

cortex-reply/n8n-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

n8n Prototype (Terraform)

This small Terraform prototype deploys n8n as an ECS Fargate service with EFS-backed storage and an Application Load Balancer. It's deliberately lightweight so you can run it standalone for testing or integrate its ECS/Target Group pieces into a larger infrastructure such as the cortex project.

What this contains

  • ECS cluster and Fargate service running the official n8nio/n8n image
  • ECS Task definition with an EFS-backed volume and required IAM roles
  • AWS EFS file system, access point and mount targets
  • Application Load Balancer + Target Group + Listener (HTTP)
  • Security group suitable for ALB <> ECS <> EFS communication

Quick start (standalone)

  1. From the testing/n8n-prototype folder run:
terraform init
terraform validate
terraform apply -auto-approve
  1. After apply completes, the ALB DNS is available as the n8n_url output.

Note: By default this prototype uses the default VPC and will try to create resources in that VPC.

Set variables via CLI or a tfvars file, e.g. terraform apply -var='assign_public_ip=true'.

Outputs

  • n8n_url - ALB DNS name for accessing n8n (prepend http:// or https:// as appropriate).

About

A repo for testing n8n AWS deployment, configuration etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages