본문 바로가기
IT/machine learning

gcp 에서 jupyter notebook 실행

by Jang HyunWoong 2018. 2. 23.

1. VPC Network

- External IP Address




2. change to static / 고정으로 변경



3. Create Firewall Rule 

- add your port number

tcp: <your port number>


4. Jupyter를 설치 했다면...

After install jupyter notebook...


- create config file

$ jupyter notebook --generate-config 



5. Edit Config file



6. add to jupyter_notebook_config.py

c = get_config()

c.NotebookApp.ip = '*'

c.NotebookApp.open_browser = False

c.NotebookApp.port = <your port number>

- Save


7. $ jupyter-notebook --no-browser --port=8888



- copy token id and paste it



8. finally 



반응형