Independent testing Updated April 2026 387 self-hosting guides 5 VPS providers tested

guide

How to Self-Host n8n on Contabo (2026 Guide)

Learn how to self-host n8n on Contabo with a step-by-step 2026 guide covering setup, configuration, and recommended specs for a smooth deployment.

How to Self-Host n8n on Contabo (2026 Guide)

Self-hosting n8n, an open-source workflow automation tool, can enhance your development capabilities while giving you complete control over your data. In this guide, youโ€™ll learn how to install and configure n8n on a Contabo VPS. We will cover every step in detail, ensuring a smooth setup process.

Why Choose Contabo?

Contabo offers robust VPS solutions, ideal for self-hosting applications like n8n. Their plans start at 5.99 EUR/month, which provides an affordable option for developers. Here are some key features of Contaboโ€™s VPS offerings:

FeatureContabo VPSHetzner CloudDigitalOceanVultrLinode
Starting Price5.99 EUR/month4.15 EUR/month6 USD/month6 USD/month5 USD/month
CPU Cores41111
RAM8 GB2 GB1 GB1 GB2 GB
Storage200 GB SSD20 GB SSD25 GB SSD25 GB SSD25 GB SSD
Data Transfer10 TB1 TB1 TB1 TB1 TB

With features like ample storage and high data transfer limits, itโ€™s clear that Contabo stands out as a solid choice for developers and homelab enthusiasts.

Prerequisites

Before diving into the installation, ensure you have the following:

  1. A Contabo VPS server. You can sign up here.
  2. SSH access to the server.
  3. Basic knowledge of Linux command-line usage.

Step-by-Step Installation Guide

1. Connect to Your Contabo VPS

Open your terminal and connect to your Contabo VPS using SSH. Replace your_username and your_ip_address with your actual username and server IP.

ssh your_username@your_ip_address

2. Update Your System

Once connected, update your system packages to ensure your environment is up-to-date.

sudo apt update && sudo apt upgrade -y

3. Install Docker

n8n runs efficiently using Docker. Install Docker by executing the following commands:

sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce -y

4. Install Docker Compose

Docker Compose is needed to manage multiple Docker containers. Install it with:

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

5. Create a n8n Directory

Go to your home directory and create a directory for n8n:

mkdir ~/n8n
cd ~/n8n

6. Create a Docker Compose File

Now create a docker-compose.yml file to define your n8n service. Use a text editor like nano or vim:

nano docker-compose.yml

Add the following content to the file:

version: '3'

services:
  n8n:
    image: n8n-io/n8n
    container_name: n8n
    environment:
      - N8N_HOST=your_domain_or_ip
      - N8N_PORT=5678
      - N8N_PROTOCOL=http
      - N8N_BASIC_AUTH_ACTIVE=false
      - DB_TYPE=sqlite
    ports:
      - "5678:5678"
    volumes:
      - ~/.n8n:/home/node/.n8n
    restart: always

Make sure to replace your_domain_or_ip with the serverโ€™s domain or IP address.

7. Launch n8n

Run the following command to start n8n using Docker Compose:

sudo docker-compose up -d

8. Access n8n

Once n8n is up and running, access it via your browser using the serverโ€™s IP:

http://your_ip_address:5678

9. Configure n8n

Follow the on-screen instructions to finalize your n8n setup. You can enable basic authentication in the environment variables if you want to secure your instance.

FAQs

1. What is n8n and why should I self-host it?

n8n is an open-source workflow automation tool that allows developers to automate tasks and integrate various online services. Self-hosting n8n gives you control over your data, enhances privacy, and allows for greater customization as per your project needs. With an affordable VPS like Contabo, it becomes accessible for developers looking to optimize their workflows.

2. How do I secure my n8n instance on Contabo?

Securing your n8n instance is crucial, especially if you are handling sensitive data. Use HTTPS by setting up Nginx as a reverse proxy to encrypt the traffic. You should also enable basic authentication in the docker-compose.yml file. Regularly update your docker containers and apply security patches to maintain a secure environment.

3. What are the advantages of using Contabo for hosting n8n?

Contaboโ€™s VPS solutions are budget-friendly while offering sufficient resources for running applications like n8n. With a starting price of 5.99 EUR/month and a generous allocation of CPU, RAM, and storage, it stands out among competitors. Contaboโ€™s high data transfer limits and reliability make it a solid choice for developers and homelabbers looking to self-host various applications. For a comprehensive overview of other options, check our full VPS comparison.

By following this guide, you will be able to successfully install and configure n8n on a Contabo VPS, paving the way for efficient automation in your projects.