Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: flavor limits

The following steps will easily install and start a jupyter notebook on any active instance.

NOTE: The Jupyter install generally requires more disk-space/memory than an m1.tiny or m1.small has, so we recommend m1.medium or larger.

Step-by-step guide

  1. Login to the instance using web shell or using an ssh client.
  2. Type "ezj". Jupyter notebook will then be installed and configured within a couple of minutes.

    Code Block
    languagebash
    themeMidnight
    [myuser@js-157-60]:~$ ezj


  3. After the installation is complete, a url will be shown. An example is shown below. You can use any browser to connect to this URL.

    Code Block
    languagebash
    themeMidnight
    Creating default environment...
    Installation finished
    /usr/bin/python3
    DEBUG: using python version 3
    [I 01:59:19.253 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
    [I 01:59:19.314 NotebookApp] Serving notebooks from local directory: /home/myuser
    [I 01:59:19.314 NotebookApp] 0 active kernels
    [I 01:59:19.315 NotebookApp] The Jupyter Notebook is running at: http://149.165.157.60:8888/?token=ae2353144663d5b4b5e384487a0f1dbf11f5ac1a5194d872
    [I 01:59:19.315 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [I 01:59:19.315 NotebookApp] 
        Copy/page this URL into your browser when you connect for the first time,
        to login with a token:
            http://149.165.157.60:8888/?token=ae2353144663d5b4b5e384487a0f1dbf11f5ac1a5194d872


    Info
    titleCAUTION: Closing your Jupyter notebook

    If you close your web shell or your ssh session, the Jupyter notebook will shutdown.

    4. To restart to your Jupyter notebook without reinstalling:


    Code Block
    languagebash
    themeMidnight
    [myuser@js-157-60]:~$ ezj -q


...