DEV Community

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

Posted on • Originally published at sliplane.io

65 7 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.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 👀

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (15)

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:)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

AWS Industries LIVE! Stream

Watch AWS Industries LIVE!

Discover how cloud technology is solving real-world problems on Industries LIVE!

Learn More

👋 Kindness is contagious

Value this insightful article and join the thriving DEV Community. Developers of every skill level are encouraged to contribute and expand our collective knowledge.

A simple “thank you” can uplift someone’s spirits. Leave your appreciation in the comments!

On DEV, exchanging expertise lightens our path and reinforces our bonds. Enjoyed the read? A quick note of thanks to the author means a lot.

Okay