Closed mariokostelac closed 5 years ago
It seems that it takes some time for SageMaker to detect that instance is down after shutdown is run. Running aws sagemaker stop-notebook-instance seems more suitable for that.
aws sagemaker stop-notebook-instance
Seems that current notebook instance name can be found in /etc/opt/ml/jobs/job.json.
/etc/opt/ml/jobs/job.json
This issue is fixed by the commit referenced above.
It seems that it takes some time for SageMaker to detect that instance is down after shutdown is run. Running
aws sagemaker stop-notebook-instance
seems more suitable for that.