Ok guys, don't spend all your money on big servers..
I reconfigured freeimage.host's setup and it works great! Can't tell any difference from a few cloud servers vs. a huge bare metal..
Frontend-WEB (ubuntu+nginx) 2.49/mo
- 1vCPU
- 2 GB RAM
- 20 GB SSD
- 20 TB TRAFFIC
Backend-IMAGE (ubuntu+nginx) 2.49/mo + €20.00/mo (storage volume, 500 GB)
- 1vCPU
- 2 GB RAM
- 20 GB SSD
- 20 TB TRAFFIC
- + attached volume, scale able - currently at 500 GB
Backend-DB (ubuntu+mariaDB) 2.49/mo
- 1vCPU
- 2 GB RAM
- 20 GB SSD
- 20 TB TRAFFIC
Cloudflare (free plan)
Total monthly costs is €27,5
All these servers are connected through an internal network and it works perfectly. Currently it's over 270K images and 490 GB storage space used.