NASA-IMPACT / veda-jupyterhub

VEDA JupyterHub technical planning and documentation
1 stars 1 forks source link

Objective JH-7: Ephemeral Public Access Hub #47

Closed batpad closed 1 week ago

batpad commented 3 months ago

Motivation

mybinder.org has been a phenomenal success in making interactive computation accessible to large swathes of folks. By simply clicking a link, without any login requirements, end users (and lay people) can explore computational narratives and notebooks, with environments (and contents) dynamically built as needed. It would be useful to experiment with a VEDA adjacent ephemeral instance.

Proposal

Deploy a mybinder.org-like public access (no authentication required) ephemeral hub (no persistent storage) with capped usage control (capped via total max amount of nodes available to be used at any given time).

Owner(s)

Success Criteria

batpad commented 3 months ago

@yuvipanda - can we come up with a list of decisions that need to be made / questions that need answering here for us to proceed?

I'll start, but perhaps there's also a good check-list or so from the 2i2c side that we can work with @wildintellect to get filled / questions answered by the appropriate people.

@yuvipanda I think if we can compile a list of questions that we would need specific answers for to go ahead with the ephemeral hub setup, @wildintellect can help us get answers so that we can go ahead here.

wildintellect commented 3 months ago

Requested timeline is to have this feature available before AGU in December. CC: @freitagb

yuvipanda commented 3 months ago

As a step 1, @batpad can you create an issue patterned around https://github.com/2i2c-org/infrastructure/issues/4246 (a template of sorts we use for new deployments like this) in the infrastructure repo?

I would say we start this with no login at all, and begin by capping this to max of 1 r5.xlarge node only (and we can go from there). Once you fill out the template there, i can add additional info about this node cap.

smarru commented 2 months ago

@yuvipanda whats your experience with mybinder on keeping the auth open with no login at all. Does it attract any intentional or unintentional abuse?

yuvipanda commented 2 months ago

@smarru https://github.com/cryptnono/cryptnono was the result of our experience handling mybinder.org. cryptomining is the primary negative problem, and cryptnono has helped address that reasonably effectively.

wildintellect commented 2 months ago

Do we plan to set a time limit?

yuvipanda commented 2 months ago

@wildintellect there's an idle timeout time limit already, and we can also set a 'max' timelimit of maybe 12h?

yuvipanda commented 2 months ago

@wildintellect you can check out https://binder.opensci.2i2c.cloud/ to see how this would look like.

yuvipanda commented 2 months ago

Scheduled to be set up in https://github.com/2i2c-org/infrastructure/issues/4576

yuvipanda commented 1 month ago

Has been set up at binder.openveda.cloud!

batpad commented 4 weeks ago

Re-opening the issue until end of PI:

This is done! But we have not done much publicity or documentation around it. @brianmfreitag @yuvipanda - now that we have this, would be great to discuss what we can do / make people aware, and discuss use-cases that we want out of this.