Quick Start
Last updated
Was this helpful?
Last updated
Was this helpful?
Docker installed and running
Bun installed
Docker Hub account for publishing images
Phala Cloud API key
Clone the CLI repo
Log into your dashboard and select the logo in the top left corner.
Click your username and select "API Tokens".
Click Create Token and then copy your newly generated API Key.
Now we want to set the API Key for the CLI and launch our first CVM. Take the API Key you copied down then set it with the teecloud set-apikey
command.
Deploy one of the Dstack examples under the examples folder. This example with launch the timelock-nts example where a key is derived within the TEE then after 5 minutes, the private key is released.
Example Output:
Click on the Containers tab and get check out the logs.
You'll have access to your logs from your newly deployed Confidential VM in Phala Cloud.
For more information on the Timelock-NTS example, check out the information in the Dstack Examples Repo.
Congratulations! You have deployed your first CVM into the Phala Cloud. Let's move to more meaningful examples.