--- title: "Running an Example Application Using SGX Platform" slug: "running-an-example-application-using-sgx-platform-1" updated: 2026-06-26T16:28:15Z published: 2026-06-26T16:28:15Z canonical: "support.fortanix.com/running-an-example-application-using-sgx-platform-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Running an Example Application Using SGX Platform ## 1.0 Introduction The Fortanix Confidential Computing Manager (CCM) environment is designed with the goal of protecting any application. This article describes how to run a Flask Server application on a compute node. ## 2.0 Running a Flask Server Enclave OS Application ### 2.1 Prerequisites Ensure the following: - A Python Web Application should be created. - A group must be created. *For more information, refer to* [*Create a Group*](/v1/docs/users-guide-create-groups-1)*.* ### 2.2 Run an Enclave OS Application on Compute Node Perform the following steps: 1. Navigate to the **Application** menu item in the CCM UI left navigation panel, and click **+** **ADD APPLICATION**. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (3631).png?sv=2026-02-06&spr=https&st=2026-11-30T04%3A18%3A27Z&se=2026-11-30T05%3A18%3A27Z&sr=b&sp=r&sig=SH6VmSG0fWa7qXpSQreqMChIFQkzLutWI1RuHNt4Chs%3D) **Figure 1: Create new application** 2. Add a Python Web Application. *For more information, refer to* [*Add and Edit an Application*](/v1/docs/users-guide-add-and-edit-an-application-1#40-add-enclave-os-application)*.* 3. Approve the domain for the Python Web Application. *For more information, refer to* [*Tasks*](/v1/docs/users-guide-domain-and-application-image-approval-1). 4. In the detailed view of the application, click **+ ADD IMAGE**. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (3635).png?sv=2026-02-06&spr=https&st=2026-11-30T04%3A18%3A27Z&se=2026-11-30T05%3A18%3A27Z&sr=b&sp=r&sig=Jum1xbLcVpHCNM3ECddU7OuPecPapf0G6ApY6nEvwLY%3D) **Figure 2: Create an image** 5. Create an image of the Python Web Application by providing a proper tag. *For more information, refer to* [*Create an Image*](/v1/docs/users-guide-create-an-image-1#30-create-an-image-for-enclave-os-applications). 6. Approve the image for the Python Web Application. *For more information, refer to* [*Tasks*](/v1/docs/users-guide-domain-and-application-image-approval-1). 7. Run the application image using the following command: ```bash docker run --volume /dev:/dev -v /var/run/aesmd/aesm.socket:/var/run/aesmd/aesm.socket -e NODE_AGENT=http://52.152.206.164:9092/v1/ fortanix-private/python-flask-sgx ``` Where, - `9092` is the port on which Node Agent listens up. - `52.152.206.164` is the Node Agent Host IP. - `fortanix-private/python-flask-sgx` is the converted app that can be found in the **Images** under the **Image Name** column in the Images table. ![mceclip5.png](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/20075959641236.png?sv=2026-02-06&spr=https&st=2026-11-30T04%3A18%3A27Z&se=2026-11-30T05%3A18%3A27Z&sr=b&sp=r&sig=12rDEGl7bObSGCxyLmW7wlD83nmxUfkQGt27vi%2BxbcE%3D) **Figure 3: Run the application** > [!NOTE] > 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. > - Add the following flag along with the command to get more details: > - `-e ENCLAVEOS_LOG_LEVEL=debug` - to get debug log > - `-p 7622:80 -p 8038:443` - to map the application custom port to `80` or `443` 8. To verify that the application is running, click the **APPLICATION** from the list in the Fortanix CCM UI and verify that there is a running application image associated with it and displayed with the application in the detailed view of the application. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (3636).png?sv=2026-02-06&spr=https&st=2026-11-30T04%3A18%3A27Z&se=2026-11-30T05%3A18%3A27Z&sr=b&sp=r&sig=k3vyzSJvIgYdKiTVEDz0SAGo8ifMRDu7%2B%2FfLP5paqNU%3D) **Figure 4: Deployed application** ## Related - [Add Application](/fortanix-ccm-add-application.md) - [Overview and Definitions](/fortanix-ccm-overview-and-definitions.md)