Short guide to running a jupyterlab server immediately with the amazon-linux-2 ec2 image
- Install python3.8 on your ec2 server
sudo amazon-linux-extras install python3.8
python3.8 -m pip install --user virtualenv
python3.8 -m virtualenv -p python3.8 venv
source venv/bin/activate
pip install jupyterlab
deactivate
- Configure your server password
jupyter server --generate-config
jupyter server password # Enter and verify your password here
nano .jupyter/jupyter_server_config.py'
c.JupyterApp.config_file_name = 'jupyter_notebook_config.json'
- Run your JupyterLab server!
screen -dm bash -c './start_jupyterlab.sh'