To self-host n8n, run the official n8nio/n8n Docker image with Postgres as its database, a fixed N8N_ENCRYPTION_KEY and N8N_WEBHOOK_URL set to the public address of the instance. On Modelence that takes a one-line Dockerfile and a modelence.config.json, and npx modelence@latest deploy builds the image and runs it as a managed container on AWS, in the region you pick out of 17, with managed MongoDB, Postgres and Redis next to it.
The main difference from a VPS with Docker Compose is that containers on Modelence have no persistent disk, while the usual setup keeps a SQLite file and the encryption key in a volume at /home/node/.n8n. This guide moves everything n8n would write there into Postgres and environment variables, so redeploys and upgrades keep your workflows, credentials and execution history. The single-instance setup below was tested by running n8n 2.49.8 against Postgres 17 with the same variables. If you only want to try n8n for an afternoon, n8n Cloud or a local docker run is quicker, and the comparison below covers when each fits.
n8n on Modelence at a glance
- Image
- The official n8nio/n8n image, pinned to an exact version in a one-line Dockerfile
- Database
- Managed Postgres holds workflows, credentials, executions and files, backed up at least every six hours
- Encryption key
- N8N_ENCRYPTION_KEY is a secret set once per environment, so saved credentials survive every redeploy
- Webhook URLs
- N8N_WEBHOOK_URL and N8N_EDITOR_BASE_URL point at your domain, with N8N_PROXY_HOPS=1 behind the load balancer
- Health check
- /healthz/readiness answers 200 only once n8n has connected to Postgres and run its migrations
- Scaling
- Queue mode with managed Redis and worker services built from the same image
- Regions
- 17 AWS regions, with n8n, Postgres and Redis in the same one
Before you start
- Docker on your machine, if you want to run the image locally before you deploy it
- Node.js on your machine, to run the deploy command with
npx opensslor a password manager, to generate a random encryption key- A Modelence account, which you can create for free. Managed Postgres needs a paid plan, from $20 a month with that amount included as usage
- Optionally, Claude Code, Cursor or Codex, if you'd rather have your coding agent write the files and run the deploy
Pin the n8n image in a Dockerfile
n8n publishes its official image on Docker Hub as n8nio/n8n, which is the registry its Docker docs use. Create a directory for the instance and add a Dockerfile with a single line that pins an exact version. The tag is how you upgrade later, and with latest any deploy could pull a new release and run its database migrations without you choosing to.
n8n's Community edition is free to self-host under the Sustainable Use License, which covers use for your own internal business purposes, and the license FAQ explains what it doesn't allow. Version 2.49.8 was the current stable release when this guide was tested, and the release notes list newer ones. The image runs as the node user, starts n8n under tini and listens on port 5678. The same image is published as ghcr.io/n8n-io/n8n, so if image pulls from Docker Hub hit its rate limit, change the line to FROM ghcr.io/n8n-io/n8n:2.49.8.
FROM n8nio/n8n:2.49.8Generate a fixed encryption key
n8n encrypts every saved credential, such as API keys and OAuth tokens, with one key. When N8N_ENCRYPTION_KEY isn't set, n8n generates a random key on its first start and writes it to /home/node/.n8n/config. A container without a persistent disk loses that file on the next deploy, n8n generates a different key, and every credential saved before then is unreadable. n8n 2.49.8 goes further and refuses to start against a database written with another key, logging Deployment key 'signing.hmac' cannot be read with this instance encryption key, so the deploy never becomes healthy.
Generate a key once and keep it in your password manager next to your other production secrets. You paste it into the deploy later, and every n8n process that shares the database needs the same value, including workers if you add them.
openssl rand -hex 32Run it locally
Build the image and start it with the key to check that it runs before you deploy. Without any database variables, n8n uses a SQLite file inside the container, which is fine for a quick look and gone when the container stops. Open http://localhost:5678 and n8n shows the form that creates the owner account, the first user of the instance.
GET /healthz answers {"status":"ok"} as soon as the HTTP server is up, and GET /healthz/readiness answers 200 only once n8n has connected to its database and run its migrations, which is what the deployed service checks.
docker build -t my-n8n .
docker run --rm -p 5678:5678 -e N8N_ENCRYPTION_KEY=<your key> my-n8n
curl http://localhost:5678/healthz/readinessAdd a database
- MongoDB
MONGODB_URI - Postgres
DATABASE_URL - Redis
REDIS_URL
n8n keeps its workflows, credentials, users and execution history in a database. It supports SQLite and Postgres, and SQLite is a file under /home/node/.n8n, which a redeploy wipes on Modelence. Postgres is also what n8n recommends for production and the only database that works with queue mode. The config in the next step creates a managed Postgres called n8n-db in the same region as n8n, and n8n runs its schema migrations against it every time it starts, so an empty database is all it needs.
n8n doesn't read a single connection URL. It takes the host, port, database name, user and password in separate DB_POSTGRESDB_* variables, so the config ties each one to the matching output of n8n-db instead of the url output other stacks use. Connections to managed Postgres use TLS, so DB_POSTGRESDB_SSL_ENABLED is true. DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED=false encrypts the connection without checking the server certificate against a CA, the same behavior as sslmode=require in the database's URL. To verify the certificate too, put the CA certificate in DB_POSTGRESDB_SSL_CA and drop that line.
Files that workflows read or produce, such as a PDF from an HTTP request or an email attachment, are binary data in n8n. By default n8n writes them to the container's disk, so N8N_DEFAULT_BINARY_DATA_MODE=database stores them in Postgres instead, and a run that waits or fails can be resumed or inspected after a redeploy.
Managed Redis comes into play when you split executions out into workers with queue mode, described under production readiness. Managed MongoDB, Postgres and Redis can also be data sources for workflows: add a database resource, tie its outputs to variables, and enter the values in n8n's MongoDB, Postgres or Redis credentials. A mongodb resource passes its connection string as MONGODB_URI.
{
"resources": {
// "n8n": the service from the next step
"n8n-db": { "type": "postgres", "plan": "postgres-1gb" }
},
"env": {
"DB_TYPE": { "value": "postgresdb" },
"DB_POSTGRESDB_HOST": { "type": "resource", "resource": "n8n-db", "output": "host" },
"DB_POSTGRESDB_PORT": { "type": "resource", "resource": "n8n-db", "output": "port" },
"DB_POSTGRESDB_DATABASE": { "type": "resource", "resource": "n8n-db", "output": "database" },
"DB_POSTGRESDB_USER": { "type": "resource", "resource": "n8n-db", "output": "user" },
"DB_POSTGRESDB_PASSWORD": { "type": "resource", "resource": "n8n-db", "output": "password" },
"DB_POSTGRESDB_SSL_ENABLED": { "value": "true" },
"DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED": { "value": "false" }
}
}Describe n8n in modelence.config.json
Add modelence.config.json next to the Dockerfile. It declares n8n as a service built from the Dockerfile, the Postgres database and every variable n8n reads, so the same file works for the sandbox and production environments. Commit both files to a repository, which is also where your n8n version history now lives:
{
"$schema": "https://cloud.modelence.com/schema/modelence.config.json?version=1",
"resources": {
"n8n": {
"type": "service",
"dockerfile": "Dockerfile",
"ports": [5678],
"healthCheck": { "type": "http", "path": "/healthz/readiness", "gracePeriod": 180 },
"rollout": "recreate",
"stopTimeout": 60
},
"n8n-db": { "type": "postgres", "plan": "postgres-1gb" }
},
"env": {
"DB_TYPE": { "value": "postgresdb" },
"DB_POSTGRESDB_HOST": { "type": "resource", "resource": "n8n-db", "output": "host" },
"DB_POSTGRESDB_PORT": { "type": "resource", "resource": "n8n-db", "output": "port" },
"DB_POSTGRESDB_DATABASE": { "type": "resource", "resource": "n8n-db", "output": "database" },
"DB_POSTGRESDB_USER": { "type": "resource", "resource": "n8n-db", "output": "user" },
"DB_POSTGRESDB_PASSWORD": { "type": "resource", "resource": "n8n-db", "output": "password" },
"DB_POSTGRESDB_SSL_ENABLED": { "value": "true" },
"DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED": { "value": "false" },
"N8N_ENCRYPTION_KEY": { "type": "secret" },
"N8N_EDITOR_BASE_URL": {},
"N8N_WEBHOOK_URL": {},
"N8N_PROXY_HOPS": { "value": "1" },
"GENERIC_TIMEZONE": { "value": "America/New_York" },
"TZ": { "value": "America/New_York" },
"N8N_DEFAULT_BINARY_DATA_MODE": { "value": "database" },
"N8N_GRACEFUL_SHUTDOWN_TIMEOUT": { "value": "45" }
}
}Adjust the config for your instance
N8N_EDITOR_BASE_URLandN8N_WEBHOOK_URLhave no value in the file, so the deploy asks for them and each environment keeps its own. Set both to the full public URL with a trailing slash: the environment's address,https://<app>-<environment>.cloud.modelence.app/, or your own domain, such ashttps://n8n.example.com/. n8n uses the first for links in emails and OAuth callbacks and the second for every webhook and form URL. WithoutN8N_WEBHOOK_URL, n8n builds webhook URLs fromN8N_PROTOCOL,N8N_HOSTandN8N_PORT, which default tohttp,localhostand 5678, and the editor showshttp://localhost:5678/webhook/.... With both URLs set, n8n doesn't need those three, so the config leaves them out.- Modelence ends HTTPS at its load balancer and forwards requests to port 5678.
N8N_PROXY_HOPS=1tells n8n to trust the forwarded headers from that one proxy, so it sees the client's IP address and the original protocol. portslists 5678 because n8n listens there and readsN8N_PORT, not thePORTvariable Modelence sets.GENERIC_TIMEZONEis the time zone Schedule Trigger nodes and date functions use, andTZsets the same zone for the process. Both default toAmerica/New_Yorkin n8n, so change them to yours."rollout": "recreate"stops the old container before the new one starts. n8n runs schedules and polling triggers in its main process, so two versions running side by side during a deploy could fire the same trigger twice, and the old one would keep running against a schema the new one has just migrated. The cost is a short gap during each deploy, and webhook calls in that gap fail, so senders that retry are the safe kind to point at n8n.- The health check calls
/healthz/readiness, which answers 200 once n8n is connected to Postgres and migrated. n8n opens its HTTP server before it migrates the database, so this check, unlike/healthz, keeps traffic away until the schema is ready.gracePeriodgives it 180 seconds, because a first start runs a few hundred migrations and an upgrade across several versions can take a while too. - Keep the service at one container. More than one main n8n process on the same database needs n8n's multi-main mode, which is part of its Enterprise license, so add capacity with queue mode workers instead.
- To add other settings from n8n's environment variable reference, such as
N8N_SMTP_HOSTfor invitation emails orEXECUTIONS_DATA_MAX_AGEfor pruning, add them toenvwith avalue, or as"type": "secret"for passwords.
Deploy
Run the deploy command in the directory with the two files:
npx modelence@latest deploy
It opens the browser, where you sign in and pick or create the organization, app and environment. Then it asks for the variables the environment doesn't have yet: paste the key you generated into N8N_ENCRYPTION_KEY and enter the two URL variables. The first deploy of an environment also asks for its AWS region, and the container and the database are created there. After that the CLI uploads the files, builds the image and follows the rollout until the readiness check passes.
Open the environment's URL straight away and create the owner account, since whoever reaches the setup form first becomes the owner. To serve n8n on your own domain, add it in the dashboard under Domains and update the two URL variables to match. The key stays viewable in the dashboard under Environment variables, and every view is logged.
Let your coding agent do it
Paste Deploy using https://modelence.com/skill.md into Claude Code, Cursor or Codex in the directory. The agent reads the Modelence docs, writes the Dockerfile and modelence.config.json, and runs the deploy, and it stops to ask you for the encryption key, the URLs and anything else that needs your account.
Production readiness
Keep the encryption key with your backups
Production Postgres on Modelence is backed up at least every six hours and kept for up to 12 months, and you restore a backup through [email protected]. The credentials in a backup are encrypted with N8N_ENCRYPTION_KEY, so a restore is only useful with the same key, and the key belongs wherever you keep your recovery notes.
For a copy you control, n8n's CLI exports workflows as JSON, and the files work well in a Git repository. Run it from an n8n process that has the same variables, such as a local container pointed at a copy of the database:
n8n export:workflow --all --output=backups/ --separate
Keep files out of the container disk
N8N_DEFAULT_BINARY_DATA_MODE=database stores the files workflows handle in Postgres, up to N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE, 512 MiB by default. With the filesystem mode a VPS setup uses, the files land on the container disk and are gone after the next deploy. Storing them in S3 instead is an n8n external storage feature that needs a Business or Enterprise license, and n8n refuses to start in s3 mode without one. For workflows that move many large files, write them to your own bucket with the S3 node and pass references between steps, and turn on execution pruning so old runs don't fill the database.
Install community nodes in the image
Community nodes installed from Settings > Community Nodes go to /home/node/.n8n/nodes on the container disk, so they're gone after the next deploy. Install them in the Dockerfile instead, pinned to exact versions, so every build has the same set:
FROM n8nio/n8n:2.49.8
RUN mkdir -p /home/node/.n8n/nodes \
&& cd /home/node/.n8n/nodes \
&& npm install --omit=dev [email protected]
n8n loads packages from that directory when it starts, which is also how n8n's docs install nodes for queue mode. We tested this layout with [email protected], which n8n listed among its nodes after a restart and dropped again when started with an empty folder. The Dockerfile route also covers nodes n8n hasn't verified, and in queue mode workers get the same nodes because they're built from the same image. Only install packages you've reviewed, since a node runs with the same access as n8n itself.
Let executions finish on shutdown
When a container stops during a deploy, n8n gets SIGTERM, stops its scheduler and waits for running executions for up to N8N_GRACEFUL_SHUTDOWN_TIMEOUT seconds, 30 by default. Modelence sends SIGKILL when the service's stopTimeout runs out, so the config sets 45 seconds for n8n and 60 for stopTimeout, which leaves time to close database connections after the last execution ends.
We tested this with a webhook workflow that waits 20 seconds. With nothing running, n8n exited 0.4 seconds after SIGTERM. With one execution in progress, it exited after 21.6 seconds and the caller got its response. n8n also kept answering requests and started a second execution for a webhook call that arrived after the signal, which fits the few seconds in which a stopping container can still receive traffic. With the timeout lowered to 8 seconds, n8n gave up after about 10, the caller's connection dropped, and the next start marked the execution as crashed.
For workflows that run longer, raise both values, keeping stopTimeout above n8n's timeout and at most 120 seconds. Wait nodes longer than about a minute save the execution to the database instead of holding it in memory, so a restart doesn't cut them off.
Upgrade by changing the image tag
To upgrade, change the version in FROM, read the release notes for breaking changes between your version and the new one, and deploy. n8n runs any new migrations when it starts, and the readiness check holds traffic until they finish. Deploy to the sandbox environment first if it has a copy of your workflows.
Moving the tag back doesn't undo migrations, so a rollback across a schema change means running n8n db:revert or restoring the backup taken before the upgrade. The coming n8n 3.0 changes the database in a way that can't be reversed, and n8n asks you to check Settings > Migration Report on 2.x before you move to it.
Scale with queue mode and workers
One n8n container runs the editor, the webhooks and every execution. When executions slow the editor down, queue mode moves them to worker containers: the main process puts each execution on a Redis queue and workers pick them up. Queue mode is part of n8n's free Community edition. Add a Redis resource and a worker service built from the same Dockerfile, and give both services the queue variables:
{
"resources": {
// "n8n" and "n8n-db" as above
"n8n-worker": {
"type": "service",
"dockerfile": "Dockerfile",
"start": { "commands": ["exec tini -- /docker-entrypoint.sh worker"] },
"ports": [5678],
"healthCheck": { "type": "http", "path": "/healthz/readiness" },
"rollout": "recreate",
"stopTimeout": 60
},
"n8n-queue": { "type": "redis" }
},
"env": {
// the variables above, plus:
"EXECUTIONS_MODE": { "value": "queue" },
"QUEUE_BULL_REDIS_HOST": { "type": "resource", "resource": "n8n-queue", "output": "host" },
"QUEUE_BULL_REDIS_PORT": { "type": "resource", "resource": "n8n-queue", "output": "port" },
"QUEUE_BULL_REDIS_PASSWORD": { "type": "resource", "resource": "n8n-queue", "output": "password" },
"QUEUE_BULL_REDIS_TLS": { "value": "true" },
"QUEUE_HEALTH_CHECK_ACTIVE": { "value": "true" }
}
}
Every service receives every variable in env, so the worker shares the Postgres settings and the encryption key with the main process. start replaces the image's command and runs n8n worker through the same entrypoint, and QUEUE_HEALTH_CHECK_ACTIVE makes each worker serve /healthz and /healthz/readiness on port 5678, so its check passes once the worker has connected to Postgres and Redis. Scale workers under Configure, each running up to 10 executions at once by default, and keep the main service at one container.
Run Code nodes in external task runners
Code nodes run in a task runner. The n8n image starts a JavaScript runner as a child process in the same container, which n8n calls internal mode, doesn't recommend for production and deprecates from n8n 3.0. In our test the Python runner didn't start in internal mode at all, and n8n's docs point Python Code nodes to external mode. External mode runs the n8nio/runners image, at the same version as n8n, as a separate process that connects to n8n's task broker on port 5679, so code written in a workflow runs apart from n8n itself.
On Modelence that would be a second service built from a Dockerfile with FROM n8nio/runners:2.49.8, with 5679 added to the n8n service's ports, N8N_RUNNERS_MODE=external and N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0 for n8n, a shared N8N_RUNNERS_AUTH_TOKEN secret, and N8N_RUNNERS_TASK_BROKER_URI on the runner set to the n8n service's private address. This guide didn't test that layout, so check each setting against n8n's task runner guide before you rely on it. In queue mode each worker needs a runner of its own.
Watch logs and metrics
n8n's log output shows on the environment's Logs page with no setup. N8N_LOG_LEVEL=debug adds detail while you track down a problem, and N8N_LOG_FORMAT=json writes one JSON object per line, which is easier to search. Failed executions also show in n8n under Executions, and an Error Trigger workflow can post them to Slack or email.
N8N_METRICS=true turns on a Prometheus endpoint at /metrics with queue, workflow and process metrics. The dashboard already shows the container's CPU and memory, and n8n's own memory use grows with the size of the data a workflow holds at once. In our test the main n8n process used about 700 MB of memory once it was running, plus about 150 MB for the internal task runner, so start on a size with 2 GB, such as Small Plus, and adjust once you see real workflows run.
Modelence vs n8n Cloud, Railway and a VPS for n8n
People who self-host n8n usually compare n8n's own Cloud plans, a Railway or Render template, and a VPS running Docker Compose. Prices and limits below come from each provider's pricing page and n8n docs, checked on November 28, 2026.
| Option | How n8n runs | Data and upgrades | Price |
|---|---|---|---|
| Modelence | The official image from your Dockerfile, on AWS Fargate in 17 regions | Managed Postgres backed up at least every six hours; you upgrade by changing the image tag | Free plan; paid plans from $20 a month including $20 of usage, and managed Postgres needs a paid plan |
| n8n Cloud | Hosted and upgraded by n8n | Starter and Pro run on SQLite, and unverified community nodes aren't available | Starter €20 and Pro €50 a month billed annually, for 2,500 and 10,000 executions a month |
| Railway | The n8nio/n8n image from a template, with Postgres | A volume at /home/node/.n8n keeps local files between deploys | Hobby $5 and Pro $20 a month including that much usage, then CPU and memory by use |
| Render | A web service and a worker in queue mode, from Render's own guide | Render Postgres and Key Value, plus a disk for binary data | Hobby $0 or Pro $25 a month per workspace, plus instances from $7 a month |
| VPS with Docker Compose | The official image on a server you manage, such as Hetzner Cloud | Volumes on the server, with backups, TLS and upgrades handled by you | Hetzner servers from €5.49 a month before VAT |
n8n Cloud fits a team that wants n8n without running anything and whose volume fits the execution counts, and a VPS is the cheapest way to run one instance if you're comfortable patching a server and testing your own backups. Railway and Render templates get n8n running in a few minutes and keep files on a volume, which makes filesystem binary data and UI-installed community nodes simple. Modelence fits when n8n should run on AWS next to managed MongoDB, Postgres and Redis with backups you don't script, and when its versions and settings should live in a repository. Railway alternatives and Railway vs Render compare those platforms more broadly, and Migrate from Railway covers moving an existing instance.
Next steps
- Dockerfile servicesHow a service built from a Dockerfile runs, and how build variables reach it
- Multiple servicesAdd the queue mode worker or a task runner as its own service
- modelence.config.json referenceHealth checks, rollout, stopTimeout and every database output
- BackupsHow often Postgres is backed up and how restores work
- n8n environment variablesn8n's own reference for every setting the config can pass
Frequently asked questions
How do I self-host n8n?
Run the official n8nio/n8n Docker image behind HTTPS with Postgres as its database, a fixed N8N_ENCRYPTION_KEY and N8N_WEBHOOK_URL set to its public URL. On Modelence that's a one-line Dockerfile, a modelence.config.json that adds managed Postgres, and npx modelence@latest deploy. On a VPS it's Docker Compose with a volume and a reverse proxy for TLS, and you take care of backups and server updates yourself.
Is n8n free to self-host?
Yes, n8n's Community edition is free to self-host under its Sustainable Use License, which allows use for your own internal business purposes and for personal or non-commercial use. It doesn't allow offering n8n to others as a service, such as letting clients build workflows on an instance you host, so read the license and its FAQ on docs.n8n.io for your situation. You still pay for hosting, and features such as SSO, environments and external secrets need n8n's paid Business or Enterprise plans.
Why do my n8n credentials stop working after a redeploy?
Because the encryption key changed. Without N8N_ENCRYPTION_KEY, n8n generates a random key on first start and saves it in /home/node/.n8n/config, and a container without a persistent disk loses that file. Older n8n versions then start but report "Credentials could not be decrypted", and n8n 2.49.8 refuses to start against the existing database. Set N8N_ENCRYPTION_KEY to the original key as a secret and keep a copy of it, because credentials saved with a lost key can't be recovered.
Why does my n8n webhook URL show localhost?
Because N8N_WEBHOOK_URL isn't set, so n8n builds the URL from N8N_PROTOCOL, N8N_HOST and N8N_PORT, which default to http, localhost and 5678. Set N8N_WEBHOOK_URL to the public URL with a trailing slash, such as https://n8n.example.com/, and N8N_EDITOR_BASE_URL to the same address for OAuth callbacks and email links. Behind a load balancer or reverse proxy, also set N8N_PROXY_HOPS=1, then turn active workflows off and on so triggers register the new URL with the services that call them.
Can I run n8n without a persistent volume?
Yes, as long as the database is Postgres, the encryption key comes from N8N_ENCRYPTION_KEY, binary data is stored in the database and community nodes are installed in the image. We started n8n with an empty /home/node/.n8n folder against an existing database and the same key, and the owner login, saved credentials and an active webhook workflow all worked. What n8n still writes to that folder, such as event logs and a crash journal, is recreated on each start.
Should I use SQLite or Postgres for n8n?
Use Postgres for production. n8n's docs describe SQLite as fine for testing and small setups, don't recommend it for multi-user production and don't support it in queue mode. On a platform without persistent disks, such as Modelence, the SQLite file would also be lost on every deploy, so Postgres is the only option there.
How do I update self-hosted n8n?
Change the version in the image tag and redeploy, and n8n runs any new database migrations when it starts. Read the release notes between your version and the new one first, and make sure a recent backup exists, because moving the tag back doesn't undo migrations. Before the coming n8n 3.0, check Settings > Migration Report on 2.x, since that upgrade changes the database in a way that can't be reversed.
How do I install community nodes on self-hosted n8n?
Install them in your Dockerfile with npm, pinned to exact versions, in /home/node/.n8n/nodes, and n8n loads them when it starts. Nodes installed from Settings > Community Nodes are written to the container's disk, so they disappear on the next deploy of a container without a volume. For example, add RUN mkdir -p /home/node/.n8n/nodes && cd /home/node/.n8n/nodes && npm install --omit=dev [email protected] after FROM n8nio/n8n:2.49.8.
How do I scale n8n with workers?
Turn on queue mode with EXECUTIONS_MODE=queue and a Redis instance, then run extra containers from the same image with the command n8n worker. The main process puts executions on the Redis queue and the workers run them, each up to 10 at a time by default. Queue mode is part of the free Community edition, while running more than one main process needs multi-main mode from n8n's Enterprise license.
How much does it cost to host n8n on Modelence?
Modelence has a free plan, but n8n needs managed Postgres, which is on paid plans from $20 a month with $20 of usage included. Usage covers the container, billed by the hour by size, and the database. In our test n8n used about 850 MB of memory with its task runner, so a 2 GB size such as Small Plus, about $29 a month, is a reasonable start, and the pricing page lists every size.