0

I can automatically shutdown a sagemaker instance as indicated here, by using lifecycle configuration

https://stackoverflow.com/questions/53609409/automatically-stop-sagemaker-notebook-instance-after-inactivity

Is there a way to achieve this programmatically, by means of any ''image terminal'' command? By image terminal, it is meant the Linux shell that can be opened via ''Launcher'' in ''Sagemaker Studio''

My use case is large computational jobs, where the idle inactive time in the automatic solution would be quite expensive. It would be useful to have a shutdown_instance(), to be added as last command in lengthy shell scripts

00__00__00
  • 4,834
  • 9
  • 41
  • 89

0 Answers0