Versioning and Governing Customized Models with SageMaker Model Registry
This lesson explains how SageMaker Model Registry versions and governs customised models, so teams know which artefact is in production, how it was evaluated and who approved it.
Learning outcomes
After completing this lesson, you will be able to:
- Organize versions in model package groups.
- Control deployment with approval status.
- Trace lineage and metadata for each version.
Model package groups and versions
Customised models change over time as training data, base models and methods change, and every version that might be deployed needs to be identifiable, reproducible and approved. SageMaker Model Registry provides this catalogue. Models are organised into model package groups, one for each model purpose, such as "claims-summarizer".
Each registered artefact becomes a model package version in its group, with an incrementing version number. The version records the container image and model artefact locations, the inference specification, evaluation metrics, custom metadata and lineage links to the training data and training job. Each version also has an approval status, such as PendingManualApproval, Approved or Rejected, which deployment pipelines use to decide what may be deployed. LoRA adapters can be registered in the same way as full models, so adapters and the base models they depend on are tracked together.
Approval status as a deployment control
Every version has an approval status: PendingManualApproval, Approved or Rejected. Deployment pipelines deploy only approved versions. A reviewer, or an automated check that compares evaluation metrics with thresholds, changes the status. Each status change emits an Amazon EventBridge event (SageMaker Model Package State Change), which a rule can use to start a deployment pipeline automatically.
This gives an auditable record: which version is in production, what its evaluation showed, who approved it and when. Model cards can be associated with model versions for documentation. Models in the registry can also be shared across accounts, for example from a development account to staging and production accounts.
aws sagemaker update-model-package \
--model-package-arn arn:aws:sagemaker:us-east-1:111122223333:model-package/claims-summarizer/7 \
--model-approval-status Approved \
--approval-description "Faithfulness 0.93 >= 0.90 threshold; safety suite passed"The following diagram shows an approval starting a deployment.

Registry approval
Lineage and metadata
Each registry version links to lineage entities: the datasets, processing jobs, training jobs and evaluation reports that produced it. Lineage answers questions that arise long after training, such as which data a deployed model was trained on, whether a dataset later found to contain personal data was used, or how two versions differ.
Custom metadata properties add information specific to generative AI. A version can record the base model ID and version, the LoRA configuration, such as rank and target modules, the prompt template the model expects and the base model's end-of-life date. This information becomes essential when a base model is retired: the team can find every customised model built on it, retrain each on a supported base model and replace it before the retirement date.
The following diagram shows what one registry version links to and records.

Controlled promotion
A team retrains a summarisation adapter weekly. Auditors require that only evaluated, approved versions reach production and that the deployed version can be identified at any time.
The pipeline registers each adapter as a new version in a model package group with its evaluation metrics and status PendingManualApproval. A reviewer approves it, the EventBridge event triggers the deployment pipeline, and the endpoint's tags record the model package version ARN. Rejected versions remain in the registry as evidence.
How can a deployment pipeline start automatically when a model version is approved?
Show answer
Model Registry emits an EventBridge event when a version's approval status changes, and a rule on that event starts the pipeline.
Exam Tips
Remember for the exam
- Model package groups hold versioned models with metrics and lineage.
- Deploy only Approved versions; status changes emit EventBridge events.
- Record the base model ID and end-of-life date as metadata.