motr interface to Jupyter notebook #464
-
enable Python 3 kernel for Jupter Notebook if needed
when open localhost, enter the token shows in step 2 you can run Python and terminal at the same time Environment: RHEL7.7 with 3.10.0-1062.el7 kernel, cloud Linux VM with installed cortx-motr package more details: jupytermotrtest.pdf This opens two main opportunities:
for testing purpose, we can set up a "public" cloud VM with CORTX installed and Jupyter notebook running for people who want to test the CORTX, we can provide the Jupyter token when people request or just provide the token In this way, we can make testing easier. People just need to use ssh command to connect the cloud VM while using a local PC without installing anything.
Also tried the following: SSH forwarding method
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Wow, @yanqingfu , this is awesome! I'm not very familiar with Jupyter notebook though. What exactly is this doing? Would this allow someone to run S3 clients in a Jupyter notebook and connect to an instance of CORTX running elsewhere? Or run motr clients in a Jupyter notebook and connect to an instance of CORTX running elsewhere? Is this allowing running CORTX server in a Jupyter notebook?!?! |
Beta Was this translation helpful? Give feedback.
-
@johnbent Hi John, you can think of Jupyter Notebook as a (mirrored) WEB terminal here. If you installed Jupyter Notebook on the remote cloud VM, you can access all your remote machine content through SSH (need to know remote host user info, remote host address, and maybe root access(password)) on your local PC's Jupyter Notebook. -remote machine without cortx package installed, I can use my local Jupyter Notebook terminal to install and test cortx package Basically, with your local Juypter Notebook, you can run all the instructions , plus you can do result visualizations, etc.
If the current config can do all of those, I believe Jupyter Notebook can do too. |
Beta Was this translation helpful? Give feedback.
@johnbent Hi John, you can think of Jupyter Notebook as a (mirrored) WEB terminal here. If you installed Jupyter Notebook on the remote cloud VM, you can access all your remote machine content through SSH (need to know remote host user info, remote host address, and maybe root access(password)) on your local PC's Jupyter Notebook.
-remote machine without cortx package installed, I can use my local Jupyter Notebook terminal to install and test cortx package
-remote machine with cortx package installed, I can use my local Jupyter Notebook Ipython environment to test cortx package
Basically, with your local Juypter Notebook, you can run all the instructions , plus you can do result visualiza…