
Operating at Layer 7 (the application layer), it uses more advanced load‑balancing criteria, including schemes that rely on the content of requests and the results of NGINX Plus' active health checks. Unlike previous AWS solutions, AWS NLB supports both static IP addresses and Elastic IP addresses. This enables AWS NLB to more easily handle volatile traffic patterns – patterns with sudden and dramatic changes in the amount of traffic. AWS NLB uses a flow hash routing algorithm.ĪWS NLB is ideal for fast load balancing of TCP traffic, as it’s able to handle millions of requests per second while maintaining ultra‑low latencies. The Appendix provides instructions for creating EC2 instances with the names used in this guide, and installing and configuring the NGINX software on them.ĪWS NLB is optimized for fast, efficient load balancing at the connection level (Layer 4). (You can increase resiliency as needed by following the same steps for additional NGINX Plus instances.) This guide explains how to set up an AWS NLB in front of one pair of NGINX Plus load balancers. The combined solution is fast, powerful, reliable, and likely to be relatively low‑cost.

The solution combines the AWS Network Load Balancer (NLB) for fast and efficient handling of Layer 4 traffic with NGINX Plus for advanced, Layer 7 features such as load balancing, caching, and content‑based routing. This guide explains how to create our recommended solution for a highly available, active‑active deployment of NGINX Plus in the Amazon Web Services (AWS) cloud. Active-Active HA for NGINX Plus on AWS Using AWS Network Load BalancerĬreate a highly available active-active deployment of NGINX Plus on AWS in combination with AWS Network Load Balancer (NLB).
