there where it fits your needs. Only you can know that.
For me, it was a Raspberry Pi at home for some time. Later it was a cloud VM behind a dedicated firewall with a reverse proxy in front of it.
But your requirements can be completely different.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.