3 December 2026 · 2 min read
On AWS free credits, idle resources cost more than training
- AWS
- SageMaker
- Cost Management
I ran my capstone on a credit-limited AWS account in Sydney (ap-southeast-2). The modelling was cheap. The waiting was not.
The numbers
- Managed training for the full comparison: 8,225 billable seconds, or 2.28 instance-hours.
- The notebook instance: roughly 42 hours, much of it idle between sessions.
- The inference endpoint: about 17 hours live, when capturing evidence needed minutes.
The custom CNN could have been trained about eighteen times over for the cost of the notebook's idle hours. The project finished with $108.17 of its $100 credit allocation intact, and the zero-spend alert I set up first never fired.
Constraints I hit
- Every
ml.*training quota started at zero, soCreateTrainingJobfailed withResourceLimitExceeded. I filed increase requests and, while waiting, ran the same container in SageMaker local mode. Test metrics matched the later managed runs to four decimals. ml.m5.xlargewould not start as a notebook instance, so I usedml.c5.xlarge, which has the same 4 vCPUs and 8 GB of RAM.
What I would do next time
- Create a zero-spend budget alert before provisioning anything.
- Add a lifecycle configuration that stops the notebook after an idle period.
- Delete the endpoint in the same script that captures its evidence.
Both overruns were process failures, and both are one-line fixes. On a small budget, the discipline that matters is shutting things down.