-
Notifications
You must be signed in to change notification settings - Fork 21
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
How to set up JupyterHub in the first place #17
Comments
It very almost does assume JupyterHub is already running on AWS. The spawner, which would be running in JupyterHub, extracts the private IP address of the Fargate task, and attempts to communicate to that. However...
This may be not the most helpful answer, but I think I'm going to point you to Google / the JupyterHub docs, or something like https://github.com/georgebearden/aws-fargate-jupyterhub-demo or https://tljh.jupyter.org/en/latest/install/amazon.html#installing-on-amazon-web-services, otherwise, I would just be reproducing what is available elsewhere. It's probably a bit of a project whichever way you slice it... If you get stuck on some step in terms of integration between JupyterHub and this spawner, feel free to post here/raise an issue (but realistically, I can't guarantee a reply in any timely manner) |
@filippo82 We were able to put together a working implementation - please let me know if we can help. |
Hi @adpatter. I would like to know how you managed to get a working implementation going. I'm having trouble passing spawner envars and I'm using jupyterhub version 1.4.2. This is what I'm seeing when trying to get_env() from the spawner.
|
@Abhi94N The README provides guidance on how to pass environment variables to the Spawned environment Please see where environment variables are set in the containerOverrides.
|
@adpatter Sure we can screenshare. So I've attempted a few things where I have tried to deploy the jupyterhub stack completely into fargate nodes with EKS as well as deploy only the single user notebook to fargate while the rest of the jupyterhub stack is deployed in a manage nodegroup. I actually do have my envars set using the README config but I'm not able to pass envars from the hub to the spawner. I remoted into the hub and tested the get_env() command but I was not able to get it to work from the hub itself. |
@Abhi94N I'm not clear on what you mean. Please email me and we can arrange a time to discuss: adpatter@umich.edu. |
Dear @michalc,
sorry for the naive question: but how/where do I set up the JupyterHub in the first place? Does this assume that a JupyterHub (running inside a container?) is already running on AWS?
Thanks!
Best wishes,
-Filippo
The text was updated successfully, but these errors were encountered: