I have a full-stack node.js project and I don't know what the best practice is for deploying it.
some information first: the app consists of:
- a next.js frontend
- a redis cache
- a postgres sql
- and a node.js backend
the deployment shouldn't cost too much because it's a hobby project.
Currently (as dev env) I use vercel for the frontend and my own vm for the backend
However, I would like to deploy everything in e.g. an app engine (i.e. without much config and with automatic scaling)
I just don't know what the best provider is, because there are many services, e.g. gcp cloud run, gcp app engine standart, app engine flex, firebase hosting, gcp cloud computing, all aws services, and many more...
I would prefer docker-compose, for example, on the google cloud platform with all the advantages of app-engine/cloud run, i.e. little config, automatic scaling and not too expensive, since it's just a hobby project. I hope something like this is possible. (I don't mean that I don't want to pay anything, but e.g. $20-50 a month is a bit expensive for it)