AWS: Jupyter notebook

登入 (Log in AWS with Jupyter and Tensorboard port liked)
You can create a shell script to execute the command below. Please replace “AWS_AMI.pem”, “IP”, “region” with your own.

ssh -N -L localhost:8888:localhost:8888 -i “AWS_AMI.pem” ubuntu@”IP.region” & 
ssh -N -L localhost:6006:localhost:6006 -i “AWS_AMI.pem” ubuntu@”IP.region” &
ssh -i “AWS_AMI.pem” ubuntu@”IP.region”



啟動 Jupyter notebook

xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR" jupyter notebook --no-browser

啟動 Tensorboard

tensorboard --logdir ./