This is the first time that I am using load balancer... I have spent quite a bit of time going through documentation and I am still quite confused.
I want to host my website. My website supports HTTPS only. I want to put my backend servers behind an Application Load Balancer.
I am using AWS' default VPC, I have created an ALB (myALB) and installed my SSL certificate on it. I have also created 2 EC2 instances (myBackEndServer1 & myBackEndServer2).
Questions:
- Should the communication between backend servers and myALB be through HTTP or HTTPS?
- I have created an HTTPS listener on myALB, do I also need an HTTP listener on myALB? what I want is to redirect any HTTP request to HTTPS (I believe this should happen on myALB)?
- I want to use External ID login (using Facebook). I have set up Facebook login to work with HTTPS only. Does the communication between Facebook and my backend servers go through myALB? I mean, I either need HTTPS on my backend servers, or the communication with facebook should go through myALB.
I would appreciate any general advice.