Bare Metal Deployment
Run a Verifiable Container Runtime on your own AMD SEV-SNP or Intel TDX server, launched with QEMU by vcomp-qemu-cli.
A bare metal deployment runs the CRT on your own server instead of a cloud provider’s confidential VM. QEMU boots the CRT directly inside an AMD SEV-SNP or Intel TDX guest, and the CPU measures each boot component, as described in the Deployment Overview. You are responsible for the hardware, firmware and host OS.
Before you start
You need:
- A server that meets the bare metal entries in the support matrix, running Ubuntu 26.04 or later.
- The host prepared for confidential computing: BIOS settings, kernel, and for Intel TDX the attestation services (PCCS and QGS). Follow System Requirements and BIOS & Host Config; the host setup is the same as for Verifiable Confidential Containers. For an NVIDIA GPU, also enable its confidential computing mode as described there.
- Your CA’s single-line base64 value (
ca.singleline), and an operator certificate signed by it. See Operator Certificates (mTLS).
1. Install the launcher
-
Install QEMU, OVMF and
screen. The launcher uses the host’s QEMU and/usr/share/ovmf/OVMF.fd, and runs each CRT in ascreensession:shsudo apt install qemu-system-x86 ovmf screen -
Install the full
vcomp-clipackage from the package index your EQTY contact gives you. It providesvcomp-qemu-clias well as the command line tools. Thevcomp_cli_litepackage on the Command Line page does not include the launcher.shpip install -U --extra-index-url "$EQTY_PACKAGE_INDEX" vcomp-cli vcomp-qemu-cli --help -
Make the bundled helper binaries executable. Some package versions install them without the executable bit:
shASSETS="$(python3 -c 'import os, vcomp_cli; print(os.path.dirname(vcomp_cli.__file__))')/assets" sudo chmod +x "$ASSETS/eqty-cli" "$ASSETS/sev-measure-sign"
2. Prepare the work directory
The launcher keeps its state under /images/work, one subfolder per CRT. To use another
directory, set WORK_DIR, and on AMD also AMD_ID_KEY and AMD_ID_AUTHOR.
-
Create the directory and place the CRT root filesystem image in it:
shsudo mkdir -p /images/work sudo cp rootfs.tgz /images/work/ -
Create the CRT’s storage. The data drive becomes the encrypted internal store inside the TEE and holds Docker images and job data, so size it for the images and models you will run. The external drive sits outside the TEE and backs the file browser; it is optional.
shcd /images/work fallocate -l 100G data.img && mkfs.ext4 -L data data.img fallocate -l 50G external.img && mkfs.ext4 -L external external.img -
AMD only. The launcher signs the boot components for SEV-SNP with an ID key and an author key. Generate them once:
shcd /images/work openssl ecparam -name secp384r1 -genkey -noout -out id-key.pem openssl ecparam -name secp384r1 -genkey -noout -out author-key.pem
3. Write the configuration
Create /images/work/config.json. This example runs one CPU-only CRT on standard ports, so the
Quick Start URLs work unchanged. Replace the placeholders:
{
"id": 1,
"cpu": "amd",
"cores": 16,
"ram": 64,
"rootfs": {
"src": "/images/work/rootfs.tgz",
"hash": "<rootfs SHA256 from EQTY>",
"format": "tar-as-block",
"rootfs_source": "vda"
},
"data_drive": "/images/work/data.img",
"external_drive": "/images/work/external.img",
"internal": {
"size": "90G",
"insecure": false,
"integrity": false
},
"gpu": { "enabled": false },
"network": {
"ssl": true,
"docker_api": true,
"portshift": false
},
"cab64": "<contents of ca.singleline>"
}- Set
cputo"intel"on a TDX host. - Check the image against its hash before you start:
sha256sum /images/work/rootfs.tgz. - To pass through NVIDIA GPUs, run several CRTs on one host, or tune storage and keys, see the vcomp-qemu-crt configuration reference.
4. Start the CRT
-
If the configuration passes through a GPU, load the VFIO driver first:
shsudo modprobe vfio_pci -
Start the CRT:
shsudo vcomp-qemu-cli start /images/work/config.json -
Watch it boot. The session is named
TEEfollowed by the CRT’sid; detach withCtrl-A D:shsudo screen -x TEE1The first boot verifies the root filesystem and sets up the encrypted store, which takes a few minutes, longer with
integrityenabled.
The CRT listens on the host’s IP address: the API and web console on port 447, HTTPS for your workloads on 443, and the file browser on 446. Continue with the Quick Start, using the host’s IP address as the CRT address.
Stop the CRT
sudo vcomp-qemu-cli stop 1The argument is the CRT’s id. Stopping kills the VM; the encrypted internal store on
data.img is kept for the next start.
Troubleshooting
See Troubleshooting in the configuration reference for TEE detection, GPU passthrough, ports and hash mismatches.