0.11
Multiple backends per project
Now, dstack run
leverages price data from multiple configured cloud providers and regions to automatically suggest the most cost-effective options.
To implement this change, we have modified the way projects are configured. You can now configure multiple clouds and regions within a single project.
Custom domains and HTTPS
Also, it is now possible to deploy services using HTTPS. All you need to do is configure a wildcard domain (e.g., *.mydomain.com
), point it to the gateway IP address, and then pass the subdomain you want to use (e.g., myservice.mydomain.com
) to the gateway property in YAML (instead of the gateway IP address).
Other changes
.dstack/profiles.yml
- The
project
property is no longer supported. - You can now use
max_price
to set the maximum price per hour in dollars.
dstack run
- Using the
dstack run
command, you are now able to utilize options such as--gpu
,--memory
,--env
,--max-price
, and several other arguments to override the profile settings.
Lastly, the local backend is no longer supported. Now, you can run everything using only a cloud backend.
The documentation is updated to reflect the changes in the release.
Migration
The dstack
version 0.11 update brings significant changes that break backward compatibility. If you used prior dstack
versions, after updating to dstack==0.11
, you'll need to log in to the UI and reconfigure clouds. We apologize for any inconvenience and aim to ensure future updates maintain backward compatibility.