
上QQ阅读APP看书,第一时间看更新
BOX the ipython console
To launch a Jupyter Notebook in your instance and access it over the Web, you need to promote the ephemeral external IP address provided by default to your VM to a static external IP.
You also need to make sure that your instance is accepting HTTP and HTTPS traffic. For that, go to your VM page, edit it, and check the following checkboxes:

Since your Jupyter Notebook is open to all traffic on the web, you password-protect it:
Generate a configuration:
$ jupyter notebook --generate-config
- And add a password with:
$ jupyter notebook password
More info on how to protect your public Notebook, including using ssh keys and adding encryption, is available at http://jupyter-notebook.readthedocs.io/en/latest/public_server.html.
- Launch your Jupyter Notebook with:
This generates a token and the following message:
The Jupyter Notebook is running at: http://0.0.0.0:8888/?token=7b1deb1b1467a3b3c9c23946e2f2efa12d9dc2c258353660
and access it in your browser via http://104.196.129.173:8888/?token=7b1deb1b1467a3b3c9c23946e2f2efa12d9dc2c258353660