I have read a lot about microservices, and would like to build my app with that approach. What I know so far is that I nead some services like:
- load balancer - to deal with every request, and push it forward to another services
- authorization service - to authorize my users
- database - for my microservices. I would like to use one instance of DB with different schemas for every service.
- service A - for functionality A
service B - for functionality B
etc. etc. etc.
I found out, that Heroku is interesting place to deploy applications. My problem is that I completely don't understand they ideology. What I have done so far, is creation/registration of few "apps":
- my-app-auth
- my-app-load-balancer
- etc. etc.
I see, that Heroku gives me some public hostname for every of that app, and this is where my concerns starts. Should I deploy my internal services with public hostnames? I don't think so. And here my question comes:
Can anyone provide me some guidelines, how to deal with microservices on Heroku? How should i deploy them? How should I define my load balancer, and hook internal services to it? What is JHipster? Do I need it? How can I use it? Should I use Heroku tools (for example CLI) or can I stay with my gitlab repo? I can't find any point of grasp on the Internet, about that.