Deploy dstack-vmm on other TDX hosts to serve user workloads

After the KMS and dstack-gateway are deployed, you can deploy dstack-vmm on other TDX hosts to serve user workloads.

terminal # 3

Open new terminal for the vmm

Update Configuration

Edit the vmm.toml file to set the KMS and dstack-gateway URLs:

# vmm.toml
[cvm]
kms_urls = ["https://kms.test2.dstack.phala.network:9201"]
gateway_urls = ["https://gateway.test2.dstack.phala.network:9202"]

Then restart the dstack-vmm to apply the new configuration.