I'm working on a classical music website called Composer Explorer, which is built on Spotify's API. Right now, it's hosted on my personal machine, but that's not ideal. The backend runs on Flask and I have a Python script that pulls the latest data from the Spotify API continuously. My database is MySQL and it's about 2 GB in size, plus I'm using Elasticsearch as well. I've tried several Google Cloud services including Cloud Run, Cloud SQL, and Compute Engine, but it's costing me around $150 per month. I'm looking for cheaper hosting options or better ways to deploy my site since the traffic isn't too high.
5 Answers
I wouldn't recommend Kubernetes for your setup. It can get really costly and has a steep learning curve. Stick with something simpler, like running everything on a single VPS, and it’ll save you the trouble.
You might want to consider containerizing your application and deploying it on a $10 VPS. I recommend checking out providers like Hetzner or AWS. Using Docker could make it easier to manage and scale your application when needed.
$150 per month is way too much! A solid VPS option from IONOS is just $22 monthly for a powerful machine. It’ll handle your MySQL database well, provided it's organized properly.
Honestly, if you're looking to save money, a VPS is the way to go instead of cloud services. Look for a VPS with decent specs, similar to what you have now. A provider like Digital Ocean could be economical, and you can easily deploy your app with Coolify, which works through containers.
For personal projects, I found a VPS for under €3 a month that runs multiple websites without a hitch. You should definitely look for something affordable like that.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads