1 Answer
- Newest
- Most votes
- Most comments
0
Hi there!
The reason you're seeing this behaviour is the underlying EC2 instance that runs JupyterLab gets terminated when you stop the notebook instance.
You can utilise lifecycle configuration script which is a bash script that runs when the EC2 instance spins back up, in this script, you can re-install extensions so your environment can be set-up properly when you open JupyterLab.
Below links provide examples on how to achieve this:
https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 4 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago