It integrates well with many backends, application servers . If you are working on Nginx, you might consider Nginx Plus , commercial version of Nginx .
Nginx Plus has more Features than Nginx (as you can guess).
Session persistence to ensure requests are routed to the same upstream server
High availability clustering to avoid single point of failure (SPOF)
Active health checks to stop sending requests to bad servers
Discover services using DNS
A full-featured load balancer
More control over the cache
Built-in monitoring. for debugging, resource utilization, troubleshooting
WAF dynamic module
Bandwidth controls for Mp4 streaming
and many more …
and also in the following IaaS (infrastructure as a service)
Google Cloud Platform (GCP)
Amazon Web Services (AWS)
Microsoft China Phone Number Azure
Installing Nginx Plus
Nginx offers FREE 30-day trial, so if you want to explore, you can download the trial copy.
The following I have tried on Google Cloud
There are two ways to install Nginx Plus.
One is manual which is explained here and second is through the script.
Let’s use the script form since it’s easy
Login to the server with root
Run the following scripts
wget https://cs.nginx.com/static/install-nginx && chmod + x install-nginx ./install-nginx #hash key given by Nginx
Replace the text in red with a one-time hash key provided by Nginx
[ [email protected]~] # ./install-nginx 148740a5769c640b3233406d04c5b58e This script will install NGINX Plus Do you want to install nginx-plus for centos 7? [y / n]: y 2017-12-03 07:49:37 URL: https://cs.nginx.com/otl/148740a5769c640b3233406d04c5b58e/cert[1334/1334] -> “/etc/ssl/nginx/nginx -repo.crt “ 2017-12-03 07:49:38 URL:https://cs.nginx.com/otl/148740a5769c640b3233406d04c5b58e/private_key[1708/1708]->” /etc/ssl/nginx/ nginx-repo.key “ Loaded plugins: rapidmirror nginx-plus | 2.9 kB 00:00:00 nginx-plus / x86_64 / primary_db | 137 kB 00:00:01 Loading mirror speeds from cached host file * base: mirrors.xmission.com * epel: mirror.hmc.edu * extras: centos.s.uw.edu * updates: mirrors.syringanetworks. net Dependency resolution – -> Checking running transactions —> 4-1 .el7.ngx.x86_64.rpm | 2.9 MB 00:00:20 Running transaction check Running transaction test Transaction test succeeded Running transaction Install: nginx-plus-1.13.4-1.el7.ngx.x86_64 1/1 — ——— —————————————– ——— ——– Thanks for using NGINX!
Find the NGINX Plus documentation here: /usr/share/nginx/html/nginx-modules-reference.pdf NGINX Plus is proprietary software. To complete!
[ [email protected] ~] #
That was easy !
Let’s start Nginx and verify the installation by accessing the server IP.
nginx start service
and as you can see, it is successful !
The procedure for stopping and starting remains the same as open source Nginx.
service nginx stop #to stop the service nginx start #to start the service nginx status #to check the status service nginx restart #to restart
As mentioned above, Plus provides live activity monitoring where you can check detailed metrics.
Current and Total Requests
requests per second
Response by HTTP Status Code
Size of traffic data sent and received
Upstream request details
Check out the demo site
Nginx Plus seems like the perfect solution for software-based load balancing to improve web performance and serve a large number of visitors at the same time.
Do you like Nginx? Try Nginx Plus; You will love it!