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

Support for AWS ECS Backend #358

Open
AndrewHannigan opened this issue Dec 8, 2020 · 7 comments
Open

Support for AWS ECS Backend #358

AndrewHannigan opened this issue Dec 8, 2020 · 7 comments

Comments

@AndrewHannigan
Copy link

Requesting support for AWS ECS with Fargate support. A previous issue was opened with this same request, but closed in favor of Dask CloudProvider. I require Dask Gateway so admins can ultimately control allocation of resource upon request from users, but we like to run everything on ECS with Fargate. ECS support would really streamline the deployment of Dask Gateway for us, as it would not introduce maintenance of a Kubernetes/Hadoop cluster into the mix while still letting admins keep control of resource allocation.

@kinghuang
Copy link

Although I closed my request in #317, I'm still interested in having this in the gateway, too.

@AndrewHannigan AndrewHannigan changed the title Support AWS ECS Backend Support for AWS ECS Backend Dec 8, 2020
@jcrist
Copy link
Member

jcrist commented Dec 9, 2020

I think this would be a fine thing to support, but I'm not likely to work on this myself in the near future. For reference on how one might go about adding this in a PR, see my comment here.

@AndrewHannigan
Copy link
Author

AndrewHannigan commented Dec 9, 2020

Gotcha. @jcrist Does dask gateway use dask cloudprovider at all under the hood for provisioning clusters dynamically? Or did the cloud provider project come after the gateway project? All the functionality that I would need is definitely available in the dask cloudprovider, but I noticed your comments on what a PR might look like didn't mention dask cloudprovider. Just curious if all the work that went into cloudprovider can be leveraged by the gateway.

@jcrist
Copy link
Member

jcrist commented Dec 9, 2020

Due to the requirements of dask-gateway (DB, resilient to failure, multi-user, scalability issues, etc...), we have to re-implement all backends and don't make use of other dask cluster-managers. In practice this isn't too bad. See #153 (comment) for more info.

@jacobtomlinson
Copy link
Member

I'm still disappointed this is the case. Given all the work that goes into packages like dask-cloudprovider it's a shame that effort can't be leveraged here.

I would be very interested in reopening the conversation around how we can better align things to build reusable components.

@joncourt
Copy link

There is a ServerDisconnected error issue also with a Fargate based EKS deployment... is that related to this issue or should I raise a new one?

@jacobtomlinson
Copy link
Member

That is not related to this issue. Here we are discussing a pure ECS backend implementation, not Kubernetes.

@joncourt If you could raise a new issue that would be great!

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

No branches or pull requests

5 participants