Add an NGINX App Protect Instance
Learn how to register an NGINX App Protect instance with NGINX Controller for use with the ADC module.
Follow the directions in this topic to deploy NGINX App Protect and add the instance to NGINX Controller.
Install NGINX App Protect on a host accessible by your NGINX Controller instance by following the appropriate steps for your operating system in the Using NGINX App Protect with NGINX Controller guide.
If you install NGINX App Protect by using any of the OS-specific install guides, do not make changes to the
The NGINX Controller Agent manages
nginx.confsettings and will make the appropriate adjustments for you.
Take the steps below to add the NGINX App Protect instance by using the NGINX Controller user interface.
Take the following steps to add an instance to NGINX Controller:
Open the NGINX Controller user interface and log in.
Select the NGINX Controller menu icon, then select Infrastructure.
On the Infrastructure menu, select Instances > Overview.
On the Instances overview page, select Create.
On the Create Instance page, select Add an existing instance.
Add a name for the instance. If you don’t provide a name, the hostname of the instance is used by default.
To add the instance to an existing Instance Group, select an Instance Group from the list. Or to create an Instance Group, select Create New.
To add the instance to an existing Location, select a Location from the list. Or to create a Location, select Create New.Important:
Once set, the Location for an instance cannot be changed. If you need to change or remove the Location for an instance, you must remove the instance from NGINX Controller, and then add it back.Important:
Instances and the instance groups they belong to should specify the same location; however, this requirement is not currently enforced. If different locations are specified, the instance group’s location takes precedence. This is important to remember when assigning locations to workload groups.
(Optional) By default, registration of NGINX Plus instances is performed over a secure connection. To use self-signed certificates with the Controller Agent, select Allow insecure server connections to NGINX Controller using TLS. For security purposes, we recommend that you secure the Controller Agent with signed certificates when possible.
Use SSH to connect and log in to the NGINX instance that you want to connect to NGINX Controller.
wgetcommand that’s shown in the Installation Instructions section on the NGINX instance to download and install the Controller Agent package. When specified, the
-loptions for the
install.shscript refer to the instance name and Location, respectively.Note:
Make sure you enter the commands to download and run the
install.shscript on the NGINX Plus system, and not on the NGINX Controller.
NGINX Controller 3.6 and earlier require Python 2.6 or 2.7. You’ll be prompted to install Python if it’s not installed already. Python is not required for NGINX Controller v3.7 and later.
After a few minutes, the NGINX instance will appear on the Instances overview page.