--- title: "Enroll a Compute Node (bare metal) - AMD SEV-SNP" slug: "fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp" updated: 2026-11-19T07:09:07Z published: 2026-11-19T07:09:07Z canonical: "support.fortanix.com/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp" --- > ## 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. # Enroll a Compute Node (bare metal) - AMD SEV-SNP ## 1.0 Introduction This article describes how to enroll a compute node on a bare-metal **Advanced Micro Devices (AMD) Secure Encrypted Virtualization (SEV) - Secure Nested Paging (SNP)** platform in Fortanix Confidential Computing Manager (CCM). You can enroll a compute node in either of the following ways: - **Installer script**: Run the node agent installer on the Ubuntu host as mentioned in [*Section 3.0: Enroll a Compute Node Using the Installer Script*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#30-enroll-a-compute-node-using-the-installer-script). - **Helm chart**: Deploy the containerized node agent on a Kubernetes cluster by using Helm as mentioned in [*Section 4.0: Enroll a Compute Node Using the Helm Chart*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#40-enroll-a-compute-node-using-the-helm-chart). ## 2.0 Generate a Join Token A join token is used by the compute node to authenticate itself with Fortanix CCM. The same token is used for both enrollment methods. Perform the following steps to generate a join token in Fortanix CCM: 1. Log in to Fortanix Armor Platform. *For more information,* [*Access and Set Up Fortanix Armor*](/v1/docs/access-and-set-up-fortanix-armor#20-log-in-to-fortanix-armor)*.* 2. Navigate to the Fortanix CCM user interface (UI). *For more information, refer to* [*Fortanix Armor Solutions*](/v1/docs/fortanix-armor-solutions)*.* 3. In the CCM UI left navigation panel, click **Infrastructure → COMPUTE NODES → AMD SEV-SNP**, and then click **ADD NODE**. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (3896).png?sv=2026-02-06&spr=https&st=2026-11-23T20%3A46%3A41Z&se=2026-11-23T21%3A46%3A41Z&sr=b&sp=r&sig=NnrTcJjTbP8p4H6NvAADFHKNn%2FrVpboyT3JzFed9yYQ%3D) **Figure 2: Add node** 4. In the **Enroll Compute Node** window, click **COPY** to copy the Join Token. This Join Token is used by the compute node to authenticate itself. ## 3.0 Enroll a Compute Node Using the Installer Script ### 3.1 Prerequisites Ensure the following: - Simultaneous Multithreading (SMT) is disabled in BIOS when using AMD SEV-SNP. If enabled, the Confidential Virtual Machine (CVM) launch may fail with `fw_error=7 'Policy is not allowed'` error. - You have completed all required CPU, GPU, and system configuration prerequisites as outlined in the [*NVIDIA Deployment Guide for Confidential Computing*](https://docs.nvidia.com/cc-deployment-guide-tdx.pdf). - Check the [*Secure AI Compatibility Matrix*](https://www.nvidia.com/en-us/data-center/solutions/confidential-computing/secure-ai-compatibility-matrix/) to view the supported combinations of NVIDIA GPUs, VBIOS versions, CUDA driver versions, and Confidential Computing modes. - `qemu-system` must be installed on the host before starting the Node Agent. Run the following command to verify if QEMU is already installed: ```bash which qemu-system-x86_64 ``` If not already installed, run the following commands to install the package: ```bash sudo apt-get update sudo apt-get install -y qemu-system ``` ### 3.2 Ubuntu 26.04 Node Agent *Download the Ubuntu Node Agent installer from* [*here*](/v1/docs/fortanix-node-agent-software-amd-sev-snp-platform)*.* Perform the following steps to enroll the Ubuntu 26.04 compute node: 1. Run the following commands to extract the contents of the `SNP-Node-Agent-Installer.tar.gz` package and open the folder: ```bash tar -zxvf SNP-Node-Agent-Installer.tar.gz cd em-agent-installer-sevsnp ``` 2. Open the `INSTALLER_README.md` file containing the steps to enroll the compute node in Fortanix CCM. ![Text Description automatically generated with medium confidence](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/fortanix-confidential-computing-manager-enroll-compute-nodes-on-bare-metal---intel-tdx-v2.0-image-ktlj9vqg.png?sv=2026-02-06&spr=https&st=2026-11-23T20%3A46%3A41Z&se=2026-11-23T21%3A46%3A41Z&sr=b&sp=r&sig=7Ht1gcAEbN6KzulPZjBMNmWDXijzpCZXw3ZJY3DgzWk%3D) **Figure 1: Installer Readme.md** 3. Run the following command to execute the `installer.sh` script: ```bash sudo bash installer.sh ``` Where, `<join-token>` is the token copied from Fortanix CCM. *For more information, refer to* [*Section 2.0: Generate a Join Token*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#20-generate-a-join-token). > [!NOTE] > NOTE > > For existing Fortanix CCM SaaS users, run the following commands to install the latest CCM node agent and update the `ccm.fortanix.com` endpoint to `api.armor.fortanix.com`: > > ```bash > sudo apt update > sudo apt upgrade em-agent > ``` ## 4.0 Enroll a Compute Node Using the Helm Chart You can deploy the Fortanix CCM node agent (`em-agent`) as a container in a Kubernetes cluster using a Helm chart. The Helm chart deploys the Node Agent as a DaemonSet, ensuring that one Node Agent pod runs on each eligible AMD SEV-SNP node in the cluster. ### 4.1 Prerequisites Ensure the following: - A Kubernetes cluster with AMD SEV-SNP enabled nodes. - `kubectl` installed and configured to access the Kubernetes cluster. - Helm 3.8 or later installed for Open Container Initiative (OCI) registry support. - Access to the container image registry that hosts the Fortanix Node Agent image. - Permissions to run privileged containers. The node agent requires the `NET_ADMIN` and `SYS_ADMIN` capabilities and host network access. - SMT disabled in the BIOS, as described in [*Section 3.1: Prerequisites*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#31-prerequisites). ### 4.2 Create the Namespace Run the following command to create the Kubernetes namespace for the node agent: ```bash kubectl create namespace em-agent-snp ``` ### 4.3 Create the Authentication Secret The Helm chart requires a Kubernetes Secret that contains the agent manager authentication token. Create this Secret in the target namespace before installing the Helm chart. Run the following command: ```bash kubectl create secret generic em-agent-secret \  --namespace em-agent-snp \  --from-literal=agent-manager-auth-basic-token="" ``` Where, `<join-token>` is the token copied from Fortanix CCM. *For more information, refer to* [*Section 2.0: Generate a Join Token*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#20-generate-a-join-token)*.* ### 4.4 Create the Image Pull Secret The Helm chart uses an image pull secret named `em-agent-image-registry-key` to authenticate with the container image registry. Create this Secret in the target namespace before you install the chart. Use the command corresponding to the registry that hosts the Node Agent container image. If the image is hosted on Docker Hub, run the following command: ```bash kubectl create secret docker-registry em-agent-image-registry-key \  --namespace em-agent-snp \  --docker-server=https://index.docker.io/v1/ \  --docker-username= \  --docker-password= ``` Where, - `<dockerhub-username>`: Your Docker Hub username. - `<dockerhub-access-token-or-password>`: Your Docker Hub access token or password. ### 4.5 Create the ConfigMap (Optional) Use a Kubernetes ConfigMap to provide additional environment variables to the node agent. Create ConfigMap using either of the following methods: **Option A: Use the kubectl command with multiple literal values** Run the following command, replacing the example environment variables and values with the supported configuration parameters for your deployment: ```bash kubectl create configmap em-agent-config \  --namespace em-agent-snp \  --from-literal=EXTRA_ENV_VAR_1="value1" \  --from-literal=EXTRA_ENV_VAR_2="value2" \  --from-literal=LOG_LEVEL="info" \  --from-literal=FEATURE_FLAG="enabled" ``` **Option B: Use a YAML manifest** 1. Create a file named `configmap.yaml` with the following content: ```bash apiVersion: v1 kind: ConfigMap metadata:  name: em-agent-config  namespace: em-agent-snp data:  EXTRA_ENV_VAR_1: "value1"  EXTRA_ENV_VAR_2: "value2"  LOG_LEVEL: "info"  FEATURE_FLAG: "enabled" ``` 2. Run the following command to apply the manifest to create the ConfigMap: ```bash kubectl apply -f configmap.yaml ``` To enable the ConfigMap integration during Helm chart installation, add the following options to the helm install command in [*Section 4.7: Install the Node Agent Helm Chart*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#47-install-the-node-agent-helm-chart): ```bash --set emAgentSnp.configMap.enabled=true \ --set emAgentSnp.configMap.name=em-agent-config ``` ### 4.6 Configure the ServiceAccount (Optional) By default, the Helm chart creates a dedicated ServiceAccount named `em-agent-snp-sa` for the Node Agent DaemonSet. If you want to use an existing ServiceAccount instead, perform the following steps: 1. Run the following command to create the ServiceAccount: ```bash kubectl create serviceaccount em-agent-snp-sa --namespace em-agent-snp ``` 2. Run the following command to install or upgrade the Helm chart using the existing ServiceAccount: ```bash helm upgrade --install em-agent-snp ./em-agent-snp \  --namespace em-agent-snp \  --create-namespace \  --set emAgentSnp.serviceAccount.create=false \  --set emAgentSnp.serviceAccount.name=em-agent-snp-sa ``` > [!NOTE] > NOTE > > Based on your cluster security policies, such as restricted Pod Security Standards or OpenShift Security Context Constraints (SCCs), ensure that the ServiceAccount has the permissions to run privileged containers with the `NET_ADMIN` and `SYS_ADMIN` capabilities and host network access. ### 4.7 Install the Node Agent Helm Chart You can install the chart from the Docker Hub Open Container Initiative (OCI) registry or from a local directory. #### 4.7.1 Install from the Docker Hub OCI Registry 1. Run the following command to log in to the registry: ```bash helm registry login registry-1.docker.io ``` Enter your Docker Hub username and password or access token when prompted. 2. Run the following command to install the Helm chart: ```bash helm install em-agent-snp oci://registry-1.docker.io//em-agent-snp-chart \  --version \  --namespace em-agent-snp \  --create-namespace ``` Where, For example: ```bash helm install em-agent-snp \  oci://registry-1.docker.io/fortanix/em-agent-snp-chart \  --version 5.2.4525 \  --namespace em-agent-snp \  --create-namespace ``` - `<dockerhub-username>`: The Docker Hub account that hosts the `em-agent-snp-chart` Helm chart. - `<ccm-version>`: The Fortanix CCM version for which you want to install the Node Agent Helm chart. If you created a ConfigMap or configured an existing ServiceAccount in the previous sections, include the corresponding `--set options` described in [*Sections 4.5: Create the ConfigMap (Optional)*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#45-create-the-configmap-optional) and [*Section 4.6: Configure the ServiceAccount (Optional)*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#46-configure-the-serviceaccount-optional) in this installation command. #### 4.7.2 Install from a Local Directory Run the following command from the directory that contains the chart: ```bash helm install em-agent-snp ./em-agent-snp \  --namespace em-agent-snp \  --create-namespace ``` If you created a ConfigMap or configured an existing ServiceAccount in the previous sections, include the corresponding `--set options` described in [*Sections 4.5: Create the ConfigMap (Optional))*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#45-create-the-configmap-optional) and [*Section 4.6: Configure the ServiceAccount (Optional)*](/v1/docs/fortanix-ccm-enroll-a-compute-node-bare-metal-amd-sev-snp#46-configure-the-serviceaccount-optional) in this installation command. ## 5.0 Validate the Enrolled Compute Node After the compute node is successfully enrolled, it appears in the **COMPUTE NODES** overview table in Fortanix CCM. ### 5.1 Installer Script Method Perform the following steps to debug the `em-agent` service: 1. Run the following command to view the logs: ```bash journalctl -xe | grep em-agent ``` 2. Run the following command to view the status of the `em-agent` service or check the system logs directly: ```bash systemctl status em-agent ``` ### 5.2 Helm Chart Method Perform the following steps to verify the `em-agent` deployment: 1. Run the following command to check that the `em-agent` pods are running: ```bash kubectl get pods --namespace em-agent-snp ``` 2. Run the following command to view the pod logs: ```bash kubectl logs --namespace em-agent-snp ``` Where, `<pod-name>` is the name of the `em-agent` pod, obtained from the output of *Step 1*.