質問編集履歴

3

エラーメッセージ編集

2019/08/17 02:18

投稿

yukawakota
yukawakota

スコア14

test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
  [I 12:42:25.977 NotebookApp] The Jupyter Notebook is running at:
50
50
 
51
- [I 12:42:25.977 NotebookApp] https://ip-172-31-35-235:8888/
51
+ [I 12:42:25.977 NotebookApp] https://ip-(ipアドレス):8888/
52
52
 
53
53
  [I 12:42:25.977 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
54
54
 

2

タイトル編集

2019/08/17 02:18

投稿

yukawakota
yukawakota

スコア14

test CHANGED
@@ -1 +1 @@
1
- AWSのjupyter notebookへのリモート接続
1
+ AWSのjupyter notebookへのリモート接続ができない
test CHANGED
File without changes

1

エラーメッセージ追加

2019/08/17 01:56

投稿

yukawakota
yukawakota

スコア14

test CHANGED
File without changes
test CHANGED
@@ -18,13 +18,43 @@
18
18
 
19
19
  ```
20
20
 
21
- sudo ssh -i my_key.pem -L 443:127.0.0.1:8890 ubuntu@ec2-18-179-112-8.ap-northeast-1.compute.amazonaws.com
21
+ sudo ssh -i my_key.pem -L 443:127.0.0.1:8888 ubuntu@ec2-18-179-112-8.ap-northeast-1.compute.amazonaws.com
22
22
 
23
23
  ```
24
24
 
25
25
  とコマンドを打ちました。
26
26
 
27
27
 
28
+
29
+ インスタンス側でjupyter notebookコマンドを打つと、
30
+
31
+ ```ここに言語を入力
32
+
33
+ [I 12:42:25.123 NotebookApp] [nb_conda_kernels] enabled, 22 kernels found
34
+
35
+ [I 12:42:25.133 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
36
+
37
+ [I 12:42:25.559 NotebookApp] Loading IPython parallel extension
38
+
39
+ [I 12:42:25.593 NotebookApp] JupyterLab beta preview extension loaded from /home/ubuntu/anaconda3/lib/python3.6/site-packages/jupyterlab
40
+
41
+ [I 12:42:25.593 NotebookApp] JupyterLab application directory is /home/ubuntu/anaconda3/share/jupyter/lab
42
+
43
+ [I 12:42:25.973 NotebookApp] [nb_conda] enabled
44
+
45
+ [I 12:42:25.976 NotebookApp] Serving notebooks from local directory: /home/ubuntu/deep-learning-with-python-notebooks
46
+
47
+ [I 12:42:25.977 NotebookApp] 0 active kernels
48
+
49
+ [I 12:42:25.977 NotebookApp] The Jupyter Notebook is running at:
50
+
51
+ [I 12:42:25.977 NotebookApp] https://ip-172-31-35-235:8888/
52
+
53
+ [I 12:42:25.977 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
54
+
55
+ ```
56
+
57
+ と表示されています。
28
58
 
29
59
  ### 発生している問題・エラーメッセージ
30
60
 
@@ -47,3 +77,15 @@
47
77
 
48
78
 
49
79
  ローカルマシンはwindws、インスタンスはubuntuです。
80
+
81
+ aws ec2のセキュリティグループではインバウンドに、
82
+
83
+ |タイプ|プロトコル|ポート範囲|ソース|
84
+
85
+ |:--|:--:|--:|
86
+
87
+ |カスタムTCPルール|TCP|8888|0.0.0.0/0|
88
+
89
+
90
+
91
+ を追加しています。