How to encrypt stored data

Hello,

I’m currently researching how I would go about setting up a Jupyterhub (probably going for a LittlestJupyterHub VM) for my organization and a hard requirement we have is that data stored on the server is encrypted. In particular this would apply to user specific data such as auth information as well as user modified notebooks/assets.

Does Jupyterhub support this natively somehow, or would I have to extend the server with some sort of third party solution for data encryption? I wasn’t able to find any info on this on readthedocs.

If anyone else has already solved this for their deployment of jupyterhub, I’d be interested to hear how you implemented encryption there.

Thanks in Advance.

Hi @MGruenbauer,

a hard requirement we have is that data stored on the server is encrypted.

If you are talking about “data-at-rest”, this is usually outside of the scope of JupyterHub. What I mean by that is that you will create your virtual machine with full disk encryption. When your virtual machine starts, the OS will handle the disk encryption / decryption. JupyterHub will not be aware of the disk encryption.

If you are mounting user data from a remote type of storage (e.g. S3), I’m not very familiar. Hopefully, others will contribute to the answer.

3 Likes