Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Availability zones in configurations #2107

Open
un-def opened this issue Dec 17, 2024 · 0 comments
Open

[Feature]: Availability zones in configurations #2107

un-def opened this issue Dec 17, 2024 · 0 comments

Comments

@un-def
Copy link
Collaborator

un-def commented Dec 17, 2024

Problem

Currently, it's not possible to create a resource in a specific AZ. Given that some backends require the instances and volumes to belong not only to the same region, but also the same AZ, it can be a problem. For example, with AWS backend I cannot reliably create such a volume that would work with the existing fleet instance.

Solution

  • Add availability_zones: array[string] property to the fleet configuration
  • Add availability_zone: string property to the volume configuration
  • Display AZ in dstack fleet (or dstack fleet -v) output
  • Display AZ in dstack volume (or dstack volume -v) output

Workaround

No response

Would you like to help us implement this feature by sending a PR?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant