I have UI in angular, backend in Rest api and few more services like license and authentication. I am going to deploy them on different instances. I want my ui and backend to be load balanced and autoscale. My application is https so which load balancer should I use for UI and backend. I thought of using tcp(internal load balancer) for backend and https(external load balancer) for frontend.
1 Answers
2
votes
Considering your use case, HTTPS LB for the front end makes the most sense since it can help with autoscaling and is better suited to handle HTTPS requests for your application.
a TCP Internal LB makes sense between your front end and your backend since you don't need to worry about application layer decisions at that point and really just need something to distribute the load.