Originally published at pbhadani.com
Jupyter Notebook is an open-source web-based application that allows data scientists to build end-to-end Machine Learning pipeline starting from Data exploration, visualization, data transformation, feature extraction, and manage ML model lifecycle.
In this video, I explain the installation process of the Jupyter Notebook on the choice of hardware on the Cloud, particularly the Google Cloud Platform(GCP).
Hope you enjoy the video tutorial.
This video explains how to install Jupyter Notebook on Google Cloud Platform(GCP) in less than 10mins.
Below are the steps and commands performed in the video:
Generate the public/private SSH keypair.
ssh-keygen -t rsa -b 4096 -C jupyter_demo -f jupyter_demo
Create the Virtual Machine using Google Cloud Console UI, gcloud commands or with automation tools like Terraform.
Install the software packages.
sudo apt-get update sudo apt install python3-pip pip3 install jupyter echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc source ~/.bashrc jupyter notebook --no-browser
Access the Jupyter Notebook.
Run the following command to create the SSH tunnel.
ssh -i private_key -N -f -L 8888:localhost:8888 username@your_remote_host_name
Once the tunnel is setup, open the browser, go to
localhost:8888 and provide the token generated in Step 2.
Congratulations!!! Jupyter Notebook is now accessible from the local workstation.
Please subscribe to the YouTube channel for the updates.