I am trying to configure an AWS Application Load Balancer (vs. a Classic Load Balancer) to distribute traffic to my EC2 web servers. For compliance reasons I need end to end SSL/HTTPS encryption for my application.
It seems to me the simplest way to ensure that traffic is encrypted the entire way between clients and the web servers is to terminate the HTTPS connection on the web servers.
My first question: Is it possible to pass through HTTPS traffic through an AWS Application Load Balancer to the web servers behind the load balancer in this manner?
From what I've gathered from the AWS documenation, it is possible to pass traffic through in this manner with a Classic Load Balancer (via TCP pass through). However, the Application Load Balancer looks like it wants to terminate the HTTPS connection itself, and then do one of the following:
- send traffic to the web servers unencrypted, which I can't do for compliance reasons
- create a new HTTPS connection to the web servers, which seems like extra work load
My second question: is that understanding of the documentation correct?
send traffic to the web servers unencrypted
that is what is happening. I would start aws.amazon.com/blogs/aws/… or docs.aws.amazon.com/elasticbeanstalk/latest/dg/… Hope this helps – Muqeet Khan