menu
techminis

A naukri.com initiative

google-web-stories
Home

>

ML News

>

Pause Your...
source image

Towards Data Science

7h

read

175

img
dot

Pause Your ML Pipelines for Human Review Using AWS Step Functions + Slack

  • Automated workflows often need human decisions, such as cloud resource approval or model deployment.
  • Implementing a manual approval system using AWS Step Functions, Slack, Lambda, and SNS is discussed.
  • The architecture allows pausing workflows for human approvals without unnecessary compute usage.
  • The solution involves AWS Step Functions for business logic execution, Slack notifications, and human interactions.
  • The process includes invoking Lambda functions, setting up SNS topics, Slack workflows, and API Gateway endpoints.
  • Slack messages are sent with approval links, and Lambda functions handle user responses.
  • Testing and considerations for timeouts, context passing, and Slack channel management are highlighted.
  • Lessons learned include setting timeouts, managing permissions, and securing URLs shared in Slack messages.
  • The approach of using Step Functions and Slack ensures traceable and production-safe approval workflows.
  • The method offers a reliable way to incorporate human judgment in critical workflows efficiently.

Read Full Article

like

10 Likes

For uninterrupted reading, download the app