简体   繁体   English

如何让一个 AWS sagemaker 管道触发另一个?

[英]How do you make one AWS sagemaker pipeline trigger another one?

I know you can trigger sagemaker pipelines with all kind of events .我知道您可以通过各种事件触发 sagemaker 管道。 Can you also trigger sagemaker pipelines when another pipeline finishes it's execution?当另一个管道完成执行时,您还可以触发 sagemaker 管道吗?

You can use any EventbridgeEvent to trigger a pipeline step.您可以使用任何EventbridgeEvent来触发管道步骤。 Since Eventbridge supports Sagemaker Pipeline Status Change as an event, you should be able to trigger a pipeline by another one.由于 Eventbridge 支持将 Sagemaker 管道状态更改作为事件,您应该能够通过另一个管道触发管道。

Yes, use a Cloudwatch Event Rule (or EventBridge), such as是的,使用 Cloudwatch 事件规则(或 EventBridge),例如

{
  "source": [
    "aws.sagemaker"
  ],
  "detail-type": [
    "SageMaker Model Building Pipeline Execution Status Change"
  ],
  "detail": {
    "currentPipelineExecutionStatus": [
      "Succeeded"
    ]
  }
}

Then call the next pipeline using either a Lambda target or perhaps a CodeBuild target, depending on how you want to launch your pipeline然后使用 Lambda 目标或 CodeBuild 目标调用下一个管道,具体取决于您希望如何启动管道

Yes, use an Amazon EventBridge event, such as是,使用 Amazon EventBridge 事件,例如

{
  "source": ["aws.sagemaker"],
  "detail-type": ["SageMaker Model Building Pipeline Execution Status Change"],
  "detail": {
    "currentPipelineExecutionStatus": ["Succeeded"],
    "previousPipelineExecutionStatus": ["Executing"],
    "pipelineArn": ["your-pipelineArn"]
  }
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 一个管道可以将参数/参数传递给 aws sagemaker 管道中的另一个管道吗? - can one pipeline pass parameters/arguments to another pipeline in aws sagemaker pipeline? 我们如何使用 AWS CloudFormation 创建 SageMaker 管道? - How do we create a SageMaker pipeline using AWS CloudFormation? 您如何使用别名将您的 AWS lambda 从一个 envr 转移/升级到另一个(例如,dev 到 prod)? - How do you shift/escalate your AWS lambda from one envr to another (eg. dev to prod) using alias? AWS SageMaker Pipeline Model 端点部署失败 - AWS SageMaker Pipeline Model endpoint deployment failing 对 SageMaker 端点的推理率的限制 - Limit on the rate of inferences one can make for a SageMaker endpoint 哪个用于处理 sagemaker 批量推理管道的数据 - SKlearnEstimator 或 SKlearnProcessor - which one to use to process data for sagemaker batch inferencing pipeline - SKlearnEstimator or SKlearnProcessor 您如何使用 SageMaker 监控更多“标准”指标? - How do you monitor more 'standard' metrics with SageMaker? 我们如何在 AWS sagemaker 管道中编排和自动化数据移动和数据转换 - How can we orchestrate and automate data movement and data transformation in AWS sagemaker pipeline 如何在 SageMaker 管道 UI 上显示指标和价值? - How to display metrics and value on SageMaker pipeline UI? 如何在 sagemaker 管道中配置默认存储桶? - how to configure default bucket in sagemaker pipeline?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM