Upgrade Application
Seamless Upgrades in TEE Environments
One of the key advantages of Phala Cloud is the ability to upgrade your application even while it's running inside a Trusted Execution Environment (TEE). Thanks to the flexible architecture of the Dstack SDK, your application isn't permanently bound to specific hardware configurations.
Upgrade Process
Navigate to your CVM dashboard
Locate the CVM running the application you wish to upgrade
Click the Upgrade button to open the upgrade interface
In the upgrade window, you can:
Update your Docker Compose configuration
Modify environment variables
Adjust application settings
Important Considerations
⚠️ Note: The new environment variables will completely replace all existing variables. Be sure to include all required variables in your update, even those you don't intend to change.
Completing the Upgrade
After configuring your upgrade parameters:
Review all changes carefully
Click the Save Changes button to initiate the upgrade
Monitor the upgrade process through the CVM logs
The platform will handle the secure transition to your updated application while maintaining the TEE security guarantees.
Best Practices for Application Upgrades
Test your upgrades in a development environment before applying to production
Keep a backup of your current configuration before making changes
Schedule upgrades during periods of low user activity
Implement version tracking in your application to verify successful upgrades
Last updated
Was this helpful?