Connecting Jupyter to EC2

Use port forwarding to use EC2 for jupyterlab
Cloud
Author

Isaac Flath

Published

June 25, 2020

Today I Learned

I needed to use an EC2 instance to run a jupyter notebook. Here’s the steps it took to set do it.

How to

  1. Launch EC2 instance
  2. SSH into instance
  3. Run JupyterLab in EC2 jupyter-lab --no-browser --port=8889
  4. Use ssh for port forwarding -L 8000:localhost:8889
  5. Open jupyter on your local browser at localhost:8000