Network load balancers are used for load balancing TCP traffic and work at layer 4 of the OSI model. They provide very high performance compared to other load balancer types and can support millions of requests per second with very low latencies.
Using a network load balancer with TLS termination at EC2
Getting ready
We need to create a target group to complete this recipe. We can do this by following the Creating ELB target groups recipe of this chapter but with two EC2 instances that have Apache web server set up and a security group that allows HTTP, HTTPS, and SSH, but with the following exceptions:
- Enable HTTPS on the EC2 instances by following the Enabling HTTPS on an EC2 instance recipe.
- Select TCP instead of HTTP...