Skip to content
n8n Workflow Automation product logo
  • AWS· soonComing soon on Amazon Web Services
  • Azure· nextMicrosoft Azure is next on the roadmap
  • GCP· nextGoogle Cloud is next on the roadmap
Coming soon

n8n Workflow Automation

n8n 2.38.7 on Node.js 24 with PostgreSQL 16, behind an Apache reverse proxy with websocket support - self-hosted workflow automation with your credentials encrypted under a key that exists only on your instance. No account ships: you become the owner on the first visit, and webhooks keep working after a stop/start.

Version
v2.38.7
Operating system
Ubuntu 24.04 LTS
Architecture
x86_64
Support
Community

What's installed

Every package and version on the image. Nothing else is installed.

  • n8n 2.38.7
  • Node.js 24.21.0
  • PostgreSQL 16.15
  • Apache 2.4.58

Licensing Sustainable Use License (fair-code), no licence key required

Deploy anywhere

n8n Workflow Automation on AWS.

Microsoft Azure and Google Cloud are next on the roadmap. One clean-room build, one first-boot credential model, one patch cadence — identical on every cloud you run. Every identifier below is the real one; copy it and launch.

  1. AWS

    Amazon Web Services

    AMI · v2.38.7

    Coming soon

    AWS AMI ID

    ami-09d90f081408ddc98
    Released
    September 15, 2026
    Root volume
    gp3 · 20 GiB

    Instance types

    • t3a.medium
    • t3.medium
    • t3a.large
    • m6a.large

    Regions

    • us-east-1

Getting started

From launch to signed in, step by step.

  1. Launch in us-east-1 with TCP 22 and 80 open; wait about two minutes.

  2. Open http://<instance-public-ip>/. n8n shows its owner-setup screen on the first visit: choose your email and password there. No default credential exists.

  3. Webhook and editor URLs are pinned to the instance's public IP on every boot. Set N8N_HOST to your own hostname in /etc/n8n/n8n.env and it is never overwritten.

  4. SSH as ubuntu with your key pair. Config: /etc/n8n/n8n.env (root-only). Data: /var/lib/n8n. Logs: /var/log/n8n. Backup: sudo bash /home/ubuntu/iscripts/n8n-backup.sh writes a pg_dump archive to /var/backups/n8n.

  5. For production put TLS in front and set N8N_SECURE_COOKIE=true.

Security posture

What this image does and does not ship with, one fact per line.

  • Clean-room build on Canonical's official Ubuntu 24.04 LTS image: every component comes from its own official repository or release, nothing is copied from any third-party image, and the finished image was scanned for third-party vendor strings before capture.

  • No usable credential ships in the image; passwords are set on your instance at first boot from EC2 instance metadata (IMDSv2) and the scripts that set them delete themselves afterwards.

  • SSH is key-only, root login over SSH is refused, and build-time SSH keys, shell history and logs were removed before imaging.

  • N8N_ENCRYPTION_KEY, which encrypts every stored credential, is generated on first boot once, while no credentials exist - a key baked into the image would let anyone holding it decrypt any other customer's credentials.

  • The config file holding the database password and encryption key is root:n8n mode 0640 and not readable by the ubuntu login user. n8n (5678) and PostgreSQL (5432) are loopback-only.

  • N8N_SECURE_COOKIE is false so sign-in works over plain HTTP at a bare IP; set it to true once TLS is in front.

  • The build key pair is denied for both ubuntu and root, and authorized_keys contain only the launching instance's own key.

  • Fifteen automated checks pass on build, first boot and after a stop/start.

  • The image is HTTP-only by design so it works at a bare IP with no certificate warnings: terminate TLS at a load balancer or add a certificate before exposing it publicly, and restrict port 22 and any admin ports to trusted IP ranges in your security group.