What's the ideal way to set up n8n? Seeking advice on hosting options

Hi folks,

I’m planning to run n8n on my own server but I’m not sure where to start. There are so many choices and it’s a bit confusing.

I’ve seen that some people use extra stuff like PostgreSQL and other tools. But that looks pretty hard to set up.

If you’re using n8n, how did you get it running? Which company do you use for your server? What kind of server would work for a small project? How do you keep it safe from hackers?

I’m new to this so any tips would be great. Thanks!

I’ve been running n8n on AWS EC2 for about 6 months now and it’s been a great experience. I chose a t3.micro instance, which is more than enough for my small automation projects. The free tier is perfect if you’re just starting out.

For the database, I stuck with SQLite. It’s simpler to manage and works well for my needs. I didn’t see the point in complicating things with PostgreSQL for my use case.

Security-wise, I use AWS Security Groups to limit access, and I’ve set up a bastion host for SSH access. I also use AWS Certificate Manager for SSL, which integrates nicely with their load balancer.

One thing I’d recommend is setting up CloudWatch alarms. They’ve been a lifesaver for monitoring and getting alerts if anything goes wrong.

Overall, AWS has been reliable and scalable for my n8n setup. The learning curve was a bit steep at first, but the documentation is solid.

I’ve been running n8n for about a year now, and I can share my setup. I opted for a Digital Ocean droplet - their basic $5/month plan has been more than sufficient for my needs. It’s a straightforward process to get n8n up and running there.

I stuck with the default SQLite database instead of PostgreSQL to keep things simple. For security, I use UFW firewall, fail2ban, and keep everything updated regularly. I also set up SSL with Let’s Encrypt for encrypted connections.

One tip: make sure to set up regular backups of your n8n data. You can automate this with a simple cron job. This setup has been reliable and cost-effective for my small-scale automation projects.

hey there! i’ve been using n8n on a cheap vultr vps for a while now. its pretty easy to setup, just follow their docker guide. i didn’t bother with postgres, sqlite works fine for me. make sure u use a strong password and keep ur server updated. good luck with ur project!