I am trying to redirect all incoming requests from http to https. I have multiple internal servers and I am trying to do this with AWS load balancer. I found that this can be done using Application load balancer for which I have to define the target group. I have EC2 instances and a application load balancer which is targeting to the instances. This load balancer having a ssl certificate for https endpoints and I added another Application load balancer which will redirect the traffic from http to https and for port 443 it will just forward the request to the next one.
I see when i define target group for next application load balancer it just gives option to add network load balancer and there is no redirect option as shown in AWS documentation here.
I want to use old console but there is no option for that.
can someone help to solve this issue?
I tried following AWS documentation but it seems documentation is not up to date and there is no redirect UI as shown in docs.