Self-Host n8n for FREE in 2026 (100% Uptime + Persistent Storage)
Most businesses using n8n hit the same wall - either paying for expensive cloud plans or struggling with unreliable free hosting that loses data. This guide shows how to deploy n8n with production-grade reliability at zero cost using Render.com and Supabase, complete with a clever uptime solution that keeps your workflows running 24/7.
Why Self-Host n8n in 2026?
Every business using automation faces the same dilemma - pay hundreds per month for cloud hosting or struggle with unreliable free tiers that reset your workflows. The n8n cloud free plan limits you to 100 executions per month and loses all data between sessions, making it unusable for production.
Self-hosting solves both problems, but traditional methods require technical expertise or expensive VPS hosting. This solution combines Render.com's generous free tier with Supabase for persistent storage and a clever uptime hack - giving you production-grade reliability at zero cost.
Key benefit: This setup handles up to 1 million workflow executions per month for free, compared to n8n's $20/month cloud plan that limits you to just 10,000.
Step 1: Setting Up Render.com
Render.com offers 750 free instance hours per month - enough to run one service continuously. Their free tier includes:
- 512MB RAM
- Shared CPU
- Free SSL certificates
- Global CDN
After signing up (2:15 in the video), create a new "Web Service" and select the Docker option. Use the official n8n Docker image (n8nio/n8n) and configure these critical settings:
- Name your service (e.g., "my-n8n-instance")
- Select a region closest to your users
- Set the instance type to "Free"
- Add environment variables (we'll cover these later)
The initial deployment takes about 15 minutes. Once live, you'll have a basic n8n instance - but without persistence or reliable uptime yet.
Step 2: Docker Configuration
The default n8n Docker setup loses all workflows when the container restarts. We'll modify the deployment to use persistent storage:
Critical configuration: Add these environment variables to your Render.com service before first deployment:
N8N_BASIC_AUTH_ACTIVE=true N8N_BASIC_AUTH_USER=your_username N8N_BASIC_AUTH_PASSWORD=your_secure_password N8N_ENCRYPTION_KEY=your_encryption_key Generate a strong encryption key (16-32 characters) using a password manager or the command openssl rand -base64 20. This protects your workflow credentials even if someone accesses your database.
Step 3: Persistent Storage with Supabase
Supabase offers a free PostgreSQL database perfect for n8n's storage needs. After creating your Supabase account (8:30 in video):
- Create a new project in a region matching your Render.com service
- Navigate to the SQL editor and run this query to create the n8n schema:
CREATE SCHEMA n8n; - Copy your connection string from Settings → Database
Add these additional environment variables to your Render.com service:
DB_TYPE=postgresdb DB_POSTGRESDB_DATABASE=postgres DB_POSTGRESDB_HOST=your-supabase-host DB_POSTGRESDB_PORT=5432 DB_POSTGRESDB_USER=postgres DB_POSTGRESDB_PASSWORD=your-supabase-password DB_POSTGRESDB_SCHEMA=n8n After redeploying, n8n will automatically create all necessary tables in your Supabase database.
The 100% Uptime Solution
Render.com's free tier stops inactive services after 15 minutes. We'll create a monitoring workflow that pings your instance every 5 minutes:
- In your n8n instance, create a new workflow with an HTTP Request node
- Set it to call your Render.com URL every 5 minutes
- Add a simple webhook that returns "OK"
Pro tip: Create this workflow first and back it up, as it's your lifeline for keeping the instance alive during initial setup.
This "heartbeat" trick keeps your service active 24/7 without violating Render.com's terms, as you're not artificially generating traffic - just preventing shutdown.
Security Configuration
Since your n8n instance is publicly accessible, these security measures are essential:
- Basic Auth: Already configured via environment variables
- HTTPS: Automatic with Render.com's free SSL
- IP Restrictions: Optional - limit access to your office IP in Render.com settings
- Backups: Export workflows weekly or set up Supabase auto-backups
For additional security, consider enabling two-factor authentication in n8n's settings once logged in.
Setting Up Monitoring
While our uptime solution prevents shutdowns, you still need visibility into your instance's health:
- Create a status check workflow that tests critical functions
- Set up email/SMS alerts using n8n's notification nodes
- Monitor execution metrics via the n8n UI or external tools
The video (14:50) shows how to configure a comprehensive monitoring workflow that alerts you if executions fail or the instance becomes unresponsive.
Production-Ready Tips
Before moving business-critical workflows to this setup:
- Test failover scenarios by manually stopping/starting your Render service
- Verify backups by restoring workflows to a fresh instance
- Monitor resource usage during peak loads
- Consider upgrading to Render's $7/month plan for priority support
Scaling tip: If you hit free tier limits, upgrade just your database first ($5/month) before upgrading the web service.
Watch the Full Tutorial
See the complete setup process in action, including troubleshooting tips for common deployment issues. The video demonstrates each step from creating the Render.com service to configuring the uptime monitor (key moment at 12:30).
Key Takeaways
This free n8n hosting solution gives you production-grade reliability without the cloud subscription costs. By combining Render.com's infrastructure with Supabase's database and a simple uptime monitor, you get:
- 24/7 availability with persistent workflow storage
- Enterprise-grade security at no cost
- Scalability to handle millions of executions
- Complete control over your automation data
In summary: For small businesses and startups, this is the most cost-effective way to run n8n in , saving hundreds per year while maintaining reliability that rivals paid plans.
Frequently Asked Questions
Common questions about self-hosting n8n
Self-hosting gives you complete control over your data and workflows while eliminating cloud service costs. The free cloud version has execution limits and doesn't offer persistent storage between sessions, which can disrupt production workflows.
With self-hosting, you also avoid vendor lock-in and can customize the installation to your specific needs, including adding plugins or modifying the core functionality.
- No execution limits on workflow runs
- All data remains within your controlled infrastructure
- Ability to customize and extend functionality
The solution combines Render.com's free tier with a monitoring robot that pings your n8n instance every 5 minutes to prevent inactivity shutdowns. This keeps your instance alive 24/7 without violating free tier terms.
Render.com allows continuous operation as long as the service receives regular traffic. Our uptime solution generates just enough activity to meet this requirement while consuming minimal resources.
- 5-minute heartbeat checks prevent shutdown
- Uses less than 1% of your free tier resources
- Fully automated once configured
Render.com's free tier includes 750 free instance hours per month (enough for continuous operation). If you exceed this, you'll be automatically upgraded to their $7/month Starter plan which provides unlimited usage.
This is still significantly cheaper than n8n's cloud Pro plan ($20/month for basic features). The transition is seamless, with no downtime or configuration changes required on your part.
- Automatic upgrade preserves your setup
- No service interruption during transition
- Still 65% cheaper than n8n's cheapest paid plan
Yes, this setup is production-ready with persistent storage via Supabase and 100% uptime. Many small businesses run production automation on this exact configuration.
For mission-critical workflows, consider upgrading to Render's $7/month plan for priority support and additional resources. The architecture remains the same, just with enhanced reliability guarantees.
- Used by hundreds of production businesses
- Supports thousands of daily workflow executions
- Easy to upgrade if your needs grow
The solution uses HTTPS encryption, secure database connections, and environment variables for sensitive data. Supabase provides enterprise-grade security for your workflow data.
For additional security, you can enable two-factor authentication on your n8n instance and restrict access by IP address in Render.com's settings. All credentials are encrypted at rest using your provided encryption key.
- End-to-end encryption for sensitive data
- Enterprise-grade database security
- Optional IP restrictions and 2FA
The same architecture works with other free-tier providers like Railway or Fly.io. The tutorial principles are platform-agnostic, and you can migrate your Docker container to another provider if needed without losing your workflows.
Your Supabase database remains independent of the hosting provider, making migrations straightforward. We monitor free tier policies across providers and update our recommendations accordingly.
- Database separate from compute for easy migration
- Same setup works on multiple platforms
- Regularly updated provider recommendations
Absolutely. This self-hosted n8n instance supports all the same integrations as the cloud version. You can connect to any database, API, or service that n8n supports, with the added benefit of keeping all data within your controlled infrastructure.
The self-hosted version actually provides more flexibility for custom integrations since you have full control over the environment and can install additional dependencies if needed.
- All standard n8n connectors available
- Ability to create custom nodes
- No artificial limits on connections
GrowwStacks can deploy this exact setup for your business in under 2 hours, including custom configurations for your specific needs. We'll handle the technical implementation, ensure proper security, and provide training on managing your self-hosted n8n instance.
Our team will also help you migrate existing workflows from n8n.cloud or other automation platforms, and can provide ongoing support as your automation needs grow.
- Complete setup in under 2 hours
- Custom security and configuration
- Free 30-minute consultation to discuss your needs
Ready to Deploy Your Own Free n8n Instance?
Every day without reliable automation costs you time and missed opportunities. Our team can have your production-ready n8n instance running in under 2 hours, complete with persistent storage and 24/7 uptime.