Service · Machine Learning · Builds on AIF-C01
Amazon SageMaker Model Registry
Model groups and versions with approval status, lineage and sharing, for repeatable and auditable releases.
You know from AI Practitioner
- Model Registry catalogs model versions and their approval status.
- A version is approved before it is deployed.
- 1A pipeline registers each trained model as a new version.
- 2A person or a rule sets the status to Approved.
- 3The status change starts the deployment pipeline.
Model package group
- What it is
- All versions of one model
- Why it matters
- One place to compare and promote
Approval status
- What it is
- Pending, Approved, Rejected
- Why it matters
- A change starts deployment
Lineage and metrics
- What it is
- Data, code and job behind a version
- Why it matters
- Repeatability and audit
Resource policy
- What it is
- Share a group across accounts
- Why it matters
- Train in one account, deploy in another
MLflow registry
- What it is
- Managed MLflow model versions
- Why it matters
- Teams that track runs in MLflow
| Feature | What it is | Why it matters |
|---|---|---|
| Model package group | All versions of one model | One place to compare and promote |
| Approval status | Pending, Approved, Rejected | A change starts deployment |
| Lineage and metrics | Data, code and job behind a version | Repeatability and audit |
| Resource policy | Share a group across accounts | Train in one account, deploy in another |
| MLflow registry | Managed MLflow model versions | Teams that track runs in MLflow |
1 / 2
Model package group
- What it is
- All versions of one model
- Why it matters
- One place to compare and promote
Approval status
- What it is
- Pending, Approved, Rejected
- Why it matters
- A change starts deployment
Lineage and metrics
- What it is
- Data, code and job behind a version
- Why it matters
- Repeatability and audit
| Feature | What it is | Why it matters |
|---|---|---|
| Model package group | All versions of one model | One place to compare and promote |
| Approval status | Pending, Approved, Rejected | A change starts deployment |
| Lineage and metrics | Data, code and job behind a version | Repeatability and audit |
2 / 2
Resource policy
- What it is
- Share a group across accounts
- Why it matters
- Train in one account, deploy in another
MLflow registry
- What it is
- Managed MLflow model versions
- Why it matters
- Teams that track runs in MLflow
| Feature | What it is | Why it matters |
|---|---|---|
| Resource policy | Share a group across accounts | Train in one account, deploy in another |
| MLflow registry | Managed MLflow model versions | Teams that track runs in MLflow |
What it is
A model package group holds the versions of one model. Each version records the container image, the model artifacts in S3, the metrics and the inference setup. A version is created by a pipeline step, so every release is traceable to the data, code and job that made it. A version has an approval status: PendingManualApproval, Approved or Rejected.
What it is
The status drives delivery. With the SageMaker Projects templates, changing a version from PendingManualApproval to Approved starts the deployment pipeline. Changing the latest Approved version to Rejected redeploys the previous approved one. Without a template, an EventBridge rule on the model package state change event starts your own deployment. A pipeline can set the status itself, from a Condition step.
What it is
For audit, use lineage to trace a version back to its training data and job, and model cards for documentation. For sharing across accounts, attach a resource policy to the model package group so a production account can read and deploy the approved versions. Managed MLflow on SageMaker AI tracks experiments and has its own model registry, and registered MLflow models can also appear in SageMaker Model Registry.
Remember
- A model package group holds versions. A version records image, artifacts and metrics.
- Status: PendingManualApproval, Approved or Rejected.
- Approved starts the deployment pipeline in a Projects template. A state change event can start your own.
- Lineage traces a version to its data and job.
Remember
- A resource policy shares a group with another account.
- MLflow has its own registry, and models can be registered in SageMaker Model Registry.
On the exam
- “Deploy automatically after a person approves a model” points to the Approved status in Model Registry with an EventBridge rule or a Projects template.
- “Prove which data trained the production model” points to Model Registry lineage.
- “Let the production account use models trained in another account” points to a resource policy on the model package group.
In this task · 3.3
- Deployment strategies and rollback
CodePipeline
CodeBuild
CodeDeploy
SageMaker Pipelines
- Automated testing in ML pipelines
- Triggering retraining
Model Registry
Prompt Management
- Agent deployment pipelines and versions
- AI model and prompt testing
- Automating FM deployment and fine-tuned model versions
- RAG update and knowledge base refresh pipelines
Step Functions