The ML Workflow on SageMaker AI
The five stages of an ML project and which SageMaker AI feature handles each one.
1 min read
| Stage | What happens | SageMaker AI features |
|---|---|---|
| 1. Prepare | Clean, label, and split data (stored in S3) | Studio notebooks, Data Wrangler, Processing jobs |
| 2. Train | Run an algorithm on the data to produce a model | Training jobs, built-in algorithms, your own scripts |
| 3. Evaluate & tune | Measure accuracy, try better settings | Automatic model tuning, Experiments |
| 4. Deploy | Serve predictions | Real-time, serverless, async endpoints, batch transform |
| 5. Monitor | Catch data drift and quality drops | Model Monitor, Clarify |
How a training job works
You don't keep training servers running. A training job:
- Starts the instances you asked for (CPU or GPU)
- Pulls a container image (built-in algorithm, framework like PyTorch, or your own)
- Reads training data from S3
- Trains, then writes the model artifact (
model.tar.gz) back to S3 - Shuts the instances down, so you pay only for training time
- 1Data in S3
train.csv
- 2Training job
Instances spin up, train
- 3Model in S3
model.tar.gz
- 4Endpoint
Serves predictions
Tip
SageMaker JumpStart offers hundreds of pre-trained models (vision, text, open LLMs) that you can deploy or fine-tune in a few clicks. It's often faster than training from scratch.
Key takeaways
- Prepare → train → evaluate → deploy → monitor.
- Training jobs read from S3, write the model to S3, and shut down automatically.
- JumpStart provides pre-trained models to deploy or fine-tune.
Check your understanding
Pick an answer to see the explanation.
1. Where does a training job write the trained model?