我无法连接到在AWS EC2上运行的IPython笔记本

Don*_*Sun 4 amazon-ec2 ipython-notebook

我正在运行AWS EC2 GPU实例.我在这个实例上按照教程设置iPython笔记本.

在最后一步,我使用了这个命令:

sudo ipython notebook --profile=nbserver
Run Code Online (Sandbox Code Playgroud)

启动iPython笔记本.看来还行.输出信息是:

[I 14:14:30.214 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 14:14:30.230 NotebookApp] Serving notebooks from local directory: /home/ubuntu
[I 14:14:30.230 NotebookApp] 0 active kernels
[I 14:14:30.230 NotebookApp] The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
[I 14:14:30.230 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Run Code Online (Sandbox Code Playgroud)

但是,我使用我的浏览器启动远程iPython笔记本:

https://ec2-54-66-247-201.ap-southeast-2.compute.amazonaws.com:8888/
Run Code Online (Sandbox Code Playgroud)

但是我在这一步失败了.我不知道.有什么建议吗?

Joh*_*ein 8

您需要在与Amazon EC2实例关联的安全组中为入站流量打开端口8888.

安全组规则