1.0 Introduction
This article describes how to run an example NGINX Enclave OS application on a compute node in Fortanix Confidential Computing Manager (CCM).
2.0 Running an Nginx Enclave OS Application
This section describes how to run an NGINX Enclave OS application on a compute node in Fortanix CCM.
2.1 Prerequisites
Ensure the following prerequisite is met:
An NGINX application must be created.
2.2 Run the Application
Perform the following steps:
Log in to Fortanix Armor Platform. For more information, Getting Started with Fortanix Armor.
Create a Fortanix Armor Identity and Access Management (IAM) group. For more information, refer to Create a Group.
Navigate to Fortanix CCM user interface (UI). For more information, refer to Fortanix Armor Solutions.
In the CCM UI left navigation panel, click Applications, and then click ADD APPLICATION.

Figure 1: Add application
Add an NGINX application. For more information, refer to Add Application.
Approve the domain for the NGINX application. For more information, refer to Domain and Application Build Approval.
On the application details page, click ADD BUILD.
Create an application build for the NGINX application by providing a required tag. For more information, refer to Create Application Build.
Approve the application build for the NGINX application. For more information, refer to Domain and Application Build Approval.
Run the following command to execute the application build:
sudo docker run -it --rm --privileged -v /run/nitro_enclaves:/run/nitro_enclaves -e RUST_LOG=debug -e NODE_AGENT=http://172.31.14.110:9092/v1/ -p 80:80 -p 443:443 513076507034.dkr.ecr.us-west-1.amazonaws.com/development-images/em-test-framework-nginx-9913:nitroWhere,
9092is the port on which the Node Agent listens.172.31.14.110is the Node Agent Host IP.em-test-framework-nginx-9913:nitrois the converted application image displayed in the BUILDS table.
NOTE
Use your own inputs for Node IP, Port, and Converted Image in the above format. The information in the example above is just a sample.
You can optionally pass the
ENCLAVEOS_DEBUGenvironment variable to run the application in debug mode.
To verify that the application is running, click Applications and verify that the application build is displayed as running on the application details page.