概念
Choosing a deployment orchestrator
SageMaker Pipelines, Step Functions, Airflow, CodePipeline or EventBridge: pick by skills and fit.
本课尚未翻译,暂以英文显示。
- Strength
- ML-native graph of SageMaker AI steps
- Pick it when
- The team works in SageMaker AI
- Strength
- General workflows across AWS services
- Pick it when
- ML mixes with other services and approvals
Amazon MWAA
- Strength
- Managed Apache Airflow DAGs in Python
- Pick it when
- The team already uses Airflow
- Strength
- Source, build, test and deploy stages
- Pick it when
- Code and image changes drive the release
Amazon EventBridge
- Strength
- Schedules and event rules, not a workflow
- Pick it when
- Start a run on a timer or an event
| Tool | Strength | Pick it when |
|---|---|---|
| ML-native graph of SageMaker AI steps | The team works in SageMaker AI | |
| General workflows across AWS services | ML mixes with other services and approvals | |
| Amazon MWAA | Managed Apache Airflow DAGs in Python | The team already uses Airflow |
| Source, build, test and deploy stages | Code and image changes drive the release | |
| Amazon EventBridge | Schedules and event rules, not a workflow | Start a run on a timer or an event |
1 / 3
- Strength
- ML-native graph of SageMaker AI steps
- Pick it when
- The team works in SageMaker AI
- Strength
- General workflows across AWS services
- Pick it when
- ML mixes with other services and approvals
| Tool | Strength | Pick it when |
|---|---|---|
| ML-native graph of SageMaker AI steps | The team works in SageMaker AI | |
| General workflows across AWS services | ML mixes with other services and approvals |
2 / 3
Amazon MWAA
- Strength
- Managed Apache Airflow DAGs in Python
- Pick it when
- The team already uses Airflow
- Strength
- Source, build, test and deploy stages
- Pick it when
- Code and image changes drive the release
| Tool | Strength | Pick it when |
|---|---|---|
| Amazon MWAA | Managed Apache Airflow DAGs in Python | The team already uses Airflow |
| Source, build, test and deploy stages | Code and image changes drive the release |
3 / 3
Amazon EventBridge
- Strength
- Schedules and event rules, not a workflow
- Pick it when
- Start a run on a timer or an event
| Tool | Strength | Pick it when |
|---|---|---|
| Amazon EventBridge | Schedules and event rules, not a workflow | Start a run on a timer or an event |
- 1An event or a schedule fires.
- 2An EventBridge rule starts a run of the orchestrator you chose.
是什么
An orchestrator runs steps in order, passes data between them and handles failures. Amazon SageMaker Pipelines is built for ML: it runs SageMaker AI jobs as a graph and links to Model Registry and lineage. AWS Step Functions is general: it calls many AWS services, with retries, branches and approvals, so it suits workflows that mix ML with other services. Amazon Managed Workflows for Apache Airflow (Amazon MWAA) runs Airflow DAGs written in Python. Choose it when the team already uses Airflow.
是什么
AWS CodePipeline is a release pipeline: source, build, test and deploy stages driven by code or image changes. Amazon EventBridge is not an orchestrator. It routes events and runs schedules, and it starts one of the others. On Amazon EKS, SageMaker AI operators for Kubernetes let a team create SageMaker AI jobs and endpoints from Kubernetes manifests, and Kubeflow Pipelines is an open source option.
There is rarely one right answer. Pick by the skills the team has and the services the workflow must call. ML-native tools give the best fit for training, evaluation and registration. General tools win when the workflow reaches beyond ML.
要记住
- SageMaker Pipelines: ML-native steps, Model Registry link, lineage.
- Step Functions: general workflows across AWS services, retries, human approval.
- Amazon MWAA: managed Apache Airflow. Pick it when the team already writes DAGs.
- CodePipeline: source, build, test and deploy stages for code and images.
要记住
- EventBridge: schedules and event rules that start the orchestrator.
考试中
- “Data scientists build the training workflow in the SageMaker Python SDK” points to SageMaker Pipelines.
- “A workflow that calls Lambda, SageMaker AI, Bedrock and waits for human approval” points to Step Functions.
- “The team already runs Apache Airflow DAGs” points to Amazon MWAA.
- “Start the workflow every night or when a file lands in S3” points to Amazon EventBridge.
本任务内容 · 3.1
- Compute environments and deployment targets
- SageMaker hosting
- Real-time and serverless inference
- Asynchronous and batch inference
- Multi-model and multi-container endpoints, inference components
- Choosing a deployment orchestrator
- Foundation model deployment options
- Hosting large models on SageMaker
- Bringing in models built outside AWS
Agents Classic
AgentCore
- Agent protocols and multi-agent patterns
- Reranking and retrieval strategies