India English
Kenya English
United Kingdom English
South Africa English
Nigeria English
United States English
United States Español
Indonesia English
Bangladesh English
Egypt العربية
Tanzania English
Ethiopia English
Uganda English
Congo - Kinshasa English
Ghana English
Côte d’Ivoire English
Zambia English
Cameroon English
Rwanda English
Germany Deutsch
France Français
Spain Català
Spain Español
Italy Italiano
Russia Русский
Japan English
Brazil Português
Brazil Português
Mexico Español
Philippines English
Pakistan English
Türkiye Türkçe
Vietnam English
Thailand English
South Korea English
Australia English
China 中文
Canada English
Canada Français
Somalia English
Netherlands Nederlands

What Are the Hosting Requirements for n8n?

The n8n hosting requirements depend on the number of workflows you run, the amount of data they process, and how many executions happen at the same time.

For testing, a VPS with 2 GB RAM and 1–2 vCPU is a practical starting point. If you’re running regular business automations, 4 GB RAM or more is a better choice.

n8n does not publish an official minimum hardware specification for self-hosting. Its published resource figures are based on n8n Cloud and should not be treated as server requirements.

This guide covers n8n hosting requirements, including the hardware, software, database, and network, plus suitable VPS options in Uganda.

n8n Cloud Hosting Requirements

n8n hosting requirements: Requirements

n8n’s prerequisites documentation provides the following illustrative resource figures for n8n Cloud:

  • Memory: 320 MB–2 GB.
  • Storage: 512 MB–4 GB SSD for the database.
  • CPU: A small allocation that scales as needed.

These figures describe n8n Cloud and are not minimum specifications for installing n8n on your own server.

There are a few other things worth keeping in mind:

  • CPU usage: n8n generally requires less CPU power than memory, although demanding workflows can increase CPU usage.
  • Memory consumption: The amount of RAM n8n uses depends on workflow complexity, JSON and binary data, Code node operations, and concurrent executions.
  • Large files: Processing large binary files or running several manual executions at once can increase memory consumption.

These factors help determine how much server capacity your workflows need.

Recommended Hardware Requirements by Workload

The following configurations are provider-recommended starting points for different workloads. They are not official minimum n8n hosting requirements.

SetupvCPURAMStorageDatabase
Testing/personal use22 GB20 GB SSDSQLite
Small business production2–44 GB50–100 GB SSDPostgreSQL
Heavy workflows4+8+ GB100+ GB SSDPostgreSQL
Queue mode4+16+ GBNVMe recommendedPostgreSQL + Redis

1) RAM requirements

RAM is particularly important when running multiple workflows, processing large files, or making frequent API calls. Running PostgreSQL, Redis, and n8n on the same server also increases memory usage.

Here are workable starting points:

  • 2 GB: Suitable for testing, personal projects, and a few light workflows.
  • 4 GB: A good starting point for small business automations and occasional AI workflows.
  • 8 GB or more: Better suited to demanding production workloads, especially if PostgreSQL and Redis are running alongside n8n.

You can reduce memory consumption by adjusting how your workflows process data:

  • Set N8N_DEFAULT_BINARY_DATA_MODE to filesystem for regular deployments that handle large files.
  • Use database binary storage in queue mode, where filesystem mode is unsupported.
  • Process smaller batches of records instead of loading large datasets at once.
  • Avoid unnecessary Code node operations and limit concurrent executions where possible.

2) CPU requirements

CPU capacity affects how quickly workflows execute, particularly when processing large datasets or running computationally demanding operations.

n8n hosting requirements: CPU
  • 1–2 vCPUs can support light workloads, although 2 vCPUs are a more practical starting point.
  • Increase CPU allocation when running multiple workers or computationally demanding Code nodes.
  • Queue mode may require 1–2 additional cores per worker, depending on the workload.

3) Storage requirements

Storage holds your n8n installation, database files, logs, execution history, backups, and any files your workflows process.

  • Use SSD storage, preferably NVMe for heavier production workloads.
  • Allow around 20 GB for testing and 50–100 GB or more for production, depending on execution history and file storage.
  • Persist Docker volumes to prevent data loss when containers restart.
  • Leave sufficient room for database files, logs, backups, and execution history as your workflows grow.

Software Requirements: Docker and Linux

Docker is the recommended deployment method for new self-hosted n8n installations. It allows you to run n8n and its dependencies in containers without manually installing every application component on the server.

You need:

  1. A Linux VPS with root access.
  2. Docker and Docker Compose v2.
  3. Sufficient RAM and storage for the operating system and containers.

Keep these software considerations in mind:

  • n8n’s one-line installation uses Docker Compose v2.
  • npm-based installation is deprecated from n8n 3.0, according to its installation documentation.
  • Existing npm installations require Node.js 20.19–24.x under the documented compatibility range.
  • Use a current Linux distribution supported by Docker, such as Ubuntu or Debian.

Docker makes it easier to manage n8n and its dependencies, update the installation, and keep the application running independently of the host system’s software packages.

Database Requirements: SQLite or PostgreSQL

n8n stores workflows, credentials, and execution history in a database. It supports SQLite and PostgreSQL, although the two options suit different workloads.

  • SQLite: The default database, suitable for testing and simple single-instance deployments.
  • PostgreSQL: Better suited to regular production workloads and required for queue mode.

Here are a few database considerations before setting up your instance:

  1. SQLite requires minimal configuration, making it convenient for testing and simple installations. It is less suitable for distributed deployments.
  2. PostgreSQL is recommended for regular business workflows and installations that may need to scale.
  3. Each n8n instance should have its own dedicated database.
  4. PostgreSQL must be created beforehand, with the n8n database user granted the required permissions.
  5. n8n supports the latest two actively maintained PostgreSQL major versions, plus one older version for compatibility.

SQLite is a reasonable starting point for a small installation. However, PostgreSQL is worth considering from the beginning if you expect to run regular business automations or introduce queue mode later.

Queue Mode Requirements: Redis and Workers

Queue mode separates workflow execution from the main n8n process, allowing multiple workers to handle jobs.

n8n hosting requirements: Queue Mode

This setup is useful when your workflows receive many simultaneous requests, process heavy workloads, or experience execution spikes.

Queue mode requires the following components:

  1. PostgreSQL: Stores workflow and execution data. SQLite is unsupported in distributed queue mode.
  2. Redis: Passes execution jobs between the main process and workers.
  3. Workers: Execute workflows independently of the main process.
  4. Shared encryption key: All workers must use the same encryption key as the main instance to access stored credentials.
  5. Binary data storage: Use a database or supported external storage instead of filesystem mode.

Additional considerations include:

  • n8n recommends worker concurrency of 5 or higher.
  • Each worker increases CPU and RAM requirements.
  • Queue mode also increases database connection and storage demands.

You don’t need queue mode for every installation. A single n8n instance can support testing and many small business workflows without the additional infrastructure.

Network and Security Requirements

For production use, your n8n installation needs a few network and security components to receive webhook requests, communicate with external services, and protect your data.

  • Public IP address or domain: Allows external services to reach webhook endpoints.
  • Port 5678: n8n’s default listening port.
  • Reverse proxy and SSL: Use Nginx or Caddy to enable secure HTTPS connections.
  • Webhook URL configuration: Set the correct external URL when running behind a reverse proxy.
  • Regular backups: Back up your database, workflows, credentials, and encryption key.
  • Database security: Restrict database access using appropriate firewall rules and IP allow lists.
  • Persistent storage: Keep Docker volumes and encryption keys safe across container restarts.

Uptime is also worth considering. n8n warns that scheduled or webhook executions missed while an instance is down or restarting may not be recoverable. A reliable hosting environment is therefore important if your workflows handle business operations.

Hosting Options for n8n in Uganda

At Truehost, you can choose between two hosting options depending on how much server management you want to handle.

  1. Truehost VPS Hosting: Provides a Linux server for installing Docker, PostgreSQL, Redis, and other components. It suits users who want full control over their n8n environment.
  2. Truehost n8n Self-Hosting Plans: Provides a prepared n8n hosting environment that reduces the work involved in setting up the application.

Before choosing a plan, check the following:

  • Match RAM to your workload: 2 GB for testing, 4 GB for small production, and 8 GB or more for heavier workflows.
  • Check the available CPU allocation.
  • Choose SSD or NVMe storage with sufficient capacity.
  • Compare monthly costs in UGX after confirming the technical specifications.

Our n8n plans start from USh 24,114.74 per month.

You will also need a domain or subdomain for secure webhook connections. You can register a domain with Truehost, including a .co.ug domain, to keep your hosting and domain services together.

Get started with n8n hosting at Truehost:

Author

Leave a comment

Your email address will not be published. Required fields are marked *