Deploy n8n on Oracle Cloud's free tier
Self-host n8n and run unlimited workflow executions instead of paying per run.
At a glance
| Base image | n8nio/n8n:latest |
|---|---|
| Port | 5678 |
| Start command | n8n start |
| Infrastructure cost | $0 on Oracle Always Free (platform fee for managed DevOps) |
Running n8n on Ampere ARM
n8n publishes ARM64 images. Workflow execution is bursty, so the 4 OCPU / 24 GB Ampere allowance is generous — but pin memory limits if you run heavy data nodes.
Steps
- Attach a domain first. Webhook nodes need a stable public HTTPS URL, set via WEBHOOK_URL.
- Turn on authentication. An open n8n instance is a remote code execution endpoint. Enable basic auth or SSO before exposing it.
- Back up the .n8n volume. Credentials and workflows live there; include it in your nightly backup.
Dockerfile for n8n on ARM64
# docker-compose.yml
services:
n8n:
image: n8nio/n8n:latest
restart: unless-stopped
environment:
N8N_HOST: automations.yourdomain.com
N8N_PROTOCOL: https
WEBHOOK_URL: https://automations.yourdomain.com/
N8N_BASIC_AUTH_ACTIVE: "true"
N8N_BASIC_AUTH_USER: ${N8N_USER}
N8N_BASIC_AUTH_PASSWORD: ${N8N_PASSWORD}
volumes:
- n8ndata:/home/node/.n8n
ports:
- "127.0.0.1:5678:5678"
volumes:
n8ndata:Need one tailored to your repository? The free Dockerfile generator writes an ARM-ready multi-stage build for you.
Common mistakes
- Webhook URLs pointing at localhost: Set WEBHOOK_URL to your real domain or external services cannot call back.
- SQLite growing unbounded: Prune execution history, or switch n8n's database to Postgres on the same VM.
- Unlimited concurrency: Cap EXECUTIONS_PROCESS concurrency so one runaway workflow does not starve the instance.
Related reading
- /guides/self-host-docker
- /tools/cloud-cost-calculator
- /oracle-cloud/always-free-arm
- All deployment guides
Get the Oracle Always Free deploy checklist
One email with the exact steps, capacity workarounds and tools we use to ship apps for $0 of cloud spend.
One email, no spam. Unsubscribe anytime.
Frequently asked
Is self-hosted n8n free?+
n8n's community edition is fair-code licensed and free to self-host. Your infrastructure cost on Oracle Always Free is $0; you pay Cheaploy's platform fee for the managed deploy.
How many executions can it handle?+
There is no execution cap when self-hosting — only what the CPU and memory allow.
Can I migrate from n8n cloud?+
Yes, export your workflows and credentials and import them into the self-hosted instance.
Deploy your project for $0
No credit card. No Oracle sales call. Ship to your own cloud in under 10 minutes.
Start free