Remote Kernel for Jupyter
Right just some key points.
- What did you use? rk
- Does it work well? Well, not really so good if one need to restart kernel frequently. The restart/reconnect is very slow.
There are some things that can be down on this remote kernel very conviniently. One of them is to do data process or visualization directly from the data file calculated by a script on the server. Suppose we have a data file output on the server under folder ~/calculate/assets
. We can using our jupyter to directly connect to the remote kernel. Using %bash
we can actually use bash commands inside jupyter, e.g.,
which will show us the tree
result from the server. Find the right path to the data file and import it then process data right in jupyter even the data is stored on a remote server.