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:

  1. Generate a configuration:

$ jupyter notebook --generate-config
  1. And add a password with:
$ jupyter notebook password

More info on how to protect your public Notebook, including using ssh

Get Hands-On Machine Learning on Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.