【发布时间】:2018-08-29 23:28:13
【问题描述】:
我正在尝试使用在我的 ec2 实例上运行的 jupyter notebook 我按照这里的步骤操作: steps for running notebook on ec2
我通过配置文件在所有 IPS 上启用了笔记本。 这是运行笔记本服务器的图片
我不知道为什么我无法连接这里是我的配置文件的内容:
c = get_config()
# Notebook config this is where you saved your pem cert
c.NotebookApp.certfile = u'/home/ubuntu/certs/mycert.pem'
# Run on all IP addresses of your instance
c.NotebookApp.ip = '*'
# Don't open browser by default
c.NotebookApp.open_browser = False
# Fix port to 8888
c.NotebookApp.port = 8888
当我尝试像这样从本地浏览器访问它时:
https://ec2-xx-xx-xxx-xxx.us-west-2.compute.amazonaws.com:8888
我无法连接。
【问题讨论】:
-
已解决。通过允许我的 IP 的所有流量修改安全组后,我能够连接。
标签: amazon-web-services amazon-ec2 jupyter-notebook