Reputation: 8664
I am setting up a load balancer for my ec2 instances. I'm a little confused about the difference between the options
Load Balancer Protocol
Load Balancer Port
Instance Protocol
Instance Port
In particular what is the difference between the "Load Balancer Protocol" and the "Instance Protocol"? If I want to do SSL offloading on the LB but send through decrypted traffic to an instances web head listening on port 80, shoudl I use,
HTTPS 443 HTTP 80
or
HTTPS 443 HTTPS 443
What if I dont want to do SSL offloading at the LB? What if I wanted to do it on an NGINX web head behind the LB? In that case how would I configure this?
Upvotes: 3
Views: 2056
Reputation: 19573
If you want to offload SSL to the ELB, you would configure an HTTPS listener on the ELB and forward it to an HTTP listener (Often port 80).
If you want SSL to pass through to your instances, then you would just configure a TCP pass through listener.
Upvotes: 2