Last active
November 8, 2016 08:34
-
-
Save j-min/4f08a69895f3162e0c9800384b3b1de4 to your computer and use it in GitHub Desktop.
Jupyter Notebook setup on AWS EC2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get upgrade | |
sudo apt-get update | |
sudo pip install jupyter notebook | |
jupyter notebook --generate-config | |
ipython | |
from notebook.auth import passwd | |
passwd() | |
pwd: ex.jupyter | |
pwd: ex.jupyter | |
sha1:.....가 나오면 복사해두고 아래에 붙여넣기 | |
vi ~/.jupyter/jupyter_notebook_config.py | |
c = get_config() | |
c.NotebookApp.ip = '*' | |
c.NotebookApp.password = u'위의 sha1:...' | |
c.NotebookApp.open_browser = False | |
c.NotebookApp.port = 8888 | |
AWS-Security Group에서 새로운 security group지정 | |
SSH Anywhere | |
HTTP Anywhere | |
HTTPS Anywhere력 | |
custom TCP 8888 지정 | |
끝 | |
브라우저에서 public ip:8888로 접속 | |
위의 pwd 입력 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment