Bootstrap FreeKB - Amazon Web Services (AWS) - Create Network Load Balancer (NLB) HTTPS Listener using Terraform
Amazon Web Services (AWS) - Create Network Load Balancer (NLB) HTTPS Listener using Terraform

Updated:   |  Amazon Web Services (AWS) articles

A Network Load Balancer cannot be created with an HTTPS Listener. Instead, a Network Load Balancer would have a TLS Listener. Check out my article Create Network Load Balancer (NLB) TLS Listener using Terraform.

This is an important consideration. A Network Load Balancer is meant for Layer 4, such as TCP or TLS connections to a SQL database. A Network Load Balancer is not meant for HTTPS. An Application Load Balancer supports HTTPS.

I tried to get a Network Load Balancer to load balance requests to my EC2 instances that were producing an HTTPS web app. When I would go to https://www.example.com (where www.example.com was the DNS entry in Route 53) the SSL certificate was not being presented, effectively returning something like "hmm, can't reach this page". I think this is because a Network Load Balancer and TLS are Layer 4, whereas HTTPS is Layer 7, thus there was some issue getting HTTPS to present the certificate. I even confirmed the SSL certificate was not being presented via a Wireshark capture.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 95b6ff in the box below so that we can be sure you are a human.