You can stop this JupyterLab in the Control Panel of Jupyter-JSC.
You can reach the Control Panel here or in the menu File -> Hub Control Panel.
The JupyterLabs will be terminated after 30 days, so make sure your data is backed up.
You can use git or you upload files with this button in the top left corner:
Just right click on a file and click "Download".
The amount of memory for each JupyterLab is limited to 4GB. If you try to use more, your kernel will die.
You can store 10 GB of data in /home/jovyan/work.
All files in the ~/work directory will be stored persistently.
All files in the ~/work directory will be accessible in all of your HDF-Cloud JupyterLabs.
Any other files or directories will be deleted if you stop this JupyterLab.
Under no circumstances are we liable for any lost data.
Projects are the best way, if you just want to share a few files (or notebooks) with your colleague, that is also using Jupyter-JSC.
Projects are directories, that are generated on the virtual machine where your JupyterLab is running.
If you add another user to your project this directory will be mounted into their Docker Container .
You can manage your projects with the following command:
$ bash /home/jovyan/manage_projects.sh
You can store up to 10 GB of data on all your projects combined.
If you want to add users to your project you need their email address. It must be the same email address, that is connected to their JSC webservice credentials .
You can easily mount your B2DROP files into this JupyterLab.
Just run the command
mount B2DROP in a terminal and insert your application credentials.
If you want to store your application credentials add the following line to /home/jovyan/work/.davfs2/secrets:
To unmount it run
You can mount your files on the HPC system with sshfs .
For this we created the script at /home/jovyan/mount_hpc.sh .
To mount your HPC files just execute
$ bash /home/jovyan/mount_hpc.sh
If you run it for the first time, it will create a private/public key pair for you. For your safety, a passphrase is required for this key.
Afterward, it will upload the public key to your JUDAC ~/.ssh/authorized_keys file. This will be done with UNICORE and the credentials you used to log in to Jupyter-JSC.
If your key is uploaded (or you have already used this script before) it will run the sshfs command to mount your HPC files.
You have to enter your passphrase, that you chose in the first run, to use your generated private key.
Just run the command
$ fusermount -u /home/jovyan/HPCMOUNT
The folder will be automatically unmounted if you stop this JupyterLab.
The private key will be stored, like your other files, in the /home/jovyan/work directory, on a virtual machine on the HDF-Cloud .
The access to this virtual machine is limited to the administrators of Jupyter-JSC.
Since your private key is encrypted with a passphrase, even an administrator is not able to use your private key to connect to any HPC system.
If you have multiple accounts (connected to your JSC webservice credentials) you can tell the script which one it should use.
$ bash /home/jovyan/mount_hpc.sh <SYSTEM> <ACCOUNT>
Jupyter-JSC does not delete anything from your authorized_keys file. So if you want to remove the public key you have to log in to JUDAC and remove it manually.