SageMaker Notebook Missing Auto-Stop
A notebook instance bills for its machine type until someone stops it, and a lifecycle script is the only thing that will do it unprompted.
Free to start. No card. The playground just needs your work email.
AWS
Found, explained, handed over.
Findings with a dollar figure attached, idle, oversized, orphaned, unscheduled and undiscounted spend.
Detect
ZopNight checks this automatically across AWS, with read-only access to the account.
Explain
Every finding says exactly what to change: Add an auto-stop lifecycle configuration to the SageMaker notebook. Where the saving can be proven it is priced; where it cannot, the finding says so.
Fix
The finding opens with the fix already written out, step by step, so it is one ticket, not an investigation.
- Applies to
- SageMaker Notebooks on AWS
- The fix, by hand
- SageMaker → Notebook instances → the resource → confirm currently running.
- SageMaker → Lifecycle configurations → Create configuration → name it auto-stop-idle.
- Paste an on-start hook that runs an idle-watcher script (AWS publishes a reference cron-based auto-stop script in the SageMaker examples GitHub).
- Set idle timeout: 1h for dev, 4h for shared notebooks.
- SageMaker → Notebook instances → the resource → Stop → Edit → attach the lifecycle config → Start.
- Long-term: migrate to SageMaker Studio (built-in idle shutdown, no script required).
These are the steps the finding carries in the product.
- Category
- Scheduling. Resources running 24x7 with a clear off-hours usage pattern, ready for start and stop scheduling.
- Where it appears
- The Savings tab of Recommendations, with every affected resource listed.
- Rule ID
RC-1502- Full reference
Related checks
See the always-on resources in your account.
Connect a read-only role and the first pass runs on your own estate. This check, and the rest of the catalogue, with it.
Prefer to talk it through first? Book 20 minutes with the team.
- $30M+annualised cloud spend under management
- 550K+resources tracked since launch
- 20-60%off the bill in the first month
- SOC 2Type II report, plus ISO 27001
Figures published on zop.dev.