Web Server Load Balancing with NGINX Plus

Editor – The information in this post is obsolete. It announces the initial version of the NGINX Plus on the AWS Cloud Quick Start, which has been replaced by a new version with more features, including support for Auto Scaling.

For details, see Announcing New Autoscaling Support with NGINX Plus on AWS Cloud Quick Start.

Today we’re pleased to announce the joint release with Amazon Web Services (AWS) of the NGINX Plus on the AWS Cloud Quick Start reference deployment, publicly available on the AWS Community Quick Starts landing page and the AWS QuickStart Github repository. The NGINX Plus on the AWS Cloud Quick Start is a turn‑key solution you can use to easily build, configure, and deploy a fully functional, highly available application environment on AWS. The Quick Start is a quick way to spin up an entire NGINX Plus load balancing and application delivery infrastructure with minimal effort.

AWS Quick Start reference deployments are automated solutions that use CloudFormation templates to launch, configure, and run the AWS services – such as compute, network, and storage – you need to deploy specific workloads on AWS. They are designed to kick‑start fully functional solutions on AWS while giving you the freedom to customize as needed for your specific environments.

The NGINX Plus on the AWS Cloud Quick Start deploys four NGINX Plus instances in a scalable active‑active load‑balancing infrastructure for delivering a sample PHP application. All four instances are running on NGINX Plus Amazon Linux AMIs: two instances each run together with a PHP application server and the other two are HA load balancers. The AMIs can run on various machine types and are billed hourly, inclusive of both the machine cost and the NGINX Plus licensing costs.

This Quick Start highlights the following AWS and NGINX Plus solutions and features:

  • Amazon CloudFormation template, which you can customize during launch to match your environmental needs
  • An AWS Virtual Private Cloud (VPC) spanning two Availability Zones, each containing individual NGINX Plus load‑balancer and web‑application AMIs
  • An AWS Autoscaling Group running scalable instances of the NGINX Plus Amazon Linux AMI to load balance traffic between PHP applications in each Availability Zone
  • Discrete instances of the NGINX Plus Amazon Linux AMI functioning as application servers, serving PHP content spread across the two Availability Zones in the Amazon VPC
  • AWS Elastic Load Balancing (ELB), providing inbound network connectivity to the Autoscaling Group of NGINX Plus load balancers (with network persistence for Layer 4 load balancing)
  • Two NGINX Plus Amazon Linux AMI PHP web application instances which simulate application farms spanning multiple Availability Zones
  • Amazon Route 53 for DNS management of ELB and NGINX Plus IP addresses
  • Application and network session affinity (also known as session persistence) at the ELB and NGINX Plus load‑balancing layers
  • Live activity monitoring dashboard for all NGINX Plus instances

Get started now by deploying the NGINX Plus on the AWS Cloud Quick Start, available at both the AWS Community Quick Starts landing page and the AWS QuickStart Github repository.

Note: While the Quick Start deploys a full NGINX Plus load balancing and application server sample environment built on AWS, it is designed as a proof of concept (PoC) development solution and not intended for immediate use with application workloads in production. Moving the Quick Start out of development and into production may require additional configuration. For more information on configuring NGINX Plus, please refer to the NGINX Plus Admin Guide and the Amazon Web Services partner page. The Quick Start also utilizes NGINX Plus AMIs, licensed software that will initiate immediate billing to your AWS EC2 account.

Hero image
免费 O'Reilly 电子书:
《NGINX 完全指南》

更新于 2022 年,一本书了解关于 NGINX 的一切


Liam Crilly

F5 产品管理总监


F5, Inc. 是备受欢迎的开源软件 NGINX 背后的商业公司。我们为现代应用的开发和交付提供一整套技术。我们的联合解决方案弥合了 NetOps 和 DevOps 之间的横沟,提供从代码到用户的多云应用服务。访问 了解更多相关信息。