You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/running-an-mpc-node-in-tdx-external-guide.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -890,7 +890,7 @@ Use the following custom settings for MPC:
890
890
1. Launcher docker compose file - provided above.
891
891
2. VM HW setting (use exactly those settings, since vCPU/Memory are measured):
892
892
vCPU number=8, Memory = 64GB, disk = 1000 GB
893
-
3. Pre-launch Script and Init Script - both must be empty (a non-empty script fails attestation). Caution: the Pre-launch Script may not be empty by default - clear it before deploying.
893
+
3. Pre-launch Script and Init Script - both must be empty. They are part of the app-compose and are **measured** (see the warning below), so a non-empty script both fails attestation *and* changes the disk-sealing key. Caution: the Pre-launch Script may not be empty by default - clear it before deploying.
894
894
4. user-config - provided above
895
895
5. Toggles:
896
896
- KMS = disable
@@ -915,6 +915,8 @@ Use the following custom settings for MPC:
915
915
916
916

917
917
918
+
> **⚠️ Never change the app-compose (or the vCPU/memory) of a running node** — it will fail to start, since the disk is encrypted with a key derived from those measured inputs. If this happens, see [Troubleshooting: node won't start after an app-compose change](#node-wont-start-after-an-app-compose-change) to recover.
919
+
918
920
#### Using the script
919
921
920
922
The [`deploy-launcher.sh`](https://github.com/near/mpc/blob/main/deployment/cvm-deployment/deploy-launcher.sh) helper in`deployment/cvm-deployment/` handles both the template render and the dstack-vmm deploy. End-to-end flow:
0 commit comments