DEV Community

Cover image for Self-hosting n8n: the easy way
Jonas Scholz
Jonas Scholz Subscriber

Posted on • Originally published at sliplane.io

53 6 6 4 4

Self-hosting n8n: the easy way

n8n is the hottest "ai native" automation tool on the market right now. Basically no-code for AI workflows, BUT the pricing can be a bit daunting, with the cheapest paid plan starting at 24/month with a lot of limitations. Alternatively, you can self-host n8n! In this tutorial we're going to setup a n8n (community version) instance on sliplane, for only 9 euros per month and (nearly) no limitations!

n8n pricing

If you prefer watching a video, here is a 45 second guide on how to deploy n8n:

Setup

  1. Signup at sliplane.io, the signup is free and you can use your Github Account to login.
  2. Create a server: if you just signed up you should already have a trial server that you can use for 48 hours for free. If not, go to > Servers and then click > Create Server
  3. Create a service: go to your projects (create a new one or use the default one) and click > Deploy Service (top right)
    • Select docker.n8n.io/n8nio/n8n:latest as image
    • Add a volume (name it anyway you want) and mount it to /home/node/.n8n
  4. Click deploy, wait for the service to be up and then open the domain provided by sliplane. You can find that in the service settings, it should be service-name.sliplane.app
  5. Follow the setup steps in the n8n dashboard and you're done!

n8n flow

Comparison to other Hosting platforms

Of course you can also self-host n8n with other cloud providers. Here is a pricing comparison for the most common ones:

Provider vCPU Cores RAM Disk Estimated Monthly Cost Notes
Render.com 1 2 GB 40 GB ~$35–$45 $35
Fly.io 2 2 GB 40 GB ~$20–$25 $17
Railway 2 2 GB 40 GB ~$15–$30 $66*
sliplane.io 2 2 GB 40 GB ~$9.45 ~$9.5/month flat
  • Note: Railway charges for actually used memory and cpu time. $66 is the max price, actual price might vary.

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (13)

Collapse
 
ngdangtu profile image
Đăng Tú

Is there any option to do that on localhost only?

Collapse
 
ranjancse profile image
Ranjan Dailata
  • Install latest NodeJS
  • npm install n8n -g
  • n8n start
Collapse
 
code42cate profile image
Jonas Scholz

I'd recommend using Docker even if its a local setup:)

Thread Thread
 
ranjancse profile image
Ranjan Dailata

Sure, but why Docker? any specific reason for local setup?

Thread Thread
 
ngdangtu profile image
Đăng Tú

It saves you from a hellish life. Can you imagine one broken update of your test server that brings down your whole computer? Moreover - we, dev, usually don't have just 1 local server. Can you imagine conflict between these local servers =))

That's why mate.

Thread Thread
 
ranjancse profile image
Ranjan Dailata

Well, I was asking in the context of n8n. Unless you are one of those CORE developer of n8n, there is no way anyone would update the n8n source code mate!

Collapse
 
code42cate profile image
Jonas Scholz

Yes, checkout this tutorial and basically only do the docker compose part: dev.to/code42cate/self-hosting-n8n...

Collapse
 
ngdangtu profile image
Đăng Tú

Thanks, i just found out after read this article too =))

Thanks for the articles btw, good ones

Collapse
 
_aliraza profile image
Ali Raza

How about Hetzner ?

Collapse
 
code42cate profile image
Jonas Scholz

Writing a tutorial for that right now!

Collapse
 
code42cate profile image
Jonas Scholz
Collapse
 
robert_sallo_6eaadea18c5f profile image
robert sallo

Naive question, does the n8n community version have the same connectors / integrations than the commercial one? Thanks!

Collapse
 
code42cate profile image
Jonas Scholz

Yes! You can see what is missing here (docs.n8n.io/hosting/community-edit...), although I don't think these features matter for most people:)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay