prefect

Triggering a Prefect workflow externally

老子叫甜甜 提交于 2021-01-27 06:02:48
问题 I currently have a Prefect workflow running locally on an EC2 instance. I can trigger my workflow on localhost:8080 through the UI. Is there a way to trigger a Prefect workflow externally (say AWS Lambda) via REST API or some other way? I know that Airflow supports an experimental REST API. 回答1: Yes through REST API you can trigger it using AWS Lambda, and can schedule AWS Lambda trigger using CloudWatch Events Rule, it supports both fixed rate or crown expression scheduler 回答2: Yes, Prefect

Triggering a Prefect workflow externally

只谈情不闲聊 提交于 2021-01-27 06:01:30
问题 I currently have a Prefect workflow running locally on an EC2 instance. I can trigger my workflow on localhost:8080 through the UI. Is there a way to trigger a Prefect workflow externally (say AWS Lambda) via REST API or some other way? I know that Airflow supports an experimental REST API. 回答1: Yes through REST API you can trigger it using AWS Lambda, and can schedule AWS Lambda trigger using CloudWatch Events Rule, it supports both fixed rate or crown expression scheduler 回答2: Yes, Prefect