Command: cvms

Syntax

phala cvms [options] [command]

Description

The phala cvms command is used to manage the CVMs deployed to a user’s account in Phala Cloud. These include fetching information about the deployments, deploying new CVMs, and managing the CVMs from the command line.
Usage: phala cvms [options] [command]

Manage Phala Confidential Virtual Machines (CVMs)

Options:
  -h, --help                      display help for command

Commands:
  attestation [options] [app-id]  Get attestation information for a CVM
  create [options]                Create a new CVM
  delete [options] [app-id]       Delete a CVM
  get [options] [app-id]          Get details of a CVM
  list|ls [options]               List all CVMs
  start [app-id]                  Start a stopped CVM
  stop [app-id]                   Stop a running CVM
  resize [options] [app-id]       Resize resources for a CVM
  restart [app-id]                Restart a CVM
  upgrade [options] [app-id]      Upgrade a CVM to a new version
  help [command]                  display help for command

Examples

  • Display help
phala cvms --help
  • Create a new CVM
# without env file
phala cvms create
# with env file
phala cvms create -e <path-to-env-file>
  • Get a CVM’s Information
phala cvms get app_00c6b8e73822fc86f64f2335d6812081d5ba2beb
  • List all CVMs
phala cvms ls
  • Fetch. an Attestation of a CVM
phala cvms attestation app_00c6b8e73822fc86f64f2335d6812081d5ba2beb
  • Start a CVM
phala cvms start app_00c6b8e73822fc86f64f2335d6812081d5ba2beb
  • Stop a CVM
phala cvms stop app_00c6b8e73822fc86f64f2335d6812081d5ba2beb
  • Delete a CVM
phala cvms delete app_5592440286f5947743f58975a8335459d6fee5cd
  • Resize a CVM
phala cvms resize app_00c6b8e73822fc86f64f2335d6812081d5ba2beb
  • Restart a CVM
phala cvms restart app_00c6b8e73822fc86f64f2335d6812081d5ba2beb