Lifecycle Configuration File fails to auto-terminate amazon sagemaker studio instance

0

I am trying to configure a Lifecycle Configuration (LCC) file in order to implement an auto-terminate feature upon reaching an idle threshold for sagemaker's code editor. I have followed the solution in this question. I am able to see and select the LCC file in the amazon sagemaker studio UI after successful completion of the steps but the instances do not shutdown after 1 hour of idle time.

This is the LCC file: https://github.com/aws-samples/sagemaker-studio-apps-lifecycle-config-examples/blob/main/code-editor/auto-stop-idle/on-start.sh

Cyrus
posta un mese fa128 visualizzazioni
1 Risposta
0
Risposta accettata

I was able to reproduce the same issue, and also I found that this issue is also tracked on this GitHub forum.

The issue happens when you choose SageMaker Distribution 1.6 as the image of the Code Editor space. Please try with 1.5.

AWS
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande