February 2020
Intermediate to advanced
440 pages
13h 51m
English
In this recipe, we created a network load balancer (NLB) with TLS termination at EC2. Most of the options were the same as what we had seen in the Using an application load balancer with TLS termination at the ELB recipe of this chapter. In this recipe, we are using the TCP protocol and port 443. This was done to allow the NLB to simply pass the HTTPS request to the EC2 instance without decrypting it at the ELB level. The target group should also be configured with the TCP protocol and with port 443 to allow TCP passthrough. If we select TLS (secure TCP) instead of TCP, NLB will decrypt the request at ELB itself.
Read now
Unlock full access