I'm building a full-stack web-application. I'm using Vue.js for the frontend, Spring Boot for the back-end, and PostgreSQL docker container for the database. However, I am very curious about once I finish developing my web-application where and how should I deploy it.
I listed my questions below:
- where should I deploy my full-stack app, like AWS, GCP, Hiroku, or any other platform.
- what is the best practice for deploying my frontend, backend, and database? Like, should I deploy my frontend on one server and the backend on another server? If I deployed in different servers for frontend and backend, how would they communicate to each other? Or should I deploy in the same server?
- Where should I deploy my Postgres Docker container? I know in AWS there is a service called RDS but how would I use it with my Postgres Docker container or is there a better way?
Thank you!