# Free n8n on Oracle Cloud: Full Setup Guide

> Run n8n for free on Oracle Cloud with Postgres and SSL, add free OpenRouter AI models, and host a local model on the same server. Step-by-step guide.

By Jonathan Ben Haim. Updated 2026-11-29. Source: https://jonathanai.io/blog/free-n8n-hosting-oracle-cloud

Most automation tools charge more as you use them. I wanted [a server I controlled](/blog/turn-old-pc-home-server-local-ai), with no cap on workflows and AI calls that did not grow my bill. This guide shows how I set that up on Oracle Cloud's free tier, step by step.

**In short:** You can run n8n at $0 on Oracle Cloud's Always Free tier, with Postgres and automatic SSL from Caddy. Oracle quietly lowered the free Ampere A1 quota to 2 OCPU and 12GB RAM for [Free Tier accounts](/blog/free-app-stack-build-full-app) in June-July 2026. OpenRouter offers free AI models, and a one-time $10 top-up raises its daily limit from 50 to 1,000 requests.

## Key takeaways

- Oracle lowered the Always Free Ampere A1 quota for Free Tier accounts from 4 OCPU and 24GB RAM to 2 OCPU and 12GB RAM.
- Pay-As-You-Go accounts reportedly keep the 4 OCPU and 24GB quota, and PAYG removes the "Out of capacity" error.
- [OpenRouter free models](/blog/free-openrouter-alternative-github-repos) allow 20 requests per minute and 50 requests per day, rising to 1,000 per day after a one-time $10 top-up.
- Choose your Home Region carefully, because you cannot change it later.
- Oracle blocks traffic in two layers, the cloud Security List and iptables inside the instance. Open ports 80 and 443 in both.
- Use Postgres instead of SQLite, because SQLite starts to struggle after a few thousand executions.

## How much do Zapier, Make, and n8n Cloud cost per year?

Zapier (Professional) costs about $240 or more per year, Make (Core) about $120 or more, and [n8n Cloud](/blog/install-n8n-on-hetzner) (Starter) about $290. The n8n setup on Oracle Free Tier costs $0.

Unlike the services above, this setup has no "operations" or "tasks" limit. I could run 50,000 workflows in a month and the cost would still be $0. The server is mine, the data is mine, and the rules are mine.

| Option | Yearly cost |
|---|---|
| Zapier (Professional) | ~$240+ |
| Make (Core) | ~$120+ |
| n8n Cloud (Starter) | ~$290 |
| n8n on Oracle Free Tier | $0 |

## What does Oracle Cloud give you for free?

Oracle's Always Free tier includes a compute instance, block storage, a public IP, and outbound traffic. Until June 2026, the free Ampere A1 quota was 4 OCPU and 24GB RAM, which Oracle's own pricing equals to a server of about $100 per month. In June-July 2026, Oracle quietly reduced that quota without an official announcement.

- Old quota: 4 OCPU + 24GB RAM
- Current quota: 2 OCPU + 12GB RAM for Free Tier accounts

A few details matter here:

- **Enforcement is inconsistent.** Many people still run 4 OCPU and 24GB on a $0 account. I would not build on that.
- **Pay-As-You-Go accounts were probably not affected.** Reports say that accounts upgraded to PAYG (which still pay nothing while they stay within Always Free limits) keep 4 OCPU and 24GB. This also fixes the "out of capacity" problem, which I cover below.
- **Over-limit Free accounts get shut down.** If a Free account goes over the limit, the instance turns off until you shrink it to the new size.

### Is 12GB RAM enough for n8n?

Yes, for most setups. 2 OCPU and 12GB is still a lot for n8n. It is more than you get from most other [free clouds](/blog/cloudflare-free-tier-ai-projects). Google offers a machine with 1GB RAM, and Amazon stops free use after one year. n8n, Postgres, and Caddy together use about 1.5 to 2GB, which leaves plenty of room.

### What else is included in Always Free?

These parts did not change:

- 200GB Block Volume storage
- A permanent public IP
- 10TB of outbound traffic per month
- 2 tiny AMD machines with 1GB RAM each, which we will not use here
- Everything, with no expiration date

### The pro move: upgrade to PAYG

It sounds scary, but this is the smartest step you can take.

- A PAYG account still pays nothing for Always Free resources.
- It gets priority in machine allocation, and the well-known "Out of capacity" error goes away.
- Current reports say it keeps the 4 OCPU and 24GB quota.

PAYG has no safety net. If you accidentally create a paid resource, you will be charged. To guard against that, set a Budget Alert at $1 in the console under Billing → Budgets. You will get an email as soon as anything starts to cost money. That is how I sleep at night.

## How do you open an Oracle Cloud account?

Sign up at oracle.com/cloud/free, add a credit card for identity verification, choose your Home Region carefully, and wait a few minutes for the console to open. Your Home Region cannot be changed later, and Free resources only live in that region.

1. Sign up at [oracle.com/cloud/free](https://oracle.com/cloud/free).
2. Add a credit card. It is used only for identity verification, and you are not charged while you stay on Free. Oracle runs a $1 verification charge that is reversed. Virtual and prepaid cards are often rejected.
3. Choose your Home Region. This is the most important decision you will make.
   - Busy regions (US, London, Amsterdam) often struggle with "Out of capacity" errors for ARM machines.
   - Frankfurt (eu-frankfurt-1) usually allocates machines within minutes, and it has excellent latency to Europe.
   - There is also a region in Jerusalem (il-jerusalem-1). It has the lowest latency to the Middle East, but free ARM capacity there changes over time.
4. After your account is approved, wait a few minutes for the console to open.

## How do you handle the "Out of capacity" error?

Try another Availability Domain, retry every few hours, or upgrade to PAYG. Retrying usually works within a day or two, and PAYG removes the error right away.

This error is the number one reason people give up. Free machines are allocated based on availability, and busy regions often have none left. Your options are:

- Try another Availability Domain, if your region has more than one.
- Retry every few hours. It usually works within a day or two.
- Upgrade to PAYG. The error disappears immediately. This is the real fix.

## How do you create the Oracle Cloud instance?

Create an ARM instance with Ubuntu 24.04 (or 22.04), choose VM.Standard.A1.Flex, download the private SSH key, and wait for the status to show Running. Then copy the Public IP and connect over SSH.

1. In the console, go to **Compute → Instances → Create Instance**.
2. For **Image**, choose Ubuntu 24.04 (or 22.04). The important part is the **aarch64/ARM** version.
3. For **Shape**, click **Change Shape**, choose **Ampere**, and select **VM.Standard.A1.Flex**.
   - Free account: 2 OCPU / 12GB (the new quota)
   - PAYG account: you can try 4 OCPU / 24GB
4. For **Networking**, keep the default setting, which creates a new VCN. Make sure **Assign a public IPv4 address** is checked.
5. For **SSH Keys**, choose **Generate** and **download the private key**. You cannot log in without it, so store it somewhere safe.
6. For **Boot Volume**, you can increase the size from 47GB up to about 150GB, within the 200GB limit. I recommend 100GB if you also plan to [run a local model](/blog/ollama-vs-lm-studio).
7. Click **Create**, wait for the status to show **Running**, and copy the **Public IP**.

Connect with:

```
chmod 600 ~/Downloads/ssh-key.key
ssh -i ~/Downloads/ssh-key.key ubuntu@YOUR_PUBLIC_IP
```

## How do you open ports 80 and 443 on Oracle Cloud?

Open ports 80 and 443 in the Security List, then open them again in iptables on the instance. Oracle blocks everything by default, and it uses two separate layers, so you need to open both.

### Layer 1: the Security List in the cloud

Go to **Networking → Virtual Cloud Networks**, open your VCN, then open the subnet's Security List and click **Add Ingress Rules**. Add these rules:

| IP range (CIDR) | Protocol | Port |
|---|---|---|
| 0.0.0.0/0 | TCP | 80 |
| 0.0.0.0/0 | TCP | 443 |

Port 22 for SSH is already open by default.

### Layer 2: iptables inside the instance

Oracle's Ubuntu image includes built-in iptables rules that block traffic. Run these commands on the server:

```
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --
