dstack
dstack copied to clipboard
Remove the automatic configuration of AWS/GCP/Azure/OCI backends
Currently, we have to ways to configure backends:
- Automatic -
dstack serverautomatically detects credentials and creates~/.dstack/server/config.yml - Explicit - when the user manually create
~/.dstack/server/config.yml
Problems:
- Maintaining two ways is hard also because it requires documentation and explaining when to use which.
- The automatic configuration doesn't allow configuring many properties such as VPC, etc. More often than not, it's better if the user configures it explicitely.
- The automatic configuration works only for a subset of providers.
Solution: Remove the automatic configuration and always expect the explicit configuration from the user