Fina Silva-Santisteban
10/18/2023, 7:28 PMExecute our flow without having to run a worker or agent process to poll for flow runs
, but in the Recipes section I found a recipe to set up Prefect Agent on ECS Fargate
https://github.com/PrefectHQ/prefect-recipes/tree/main/devops/infrastructure-as-code/aws/cli-prefect2-ecs-agent#prefect-agent-on-ecs-fargate . I'd be thankful for any and all insights! 🙏Kevin Grismore
10/18/2023, 7:31 PMKevin Grismore
10/18/2023, 7:36 PMprefect deploy
and setting up your prefect.yaml
. You'll create your push work pool, write your flow, and then deploy it to the work pool. Optionally, you can have your prefect.yaml
define build
and push
actions that will build and push a docker image to your registry of choice when you run prefect deploy
for use in ECS.Yaron Levi
10/18/2023, 7:48 PMFina Silva-Santisteban
10/18/2023, 9:24 PMprefect.yaml
must be something new too? I'll check out the links you've posted!Fina Silva-Santisteban
10/19/2023, 6:26 PMPush Work to Serverless Computing Infrastructure
: How do I go about using the AWS Credentials block (or any block for that matter)? In what format does the Botocore Config
part need to be written out?? I tried looking for examples but what I found on discourse seems to be folks creating blocks using code instead of the dashboard (e.g.https://discourse.prefect.io/t/cant-use-aws-credentials-of-prefect-blocks/2454). Thank you for any and all help!Fina Silva-Santisteban
10/19/2023, 6:39 PM