Motivation
We just had a classic scenario on my team: a DS created a SageMaker notebook instance and left it running for months 🤦♂️. No one knew. Cost a few thousand $$$.
Auto-sleep would have saved us, but of course AWS isn't incentivized to implement that.
Examples
I've noticed, auto-sleep has become fairly common across remote workstation offerings.
I’m not sure how they each define “inactive” or “idle” but I’m sure we could draw inspiration from these.
Metaflow (Outerbounds) workstations
Lightning AI Studios
C) Auto-sleep: Studios auto-sleep when idle. Imagine you start a Python script and close your laptop. The Studio will keep running in the background until the script finishes. Once it's done, it will auto-sleep. Sleeping Studios don't cost you anything. [source]

Databricks clusters

Lol, even Sagemaker apparently
Amazon SageMaker Studio now supports automatic shutdown of idle applications [source]
Motivation
We just had a classic scenario on my team: a DS created a SageMaker notebook instance and left it running for months 🤦♂️. No one knew. Cost a few thousand $$$.
Auto-sleep would have saved us, but of course AWS isn't incentivized to implement that.
Examples
I've noticed, auto-sleep has become fairly common across remote workstation offerings.
I’m not sure how they each define “inactive” or “idle” but I’m sure we could draw inspiration from these.
Metaflow (Outerbounds) workstations
Lightning AI Studios
Databricks clusters
Lol, even Sagemaker apparently