n8n is an automation tool that connects your applications to each other and runs repetitive tasks on its own. In the cloud version, n8n Cloud, the monthly number of workflow executions determines the price, and your workflows run on n8n's servers. The Community edition (the free edition) that you install on your own server asks for no license fee for internal use, and your workflows and credentials stay with you. In this post, you will learn what n8n is, when it makes sense to install it on your own server, its resource needs, its ports, and how it is installed on tten in four steps.
What is n8n?
n8n is a workflow automation platform that connects applications and APIs to each other. It works like Zapier and Make: an event happens, and n8n runs the steps in order. Each step is called a node. You connect the nodes to each other in the visual editor.
The source code is open on GitHub, but n8n does not describe itself as open source. Its license is the Sustainable Use License, which follows the fair-code model (source available, use limited).
What is n8n used for?
A typical example: a workflow that writes an application submitted through a web form into a spreadsheet, sends a chat message to the team, and sends an email to the applicant. n8n builds this without writing code.
Integrations: n8n's integration catalog lists more than 2,000 applications and services (n8n.io, December 2026).
AI agent: The AI Agent node combines a chat model and tools. The agent decides for itself which tool to call.
Triggers: The Webhook node starts the workflow with a webhook from a service (an HTTP request the service sends when an event happens). The Schedule Trigger node starts it at a time you set.
Code: The Code node runs JavaScript or Python inside the workflow.
Templates: n8n's template library has more than 14,000 ready-made workflows (n8n.io, December 2026).
All of it runs on the same server, and resource needs grow as the workflow load grows.
n8n Cloud or your own server?
On n8n Cloud, hosting, updates, and scaling are with n8n, and the monthly number of executions determines the price. On your own server, you are in control. You update the operating system, Docker, and n8n yourself, and you take the backups yourself. Cloud Server runs in Istanbul, and n8n's data stays on your server in Türkiye. The Community edition is free for internal use. SSO (single sign-on), environments, and projects come with the paid Business and Enterprise licenses.
If you have chosen your own server, the next question is resources.
n8n system requirements
n8n's self-hosting documentation does not state a lower limit for CPU and RAM. For installation, it recommends Docker (software that runs applications in packages). On tten, Marketplace installs n8n on Ubuntu 24 with Docker. The minimum size in the catalog is 2 CPU, 4 GB RAM, and 30 GB disk. A server with 4 GB RAM uses about 1.2 GB when idle. Workflows that process large JSON and files fill the memory quickly, so monitor usage in Core Panel. You can increase CPU and RAM later only while the server is off. After the change, the server stays off, and you start it yourself. The disk can only grow.
n8n setup on tten: four steps
To install n8n on tten, you do not log in to the server and write a Docker Compose file. n8n is among the ready-made apps of tten Marketplace, in the Apps tab of the order screen (store). After you choose a package on the Cloud Server page, you follow four steps. The store's screens have their own step counter (such as Step 1 / 4), and the steps in this post are not the same as that counter: the first two steps are done on the store's first screen.
Before you start, have two things ready:
An SSH client (a tool for encrypted connections to a server) on your computer. On macOS and Linux, it is the terminal. On Windows 10 and later, OpenSSH comes ready.
An email address and a new password for the Owner (administrator) account. Make this password different from the server password. You create the account after setup, on n8n's first setup screen.
1. Name the server and save its password

Give your server a name: 2 to 32 characters, starting with a letter and ending with a letter or digit. You can use letters, digits, dots, and hyphens.
In the Server password field, a password generated by the store comes ready. You connect to the server as the root (administrator) user with this password. Copy the password and save it somewhere safe (for example, in your password manager). The tunnel command in step 4 also asks for this password.
CPU, RAM, and disk come with the package's starting values. If you want, increase the server resources. The Backup section comes with “No backup” selected. Backup that keeps backups for 3 or 7 days is an add-on that is not included in the package. n8n's workflows and credentials live on this server. The backup choice cannot be changed after purchase, so make the decision on this screen.
2. Choose n8n from the app list

On the same screen, scroll down to the heading “What should be installed on the server?”. Switch to the Apps tab, type n8n in the search box, and check N8N. This app has no extra settings screen. The server starts with Ubuntu 24, and Docker and n8n are installed automatically during setup. The application, the PostgreSQL database, and nginx, that is, the reverse proxy (the server that forwards requests to n8n), run in three separate Docker containers. Then press the Continue button.
3. Complete the order and restrict SSH access
After the server settings, the store continues with three screens: Account and billing, Card verification, and Setup. You create your account before the payment step, and if you already have one, you log in. If you are starting with the free trial, a 1 TRY verification charge is made to your card when the trial starts, and it is refunded automatically.
You log in to Core Panel (tten's management panel) with your account. The Public IP (the server's address on the internet) appears in Core Panel as soon as setup starts, and this does not mean the installation has finished. The setup message in Core Panel says 10 minutes on average. The setup we measured with 2 CPU, 4 GB RAM, and 30 GB disk took about seven minutes. You know setup has finished when the server shows as “ready” in Core Panel. The setup information in Core Panel shows n8n at the address https://IP, but because 443 comes closed, this address does not open in the browser. You reach n8n through the tunnel in step 4.
When the server is ready, the first thing to do is restrict SSH access. Because the installation runs over 22, do not touch the 22 rule before you see “ready”. The setup automation deletes its own SSH key from the server when its job is done. You log in to the server as the root user with a password, and port 22 comes reachable from the internet. Together, these two leave the server open to password-guessing attacks. In Core Panel, go to Cloud Server > your server > Security and access in the left menu > Firewall (tten firewall), edit the 22 rule, and enter your own IP as its source. You can find your IP by searching “my IP address” in the browser. If your IP changes, update the rule, and open the tunnel from the same network. If you enter the wrong IP, you cannot connect with SSH. In that case, log in to the server from the console in Core Panel and fix the rule.
4. Create the owner account, and open 443 if needed
In this installation, n8n serves over HTTPS on port 443 and redirects requests arriving on 80 to 443. The certificate is a self-signed certificate generated by the installation. 80 and 443 come closed. On the first setup screen, the person who opens the account first becomes the owner and takes control of your workflows and credentials. For this reason, create the owner account through an SSH tunnel, before the panel is opened to the internet.
The tunnel connects port 8443 on your computer to port 443 on the server over an encrypted SSH connection. The command prints no output, so keep the terminal open:
Write the Public IP from Core Panel in place of <public-ip>. The command asks for the server password you saved in step 1. On the first connection, the terminal says it is seeing the server for the first time and asks for confirmation, so type yes. If 8443 is taken on your computer, write 8444 instead of 8443 in the command and in the browser. Then open https://localhost:8443 in your browser. Because the server signed the certificate itself, your browser gives a warning. Since the traffic passes through SSH, you can proceed past the warning at this address. On the first setup screen, enter your details and create the owner account, then turn on two-factor authentication (below).
If you want to reach the panel from outside or receive webhooks, open 443 in Core Panel under Cloud Server > your server > Security and access > Firewall. When 443 is opened, the editor is also exposed to the internet, so turn on two-factor authentication first. Webhook and OAuth connections need a domain name and a valid certificate. For this, see the “n8n SSL” section. If you do not need webhooks, never open 443, and enter the panel through the tunnel.
n8n ports: 443 and 80
n8n's default port is 5678. In this installation, n8n runs behind nginx and 5678 is not opened to the outside: only 22, 80, and 443 listen on the server. The tten firewall brings 80 and 443 closed, and 22 (SSH) comes open. The database (5432) is not open to the outside, and n8n connects to it from the Docker network inside the server. If you need another port, you open it yourself from the Firewall page.
First login to the panel
On the first setup screen, enter your details and your password. The password is at least eight characters and contains at least one digit and one uppercase letter. This is the minimum rule, so generate a long password with your password manager. After logging in, click your name or avatar at the bottom of the left menu, then turn on two-factor authentication (2FA) with Personal settings > Enable 2FA, and store the recovery codes in your password manager. If you lose the recovery codes too, you turn off 2FA on the server with this command:
If email (SMTP) is not configured, n8n cannot send a password reset email. If you forget the password, the only option left is the command that returns user management to its state before the first setup. This command deletes all accounts except the owner and clears the owner's email address, name, and password. Workflows, credentials, and the owner's 2FA setting are kept. In order:
1. As a precaution, export your workflows and credentials. Find the container name with docker ps. The credentials file is plain text, so delete it when you are done:
2. If 443 is open, close it from the Firewall page so that nobody sees the first setup screen.
3. Run the command, then restart the n8n service in the /home/n8n folder (you see the service name with docker compose ps):
4. Open the owner account again through the tunnel, as in step 4 of the setup. If you need 443, open it again afterward.
n8n SSL: domain name and HTTPS
To remove the browser warning and use webhooks with a domain name, point your domain's A record (a DNS record) to the server's Public IP. The setup files are under /home/n8n: docker-compose.yml, .env, and nginx/n8n.conf. The nginx configuration shows the path of the certificate files. Replace the self-signed certificate with a valid certificate for your domain, for example a Let's Encrypt certificate, and restart the nginx container. For Let's Encrypt validation, 80 must be open to the internet, or you use DNS validation. A Let's Encrypt certificate is short-lived: automate renewal and reload nginx after every renewal. You do these tasks yourself.
Finally, add the line N8N_WEBHOOK_URL=https://alan-adiniz/ to the environment section of the n8n service in the compose file (WEBHOOK_URL before n8n 2.35.0), and add N8N_PROXY_HOPS=1 too if it is not there. Then recreate the container with docker compose up -d. Without this setting, n8n cannot tell external services the correct webhook address.
Build your first workflow
If the owner account is open and the domain name is ready, the first workflow is built in a few steps. Open a new workflow in the editor and choose a trigger: Webhook for an event coming from outside, Schedule Trigger for a specific time. Add the nodes that will process the data after it. The Webhook's test address works when you press the Listen for Test Event button. The permanent (production) address and scheduled runs take effect when you publish the workflow. If you expose the webhook to the internet, use the node's Authentication option (Basic, Header, JWT, or n8n User Auth). For a ready-made start, Templates in the editor opens n8n's template library.
When you grow: separating workers with queue mode
A single server is enough to start. When workflows outgrow the server, the next step is to set up queue mode in Virtual Data Center (VDC). This is a new installation, and the IP address and webhook addresses change.
In queue mode, main (the main n8n process) receives the triggers, and workers (additional n8n processes) run the workflows. Redis (a fast data store that holds the queue) keeps the queue, and data is stored in PostgreSQL. In the Community edition, a single main runs and remains a single point of failure. Multi-main (more than one main) requires the Enterprise license. VMs (virtual servers) communicate directly on VDC's isolated network, and you do not open the Redis and PostgreSQL ports to the internet.
Frequently asked questions
What is n8n?
n8n is a platform that automates tasks between applications with workflows you build in a visual editor. It runs on your own server or on n8n Cloud.
Is n8n paid?
The Community edition on your own server is free for internal use, and you pay for the server. n8n Cloud and the Business and Enterprise licenses are paid.
How do I install n8n?
On tten, from Marketplace: name the server and save its password, choose n8n from the app list, and complete the order. When the server is ready, restrict SSH access to your own IP. Then you create the owner account through the SSH tunnel and, if needed, open 443.
Which port does n8n use?
The default port is 5678. On tten, n8n serves from 443 behind nginx and redirects requests on 80 to 443. Both come closed.
How much RAM does n8n need?
In tten Marketplace, the minimum size for n8n is 2 CPU, 4 GB RAM, and 30 GB disk. n8n's documentation does not state a lower limit.
Is n8n secure?
The panel comes closed to the internet at setup, and you open the first account. Before opening 443, turn on 2FA, update n8n regularly, and use authentication on the webhooks you expose to the internet. The setup automation deletes its own SSH key from the server.
How do I update n8n?
n8n recommends at least one update a month. First, take a snapshot from Core Panel (it is kept for 24 hours and does not replace a backup), export your workflows and credentials, and check the breaking changes in the release notes. Then update only the n8n service in the /home/n8n folder: docker compose pull <n8n-servisi> and docker compose up -d. You see the service name with docker compose ps. The n8n image comes without a pinned version, and pull fetches the latest version. Ubuntu updates are also yours.
Can I host n8n in Türkiye?
On tten, Cloud Server runs in Istanbul. Your workflows, credentials, and execution logs stay on your server in Türkiye. Data you send to external services goes to those services. By default, n8n sends anonymous usage data to n8n and receives new version notifications. You turn off usage data with N8N_DIAGNOSTICS_ENABLED=false and version notifications with N8N_VERSION_NOTIFICATIONS_ENABLED=false.
Conclusion
If the n8n Cloud bill and data sovereignty have brought you to your own server, the path is short: n8n installs on tten from Marketplace in four steps. You open the owner account through the tunnel, and you open 443 yourself if needed. When you grow, you move your workflows to the queue mode setup in VDC.
Sources
n8n. Install with Docker. https://docs.n8n.io/deploy/host-n8n/install-options/install-with-docker (accessed 2026-12-02)
n8n. Use Docker Compose. https://docs.n8n.io/deploy/host-n8n/install-options/use-a-cloud-provider/use-docker-compose (accessed 2026-10-22)
n8n. Host n8n. https://docs.n8n.io/deploy/host-n8n (accessed 2026-10-22)
n8n. User management. https://docs.n8n.io/deploy/host-n8n/configure-n8n/user-management (accessed 2026-12-02)
n8n. Require two-factor auth. https://docs.n8n.io/administer/manage-users-and-access/verify-user-identity/require-two-factor-auth (accessed 2026-12-02)
n8n. Use the command line. https://docs.n8n.io/deploy/host-n8n/configure-n8n/use-the-command-line (accessed 2026-12-02)
n8n. Update n8n. https://docs.n8n.io/deploy/host-n8n/keep-n8n-running/update-n8n (accessed 2026-10-22)
n8n. Configure webhook URLs with reverse proxy. https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/configuration-examples/configure-webhook-urls-with-reverse-proxy (accessed 2026-10-22)
n8n. Enable queue mode. https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/enable-queue-mode (accessed 2026-10-22)
n8n. Compare editions. https://docs.n8n.io/deploy/host-n8n/community-edition-features (accessed 2026-10-22)
n8n. Choose how to use n8n. https://docs.n8n.io/choose-how-to-use-n8n (accessed 2026-10-22)
n8n. Community license. https://docs.n8n.io/n8n-community-license/community-license (accessed 2026-10-22)
n8n. License FAQ. https://docs.n8n.io/n8n-community-license/community-license/license-faq (accessed 2026-10-22)
n8n. Sustainable Use License. https://github.com/n8n-io/n8n/blob/master/LICENSE.md (accessed 2026-10-22)
n8n. n8n-io/n8n. https://github.com/n8n-io/n8n (accessed 2026-12-02)
n8n. Pricing. https://n8n.io/pricing/ (accessed 2026-10-22)
n8n. AI Agent. https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent (accessed 2026-10-22)
n8n. Webhook. https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook (accessed 2026-12-02, Authentication options)
n8n. Schedule Trigger. https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger (accessed 2026-10-22)
n8n. Code. https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code (accessed 2026-10-22)
n8n. Integrations. https://n8n.io/integrations/ (accessed 2026-12-02, “2,000+ integrations”, 2,900 in the list)
n8n. Deployment environment variables. https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/deployment (accessed 2026-12-02,
N8N_DIAGNOSTICS_ENABLED,N8N_VERSION_NOTIFICATIONS_ENABLED,N8N_PROXY_HOPS)n8n. Endpoints environment variables. https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/endpoints (accessed 2026-12-02,
N8N_WEBHOOK_URL,WEBHOOK_URL2.35.0)n8n. Workflow templates. https://n8n.io/workflows/ (accessed 2026-12-02, template count)

Written by
Emre
Göktepe
Tags
On this page
Set up n8n on your own server
Try tten for free.
Related posts
You are in full control
Build your infrastructure today
Get started in minutes and take your project live. No commitment.




