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
已提問 1 個月前檢視次數 128 次
1 個回答
0
已接受的答案

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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南