Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Jupyter Notebook setup on AWS EC2
sudo apt-get upgrade
sudo apt-get update
sudo pip install jupyter notebook
jupyter notebook --generate-config
from notebook.auth import passwd
pwd: ex.jupyter
pwd: ex.jupyter
sha1:.....가 나오면 복사해두고 아래에 붙여넣기
vi ~/.jupyter/
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
You can’t perform that action at this time.