Hello,
is there a way to configure fargateSpawner with EFS ?
I managed to get fargateSpawner running spawning Labs from a TaskDefinition using one EFS with an AccessPoint.
Resulting in all spawning Labs have the same storage dir.
I currently see two ways:
Configuring Jupyterhub/FargateSpawner to redirect to a folder under the one EFS for example. (EFS is mounted on /home/joyvan)
/home/joyvan/user1 and /home/joyvan/user2 . The user1 or user2 dir must be created somewhere.
This would result in having one EFS for all and data accessible for everyone but users land in their home directory which is persistent. This is still okay for my solution.
Prettier:
2.
Configuring Jupyterhub/FargateSpawner to create an accessPoint for the known EFS for every User.
This will result in having one EFS but data is not accessible for everyone because of the accessPoints. But i need to set somewhere the new mounting configuration and it seems i am not able to do it with the c.FargateSpawner.get_run_task_args and the overrides.
Hello, is there a way to configure fargateSpawner with EFS ? I managed to get fargateSpawner running spawning Labs from a TaskDefinition using one EFS with an AccessPoint. Resulting in all spawning Labs have the same storage dir.
I currently see two ways:
Configuring Jupyterhub/FargateSpawner to redirect to a folder under the one EFS for example. (EFS is mounted on
/home/joyvan
)/home/joyvan/user1
and/home/joyvan/user2
. Theuser1
oruser2
dir must be created somewhere. This would result in having one EFS for all and data accessible for everyone but users land in their home directory which is persistent. This is still okay for my solution.Prettier: 2. Configuring Jupyterhub/FargateSpawner to create an accessPoint for the known EFS for every User. This will result in having one EFS but data is not accessible for everyone because of the accessPoints. But i need to set somewhere the new mounting configuration and it seems i am not able to do it with the
c.FargateSpawner.get_run_task_args
and the overrides.Depending its no even possible to override mount configs by the AWS RunTask or StartTask API.
The solutions seems to need more or less code implementations, which i really want to avoid. Is there maybe already a solution?
Some help would be appreciated, thank you.