Deploy now

(requires subscription to NGINX Plus AMI)

nginx-plus-small-logo


This Quick Start sets up a highly available, secure AWS environment, and launches NGINX Plus automatically into an AWS configuration of your choice.

NGINX Plus is an application delivery platform built on NGINX, an open-source web server and reverse proxy for high-traffic sites. NGINX Plus adds technical support and enterprise-ready features for advanced load balancing, web and mobile acceleration, application security, monitoring, and management.

This Quick Start was developed jointly by AWS and NGINX, Inc.  Use the Quick Start to bootstrap a production deployment of NGINX Plus on AWS, or as a starting point to build your POC in a test environment.

For additional Quick Starts, see the complete catalog.

  • What you'll build

    Use this Quick Start to set up the following NGINX Plus environment on AWS:

    • A virtual private cloud (VPC) that spans two Availability Zones. Each Availability Zone includes two subnets (private and public).
    • In the public subnets, managed NAT gateways to allow outbound Internet access for resources in the private subnets.
    • In the public subnets, Linux bastion hosts in an Auto Scaling group to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.
    • In the private subnets, an NGINX Plus Auto Scaling group so your NGINX Plus load balancing instances can maintain application availability and can scale up and down automatically according to conditions you define. These NGINX Plus instances distribute traffic to the NGINX web application instances within the VPC in an active/active scenario. Each NGINX Plus is deployed with an additional piece of software (nginx-asg-sync) that allows NGINX Plus to quickly detect any changes in the number of web application instances based on Auto Scaling event notifications.
    • A Classic Load Balancer that provides inbound access to the NGINX Plus Auto Scaling group via HTTP load balancing over port 80.
    • In the private subnets, two NGINX web applications, each deployed in an Auto Scaling group. These groups simulate a Multi-AZ web application farm that receives traffic from the NGINX Plus front-end load balancing Auto Scaling group. These groups are named NGINX Webapp1 and NGINX Webapp2. Each web application is a simple web page that is served by the open-source NGINX software.


    For details, see the Quick Start deployment guide.

  • Deployment details

    Build your NGINX Plus environment on AWS in about 25 minutes:

    1. If you don't already have an AWS account, sign up for one at http://aws.amazon.com.
    2. Subscribe to the NGINX Plus AMI in AWS Marketplace.
    3. Launch the Quick Start
    4. Test the deployment by load-balancing the web applications and checking configuration files. 


    To customize your deployment, you can choose different instance types for your resources, resize the CIDR blocks for the subnets to meet your architectural requirements, and configure the Auto Scaling groups.

    After deployment, you can use NGINX Plus resources to extend and customize your environment. For detailed instructions, see the Quick Start deployment guide.

  • Cost and licenses

    This Quick Start requires a subscription to the NGINX Plus AMI in AWS Marketplace. For pricing details, see the NGINX Plus webpage in AWS Marketplace.

    You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start.

    The AWS CloudFormation template for this Quick Start includes configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. See the pricing pages for each AWS service you will be using for cost estimates.