Hi everyone,
I’ve been working with n8n and Azure for a while, and I realized that hosting n8n on Azure Container Apps can sometimes get expensive for always-on workloads due to persistent memory usage and additional costs for a Postgres database. To address this, I created a simple starter kit to help you host n8n on an Azure Virtual Machine with Docker Compose.
Features of the Starter Kit
- All-in-One Setup: Host n8n and Postgres on the same Azure VM to save costs.
- Automated Backups: Easily configure continuous backups for your Postgres database and store them in Azure Storage.
- Cost-Effective: A single VM setup can significantly reduce your hosting costs compared to Azure Container Apps.
- Customizable: You can tweak the setup to fit your specific needs or infrastructure.
Why This Setup?
- n8n needs to run 24x7 for workflows triggered by cron, webhooks, or polling, which makes container-based platforms like Azure Container Apps potentially more expensive for always-on workloads.
- With this setup, you get full control over your hosting environment while keeping costs predictable.
Get Started
Check out the repo here: n8n Azure VM Starter Kit
Feel free to give it a try, share feedback, or contribute to improving the project. Let me know if you have any questions or run into issues—happy to help!