Jupyter Lab Server

jupyter

Run a Jupyter Lab server using Windows VPS

  1. you need to buy a Windows VPS in order to have a server for Jupyter lab. simply search it in google and find any VPS provider you like.

  2. Install anaconda on the Windows Server

  3. Open Anaconda prompt form windows search bar

  4. type:

1conda create -n myenv python=x.x

simply put any name for your environment instead of myenv and define your python version which can be 3.8 or anything that is proper to your development requirement.

  1. Activate the conda environment
1conda activate myenv
  1. Install any library that you need, with CONDA command in anaconda prompt.
1conda install pandas
2conda install jupyterlab
  1. Generate a configuration file for Jupyter lab and Generate a password for authentication.
1jupyter lab --generate-config
2jupyter lab password
  1. Change directory with CD command to the project folder you want to work on.

  2. then run the jupyter lab with below command

1jupyter lab --no-browser --ip "*" --port=8888
  1. add port 8888 to the windows firewall inbound.

  2. Enter your VPS ip address with port 8888 like ip:8888 into the browser, now you can access to the jupyter lab anywhere you like.