I run it on my VPS along with the rest of my project.
If I want to set it up on a new server, I start a fresh Debian machine, do "apt install mariadb-server" and I am good to go.
I don't like managed services (like Heroku) because:
1: I cannot easily replicate the setup locally.
2: It creates vendor lock-in which will cause me trouble when the vendors service changes in a way I don't like.
3: I would not be able to put the whole setup of my project in one setup script. It is so nice to just have a single script that contains all the steps that need to be done (Like the "apt install mariadb-server") to run the project on a fresh machine.
If I want to set it up on a new server, I start a fresh Debian machine, do "apt install mariadb-server" and I am good to go.
I don't like managed services (like Heroku) because:
1: I cannot easily replicate the setup locally.
2: It creates vendor lock-in which will cause me trouble when the vendors service changes in a way I don't like.
3: I would not be able to put the whole setup of my project in one setup script. It is so nice to just have a single script that contains all the steps that need to be done (Like the "apt install mariadb-server") to run the project on a fresh machine.