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

Pass instance types as resource, such that autoscaling can start/stop necessary machines #4765

Closed
Tracked by #4522
sanderegg opened this issue Sep 17, 2023 · 1 comment · Fixed by #4936
Closed
Tracked by #4522
Assignees
Labels
a:autoscaling autoscaling service in simcore's stack

Comments

@sanderegg
Copy link
Member

sanderegg commented Sep 17, 2023

  • the dv2 can pass the EC2 instance types with the tasks
  • autoscaling shall read this
@sanderegg sanderegg self-assigned this Sep 17, 2023
@sanderegg sanderegg added the a:autoscaling autoscaling service in simcore's stack label Sep 17, 2023
@sanderegg
Copy link
Member Author

check https://distributed.dask.org/en/stable/resources.html#specifying-resources

one can define an env variable such as:
DASK_DISTRIBUTED__WORKER__RESOURCES__EC2_TYPE=g4dn.xlarge dask worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:autoscaling autoscaling service in simcore's stack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant