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.
Summary
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:
Step 0 (Optional)
Generate the public/private SSH keypair.
ssh-keygen -t rsa -b 4096 -C jupyter_demo -f jupyter_demo
Step 1
Create the Virtual Machine using Google Cloud Console UI, gcloud commands or with automation tools like Terraform.
Step 2
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
Step 3
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.
If you have feedback or questions, please reach out to me on LinkedIn or Twitter
Top comments (0)