How to forward a port in port forwarding of load balancing (ALB)

Is it possible to have an application running on an ec2 instance and load the load balancer on port 80, but its proxy to port 8080 instances?

I can't get this to work. What setting do I need to change. I am starting a cluster for load balancing applications.

+4
source share
2 answers

Adding a response using AWS control fragments.

Add the instance port to the target group, see the image below for it. for example, I added the tomcat 8080 port to the target group port /

enter image description here

, ELB . . ELB, , ELB -. .

enter image description here

, - .

+6

. 8080. 80 Loader Balay Application Load Balancer . ALB 80 8080 .

+4

Source: https://habr.com/ru/post/1670695/


All Articles