--- title: "Using Fortanix Confidential Computing Manager with PostgreSQL" slug: "using-fortanix-ccm-with-postgresql" updated: 2026-09-18T08:53:25Z published: 2026-09-18T08:53:25Z canonical: "support.fortanix.com/using-fortanix-ccm-with-postgresql" --- > ## 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. # Using Fortanix Confidential Computing Manager with PostgreSQL ## 1.0 Introduction This article describes how to deploy a PostgreSQL (PSQL) image in an Amazon Web Services (AWS) Nitro Enclave using Fortanix Confidential Computing Manager (CCM). PostgreSQL, commonly referred to as Postgres, is an object-relational database management system (ORDBMS) that emphasizes extensibility and standards compliance. As a database server, PostgreSQL securely stores and manages data and provides access to that data for applications running on the same system or across a network. ## 2.0 Prerequisites Ensure the following: - A Fortanix Armor account. - An AWS EC2 instance with AWS Nitro support and Docker installed, enrolled in Fortanix CCM. ## 3.0 Deploy PostgreSQL on AWS Nitro ### 3.1 Create an Application Perform the following steps to create an application using the Fortanix CCM UI: 1. In the CCM UI left navigation panel, navigate to **Applications** and then on the **ACTIVE APPLICATIONS** tab and click **ADD APPLICATION**. 2. In the **Add Application** form, 1. Under **Select application type**, select **Confidential Container - Enclave OS**. 2. Under **Select platform type**, select **AWS Nitro**. 3. Click **NEXT**. 3. In the **Add application** form, enter the application details and click **ADD APPLICATION**. *For detailed instructions, refer to* [*Add Application*](/v1/docs/fortanix-ccm-add-and-edit-an-application)*.* ### 3.2 Create an Application Build Perform the following steps to create a build using the Fortanix CCM UI: 1. In the application details page, go to the **BUILDS** tab and click **ADD BUILD**. 2. In the **Add Build** form: 1. Enter the tag of the application input Docker image. 2. Enter the registry credentials for the output image. Registry credentials are used to access the private Docker registry where the image will be pushed. The input image does not require credentials because it is stored in a public registry. 3. Click **ADD BUILD**. *For detailed instructions, refer to* [*Create Application Build*](/v1/docs/fortanix-ccm-create-a-build)*.* ### 3.3 Approve the Application Build From the CCM UI left navigation panel, select **Tasks**. On the **Tasks** page, select the build task and click **APPROVE**. ### 3.4 Run the Application On the AWS Nitro compute node, run the converted application using the following command: ```bash $ sudo docker run -it --rm -e ALLOW_EMPTY_PASSWORD=yes -e RUST_LOG=info –privileged -e NODE_AGENT= -v /run/nitro_enclaves:/run/nitro_enclaves --pull=always ``` Where, - `9092`: The default port on which the Node Agent listens. - `<node-agent-ip>`: The IP address of the compute node enrolled in Fortanix CCM. You can find this value on the **Compute Nodes** page under the **Infrastructure** tab. - `<converted-image-name:tag>`: The converted PostgreSQL application build. For example, ```bash $ sudo docker run -it --rm -e ALLOW_EMPTY_PASSWORD=yes -e RUST_LOG=info –privileged -e NODE_AGENT=http://172.31.14.110:9092/v1/ -v /run/nitro_enclaves:/run/nitro_enclaves --pull=always ``` Where, `<image_name:tag>` starts a PostgreSQL server in the AWS Nitro enclave. ![PSQL-NitroRun.png](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/12784086877332.png?sv=2026-02-06&spr=https&st=2026-11-30T23%3A01%3A29Z&se=2026-12-01T00%3A01%3A29Z&sr=b&sp=r&sig=EBgfafPtTbIXmYRwHm2JlzEjiwQz50RN8SlRkw9XL%2BI%3D) **Figure 1: PostgreSQL Server** ### 3.5 Connect to the PostgreSQL Server 1. Run the following command to start the PostgreSQL client: ```bash $ sudo docker run -it psql -h ``` Where, - `<converted_image_name:tag>`: The converted application image name and tag. - `<server_container_ip>`: The IP address of the PostgreSQL server container. 2. Run the following command to identify the IP address of the PostgreSQL server container: ```bash $ sudo docker inspect ``` For example, ```bash $ sudo docker run -i bitnami/postgresql:latest psql -h 172.17. 0.0 -l ``` This command starts the PostgreSQL client and connects to the PostgreSQL server. ![PSQL-_Client.png](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/12784094641684.png?sv=2026-02-06&spr=https&st=2026-11-30T23%3A01%3A29Z&se=2026-12-01T00%3A01%3A29Z&sr=b&sp=r&sig=Dm3X5wFxAVo5ih9ctKl5nb7VG%2F%2FymXO6uRC%2Bm5imwVE%3D) **Figure 2: PSQL client** ### 3.6 Verify the Application Perform the following steps to verify that the application is running: 1. In the Fortanix CCM UI, navigate to **Applications**. 2. Open the application details page. 3. Verify that a running application build is displayed for the application. > [!NOTE] > NOTE > > File persistence is currently not supported for converted PostgreSQL applications. Fortanix Armor is a comprehensive cybersecurity solution that protects data and applications across on-premises, hybrid, and multi-cloud environments. It integrates Fortanix solutions into a single unified product, securing data throughout its lifecycle. Built on the **Confidential Computing** **Platform**, it ensures real-time encryption of data at rest, in transit, and during processing. Additionally, it includes platform services such as Identity and Access Management (IAM), Key Management Service (KMS), and Audit and Monitoring to simplify security management. ## Related - [Security Objects Tokenization](/fortanix-dsm-security-objects-tokenization.md) - [Sign Up for Fortanix DSM SaaS](/sign-up-for-fortanix-data-security-manager-saas.md) - [Add Application](/fortanix-ccm-add-application.md) - [Amazon Elastic Kubernetes Service with Fortanix Confidential Computing Manager](/amazon-elastic-kubernetes-service-with-fortanix-ccm.md)