n8n VPS hosting for self-hosted workflow automation
Self-hosting n8n on a VPS gives you an always-on environment for workflows, webhooks, schedules, integrations and AI-enabled automation. The important buying decision is not simply “can n8n run?” but how much CPU, memory and operational responsibility your actual workflows require.
n8n system requirements: start with the deployment you plan to run
There is no single RAM number that fits every n8n installation. Resource needs change with workflow concurrency, payload size, database usage, Code nodes, browser automation, AI workloads and any other services running on the server.
For one concrete reference point, n8n’s current Docker Compose guide for a stack that includes the n8n Assistant sandbox lists at least 4 GB RAM and 2 vCPUs. That is a requirement for that documented setup, not a universal minimum for every possible n8n installation. See the official n8n Docker Compose documentation before deployment.
Practical VPS sizing for n8n
| Workload pattern |
Planning direction |
What increases demand |
| Light personal or small-team automation |
Start with a modest VPS and measure real usage. |
More executions, larger payloads and additional services. |
| Docker Compose with Assistant sandbox |
Use n8n’s current documented requirements as the floor for that stack. |
Docker-in-Docker sandboxing and concurrent executions. |
| Growing production workflows |
Leave headroom above current CPU and memory usage. |
Queues, database load, webhooks, AI nodes and parallel jobs. |
| Heavy automation or multiple applications |
Size the server for the complete stack, not n8n alone. |
Databases, reverse proxies, browsers, vector services and other containers. |
Use our VPS RAM sizing guide to build a memory budget rather than choosing a tier from a generic rule.
n8n Docker Compose deployment checklist
- Install a currently supported Docker Engine and Docker Compose version.
- Use persistent storage for n8n data and the database.
- Put the public interface and webhooks behind HTTPS.
- Protect credentials, encryption keys and environment variables.
- Restrict unnecessary ports with firewall rules.
- Plan backups for workflows, credentials and the database.
- Set up monitoring for memory, CPU, storage and failed executions.
- Document how you will update n8n and roll back if an update causes a problem.
Self-managed vs managed VPS for n8n
Choose self-managed VPS when you want server-level control and can administer Linux, Docker, networking, security and backups yourself. Choose managed VPS when you want more assistance with the server environment. A managed server does not automatically mean your n8n workflows, custom nodes, credentials or application configuration are managed for you.
Using n8n with AI services
n8n can orchestrate AI-enabled workflows while the VPS handles the automation layer, webhooks, queues and supporting services. If the AI model itself runs through an external API, the VPS does not need to host the model. See AI VPS Hosting for the broader infrastructure decision and AI VPS vs GPU Server when local inference is part of the plan.
What to verify before checkout
- The selected VPS has enough CPU, RAM and storage for the complete deployment.
- You understand who is responsible for operating-system and application maintenance.
- Your backup plan covers the database and n8n data.
- Your intended deployment method is supported by the operating system you choose.
- You have a plan for TLS, DNS and webhook exposure.
- You have reviewed the selected billing term and current checkout total.
Frequently asked questions
How much RAM does n8n need?
It depends on the deployment. n8n’s current Docker Compose guide for the Assistant sandbox stack specifies at least 4 GB RAM and 2 vCPUs, while other deployments can differ substantially. Measure the workload and size the complete stack.
Can I run n8n with Docker Compose?
Yes. n8n publishes an official Docker Compose setup. Follow its current documentation rather than relying on an old third-party compose file.
Is n8n preinstalled on these VPS plans?
No. These are VPS infrastructure plans suitable for self-hosting when sized correctly. Install and configure n8n according to its current documentation.
Do I need a GPU for n8n?
No for the automation platform itself. A GPU matters only if another workload on the server specifically requires GPU acceleration.
Running n8n with Docker on your own VPS
If you want to operate the container stack yourself, compare Docker VPS hosting for the broader server, Compose, security and backup responsibilities.