The ML Workflow on SageMaker AI

The five stages of an ML project and which SageMaker AI feature handles each one.

1 min read
StageWhat happensSageMaker AI features
1. PrepareClean, label, and split data (stored in S3)Studio notebooks, Data Wrangler, Processing jobs
2. TrainRun an algorithm on the data to produce a modelTraining jobs, built-in algorithms, your own scripts
3. Evaluate & tuneMeasure accuracy, try better settingsAutomatic model tuning, Experiments
4. DeployServe predictionsReal-time, serverless, async endpoints, batch transform
5. MonitorCatch data drift and quality dropsModel Monitor, Clarify

How a training job works

You don't keep training servers running. A training job:

  1. Starts the instances you asked for (CPU or GPU)
  2. Pulls a container image (built-in algorithm, framework like PyTorch, or your own)
  3. Reads training data from S3
  4. Trains, then writes the model artifact (model.tar.gz) back to S3
  5. Shuts the instances down, so you pay only for training time
How it flows
  1. 1Data in S3

    train.csv

  2. 2Training job

    Instances spin up, train

  3. 3Model in S3

    model.tar.gz

  4. 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. 1. Where does a training job write the trained model?