ОС: Ubuntu 18.04.1 LTS на aws ec2
Я настраиваю jupyter lab на моем сервере aws ec2 и хочу подключить свой сервер с другого компьютера.
Однако яне могу получить доступ к jupyter
Может быть, поэтому он подключен к частному ip
Во-первых, я установил jupyter и config
$ pip3 install jupyter
$ pip3 install jupyterlab
$ jupyter notebook --generate-config
изменил конфигурацию на
"~ / .jupyter / jupyter_notebook_config.py"
c.NotebookApp.allow_origin = '*'
c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.open_browser = False
c.NotebookApp.password = <my_password>
c.NotebookApp.port = 8888
и затем я пытаюсь запустить jupyter lab
$ jupyter lab
Наконец,
[I 06:25:39.565 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.6/dist-packages/jupyterlab
[I 06:25:39.565 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[W 06:25:39.567 LabApp] JupyterLab server extension not enabled, manually loading...
[I 06:25:39.569 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.6/dist-packages/jupyterlab
[I 06:25:39.569 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[I 06:25:39.570 LabApp] Serving notebooks from local directory: /home/ubuntu/.certs
[I 06:25:39.570 LabApp] The Jupyter Notebook is running at:
[I 06:25:39.570 LabApp] http://(ip-XXX-XX-XX-XXX or 127.0.0.1):8888/
[I 06:25:39.570 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
напечатано
Я ожидаю ec2-XX-XXX-XXX-XX.ap-northeast-2.compute.amazonaws.com
шоу на cmd
Как мне запустить jupyter на общедоступном ip?