
Learn to self-host n8n in the cloud with a disaster-proof setup, including vm creation, subdomain routing, ssh access, nginx reverse proxy, SSL with Let's Encrypt, docker compose, backups, and restores.
In this video, I will be discussing:
-> Why I created this course?
-> What can you expect from this course?
-> Who is this course for and who is it not for?
-> A little bit about me.
Self-host in the cloud provides a reliably powered, always online n8n server with redundant data centers, ensuring continuous, scalable automation accessible from anywhere for teams.
Provision a Google Cloud virtual machine to self-host n8n, set up a domain subdomain, and implement two-layer backups to server and pCloud with rclone, monitored by Healthchecks with email alerts.
Treat resources as supplements to the videos: download, replace placeholders, and paste into your project, while the videos hold full instructions and resource updates may vary.
Create a google cloud vm instance using compute engine, select an e2 micro under the free tier, configure a 30 gb disk, and enable http and https traffic.
Point your subdomain to the VM's external IP by creating an A record in DNS, using a subdomain such as myn8n.yourdomain.com, and verify propagation with ping, nslookup, and dnschecker.org.
Connect to the Google Cloud VM via SSH, install Docker, Nginx, Certbot, and Rclone, configure Docker Compose v2, enable auto-start, and set Nginx to route a secure subdomain to n8n.
Configure nginx as a reverse proxy for your subdomain, forwarding traffic to n8n while preserving headers and enabling WebSocket support with a 24-hour read timeout.
Create a central vars.sh config file to store key paths, log locations, and remote backup destinations; make it executable, source it, and verify by printing key variables.
Master a manual safe update for n8n by backing up workflows locally and to pCloud before a restart, ensuring disaster-proof continuity during upgrades.
Automate safe updates for your self-hosted n8n with daily cron checks and automatic backups. Update the Docker image, restart the container, and monitor success via Healthchecks.
Learn how to verify automated safe update backups with monitoring using Healthchecks, testing email notifications when a check reports down and confirms the alert workflow.
Create an on-demand manual backup script for n8n workflows, compress data to tar.gz, store locally, and upload to pCloud via rclone with preflight checks and logs to verify success.
Automate daily backups with a cron-scheduled bash script, monitor status via Healthchecks, append a ping URL, and verify backups exist locally and on pcloud via rclone.
Create a weekly full backup of the n8n-deploy folder, excluding backups and logs, with healthchecks monitoring, cron scheduling, and remote archiving via rclone.
Explore three restore paths for n8n backups—workflow only, full project, and vm disk snapshot—using an interactive script to restore from local vm or pCloud, and verify restores.
Learn to back up and restore the n8n data folder, including all workflows, using SSH scripts and a chosen backup, to recover from deletion or corruption.
Master the end-to-end setup of a disaster proof, self-hosted n8n system by deploying via docker compose, configuring nginx and SSL, and securing platform-agnostic backups with rclone and restore drills.
Build a reliable, cloud-hosted n8n server you fully control, without platform lock-in. In this hands-on masterclass, you will provision a Debian VM on Google Cloud, point your domain via DNS, deploy n8n with Docker and Docker Compose v2, place it behind Nginx with HTTPS using Certbot, and set up layered off-site backups so your data is portable and protected. You will run full restore drills to prove you can recover fast, and use safe update procedures that back up first so you can update without fear of losing data. Everything is delivered as a step by step system you can duplicate anytime.
By the end, you will have a production-ready, platform-agnostic, self-hosted n8n at your own domain or subdomain—with portable backups on pCloud, Healthchecks monitoring, and a tested recovery path you can execute in minutes.
This is the setup that you need before you start building your workflows.
What you will build
A Debian-based VM on Google Cloud, reachable at your own domain or subdomain
n8n running in Docker, orchestrated with Docker Compose v2
Nginx reverse proxy with valid HTTPS certificates via Certbot
Persistent data volumes so n8n survives container restarts and host reboots
Layered off-site backups, daily data plus weekly full, to pCloud via rclone, with logs and Healthchecks monitoring
Full restore drills, full stack or data only, to validate recovery in minutes
Safe updates with backup-first scripts to upgrade n8n confidently
Who this course is for
New n8n users who want a cloud selfhosting deployment they can access from anywhere
Teams and builders moving from local installs to the cloud for accessibility, resilience, or branding
Subscription users considering a switch to self-hosting for ownership and cost control
Anyone who needs portable, offsite backups and a clear, testable restore path
Who this course is not for
People who are looking to learn how to build n8n workflows. This course only focuses on establishing the foundation for a robust, disaster-proof, platform-agnostic self-hosted n8n setup.
Scope Clarification: Workflows vs. Infrastructure
This course does not teach you how to build n8n workflows. It teaches you how to set up your system so you can create workflows confidently without fearing you will lose them. And if you hire someone to build workflows and they mess up, your backups and tested recovery path keep your workflows intact.
What is inside, step by step
Plan your deployment: domain, DNS A record, Google Cloud VM sizing
Prepare the server: package updates, Docker engine, Docker Compose v2
Launch n8n with Compose and confirm persistence across restarts and reboots
Put n8n behind Nginx and issue HTTPS certificates with Certbot
Set up layered off-site backups to pCloud with rclone and verify backup logs
Add monitoring with Healthchecks to track backup success or failure
Run full restore drills, full and data only, and measure time to recovery
Perform safe updates with backup using the included scripts and checks
Snapshots versus file-level backups: when to use each, theory and decision-making
Prerequisites
Google Cloud account with billing enabled
A registered domain with DNS access
pCloud account and Healthchecks account, these can be created during the tutorial with guidance
Willingness to follow along during the tutorial
You will walk away with
A live self-hosted n8n instance at your own domain or subdomain, secured with HTTPS
A repeatable, step by step deployment system you can clone for new environments
Layered off-site backups and alerts when jobs run
Confidence to update safely, backup first, and to restore fast when things go wrong
Note: We use “disaster-proof” as shorthand in the title, but no system is immune to every failure. This course emphasizes resilience, tested backups, and rapid recovery.