How I run everything in a cheap VPS
Apart from this blog which I host on GitHub Pages, I also host a few other projects that have to run some server side logic. So, for this purpose, I have been using a $5/month VPS from Contabo for about a year now. While Contabo is not the best option out there(I have heard good things about Hetzner), it has been a good enough option for me except for one time it went down for about a day when there was a spike in traffic. But for the price and the amount of traffic I get, it has been a good enough option for me.
This is how I run several projects on this VPS.
- Django with gunicorn and nginx for all backend logic for all projects
- Celery for periodic jobs
- PostgreSQL for database
- Redis for caching and queuing
- Nginx for reverse proxy
- Certbot for SSL certificates
- Webshare for rotating proxy IP addresses
- Github Actions for CI/CD
- PM2 for managing multiple frontend instances
- Cloudflare for DNS and CDN
Currently, the following projects are running on this VPS:
Project | Type | Description |
---|---|---|
Nordstartup | Django | Remote job board for Nordic countries |
Childtales | Nuxt.js | Fairytale stories generation using AI for children |
Merostocks | Nuxt.js | Nepalese stock market portfolio management |
Genalize API | Django | API for Genalize |