Jupyter Lab Server
Run a Jupyter Lab server using Windows VPS
-
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.
-
Install anaconda on the Windows Server
-
Open Anaconda prompt form windows search bar
-
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.
- Activate the conda environment
1conda activate myenv
- Install any library that you need, with CONDA command in anaconda prompt.
1conda install pandas
2conda install jupyterlab
- Generate a configuration file for Jupyter lab and Generate a password for authentication.
1jupyter lab --generate-config
2jupyter lab password
-
Change directory with CD command to the project folder you want to work on.
-
then run the jupyter lab with below command
1jupyter lab --no-browser --ip "*" --port=8888
-
add port 8888 to the windows firewall inbound.
-
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.