Phase 03 · No-Code Automation with n8nLesson 3 of 5
Running n8n Locally and on the Cloud
Where your automations run, and how to keep them running.
The problem
An automation is only useful if it's running when it's needed. A workflow that sends daily reports at 8am does nothing if the computer it lives on is asleep. This lesson explains your options for where n8n runs and how to choose between them.
The concept
Option 1: On your own computer (local)#
You can run n8n on your laptop, for example with Docker or n8n's desktop setup.
- Pros: free, private, perfect for learning and testing
- Cons: workflows stop whenever your computer is off, asleep or offline, and other services can't easily reach your webhooks
Option 2: n8n Cloud (managed hosting)#
n8n's own hosted service runs everything for you.
- Pros: no technical setup, always on, updates and backups handled
- Cons: monthly subscription; plan limits on executions
Best for: businesses and freelancers who want reliability without managing servers.
Option 3: Self-hosting on a cloud server#
You rent a small virtual server and install n8n on it yourself.
- Pros: always on, full control, often cheaper at scale, data stays on your server
- Cons: you're responsible for setup, security, updates and backups
Best for: people comfortable with a little technical setup, or those with strict data requirements.
Comparison#
| Local | n8n Cloud | Self-hosted | |
|---|---|---|---|
| Cost | Free | Monthly plan | Server cost |
| Always on | No | Yes | Yes |
| Setup effort | Low | Lowest | Medium–high |
| Maintenance | None | Handled for you | Your responsibility |
| Best for | Learning | Most businesses | Control and scale |
Protect your work#
Whichever option you choose:
- Back up your workflows. n8n can export workflows as files; keep copies somewhere safe.
- Keep credentials secure. Never share screenshots that show API keys.
- Turn on error notifications, so you know when a workflow fails.
- Keep n8n updated (automatic on n8n Cloud) for security fixes.
A sensible path
- Learn and build locally
- Export finished workflowsfrom your local instance
- Import into the new onen8n Cloud or a self-hosted server
- Re-add your credentials
Try it
Your task · about 10 minutes
Run n8n locally with one command, build a two-step workflow, then list what would break if your laptop went to sleep.
Recap & next
Key takeaways
- Running locally is free and great for learning, but workflows stop when your computer sleeps.
- Cloud hosting keeps workflows running 24/7 for real business use.
- You can use n8n's hosted cloud plan or self-host on your own server.
- Back up your workflows and keep credentials secure whichever option you choose.
Quick check
2 questions · instant feedback
Go deeper
The full course on Automation
Udemy course
Complete AI Automation And Agentic AI Bootcamp With n8n
View course (opens Udemy in a new tab)
Finished this lesson?
Mark it complete to track your progress and keep your streak going.