Back to website
Mayank Aggarwal Learning Center

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.

  • 25:44 video
  • 2 min read
  • Intermediate
01

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.

02

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#

Localn8n CloudSelf-hosted
CostFreeMonthly planServer cost
Always onNoYesYes
Setup effortLowLowestMedium–high
MaintenanceNoneHandled for youYour responsibility
Best forLearningMost businessesControl and scale

Protect your work#

Whichever option you choose:

  1. Back up your workflows. n8n can export workflows as files; keep copies somewhere safe.
  2. Keep credentials secure. Never share screenshots that show API keys.
  3. Turn on error notifications, so you know when a workflow fails.
  4. Keep n8n updated (automatic on n8n Cloud) for security fixes.

A sensible path

  1. Learn and build locally
  2. Export finished workflowsfrom your local instance
  3. Import into the new onen8n Cloud or a self-hosted server
  4. Re-add your credentials
03

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.

04

Recap & next

Key takeaways

  1. Running locally is free and great for learning, but workflows stop when your computer sleeps.
  2. Cloud hosting keeps workflows running 24/7 for real business use.
  3. You can use n8n's hosted cloud plan or self-host on your own server.
  4. Back up your workflows and keep credentials secure whichever option you choose.

Quick check

2 questions · instant feedback

1Why move n8n from your laptop to the cloud?
2What should you always do with your workflows?

Finished this lesson?

Mark it complete to track your progress and keep your streak going.

Next