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

时间:2015-06-17 14:27:35

标签: amazon-ec2 ipython-notebook

我正在运行AWS EC2 GPU实例。我在这个实例上按照tutorial设置了iPython笔记本。

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

sudo ipython notebook --profile=nbserver

启动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).

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

https://ec2-54-66-247-201.ap-southeast-2.compute.amazonaws.com:8888/

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

1 个答案:

答案 0 :(得分:8)

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

Security Group rules