EFS multi user home directories

I am new to Jupyter Hub and trying to setup an environment for multiple users. We have a process of storing user files on EFS as home/{username}/data. The EFS is mounted on the host that will run the kubernetes nodes. Is there a way when a user logs in through Jupiter Hub, the session that starts the container mounts just /home/{username} just for that specific user and not the whole volume? If there is a document/blog/tutorial/forum question that details the setup, can you please direct me to that. Appreciate the help.

Hi. I dont know if there are any plug-ins out there.
You can refer to this:

It’s a plugin about save files in postgresql.
If you want to create a plugin about EFS,
you must overwrite contentsAPI:

Have a look at this zero-to-jupyterhub issue:

1 Like