๐Ÿ”„ Automation & Workflow

Self-Hosted n8n on AWS in 2026: The Complete Setup Guide

Skip $400/month Zapier bills. Self-host n8n on AWS for under $10 โ€” here's the exact setup.

FlowAI Editorialยทยท12 min read
AWS dashboard showing self-hosted n8n instance running
Advertisement
Ad Slot (horizontal)

If your Zapier bill crossed $200/month, self-hosted n8n on AWS pays for itself in week one. Here's the exact 2026 setup we use in production.

Architecture

EC2 t4g.small (ARM) + RDS Postgres micro + CloudFront + ACM cert. Total: about $9/month for moderate workloads.

Architecture diagram of n8n hosted on AWS with RDS and CloudFront

Step-by-Step

  1. Launch t4g.small with Ubuntu 24.04.
  2. Install Docker + docker-compose.
  3. Run the official n8n compose file.
  4. Point Route53 A record at your EIP.
  5. Add ACM cert via CloudFront.
  6. Enable nightly EBS snapshots.

Security Checklist

  • Force HTTPS
  • Basic auth on the n8n UI
  • Secrets via AWS SSM, not env vars
  • VPC security group locked to your IP for the editor

Key Takeaways

  • Under $10/mo for thousands of executions.
  • Zero per-task pricing.
  • Full data sovereignty.

FAQ

Is n8n really free?

Yes โ€” Sustainable Use license permits internal commercial use.

What about updates?

Pull a newer Docker image weekly; n8n is stable.

Conclusion

Stop renting automation. Self-host n8n this weekend and reclaim your margins.

Advertisement
Ad Slot (horizontal)

You might also like