Skip to main content

Command: phala deploy

Syntax

Description

Deploy new CVM or update existing one

Options

Advanced Options

Deprecated Options

Global Options

Examples

  • Deploy new CVM
  • Deploy with environment variables
  • Deploy with env file
  • Deploy with specific instance type
  • Deploy to specific region
  • Deploy from a whole app-compose file
  • Deploy with a generated launch token
  • Deploy with Ethereum KMS
  • Update existing CVM by ID
  • Update CVM with new compose file and env
  • Update CVM and wait for completion
On an update, --wait first waits for the update operation. If the update fails, the command stops at once with the operation’s status and error message. Otherwise it then waits until the CVM is back in the state it had before: running, or stopped if it was stopped. For a CVM that uses the bash runner, --compose (-c) sends the file as the CVM’s bash_script.
  • Update CVM from phala.toml
  • Deploy with logs and sysinfo disabled
  • Deploy and list on Trust Center
  • Turn on container cleanup for an existing CVM
  • Update existing CVM to disable logs
  • Prepare update for multisig approval
  • Commit a prepared update