Skip to main content

provisionCvm

POST /cvms/provision Provisions a new CVM. This is the first phase of the two-phase deployment flow — call commitCvmProvision to finalize. Parameters: compose_file object: Returns: ProvisionCvm Example — PHALA KMS (default):
Example — On-chain KMS (ETHEREUM/BASE):
For the full on-chain KMS flow including environment encryption and wallet setup, see Deploying with Onchain KMS.
The combined size of docker_compose_file and pre_launch_script must not exceed 200KB.

safeProvisionCvm

Safe variant that returns a SafeResult<ProvisionCvm> instead of throwing on errors.