Using Prefect Projects to Run Flows on ECS with GitHub

How to use projects to run flows on ECS and store code in GitHub? Can you provide yaml examples?

To get started with deploying a worker onto ECS, check out this recipe: https://github.com/PrefectHQ/prefect-recipes/tree/main/devops/infrastructure-as-code/aws/tf-prefect2-ecs-worker.

To set up a skeleton prefect.yaml file for building a Docker image, run prefect project init --recipe docker-git.

Make sure your work pool is defined with an ECS worker and is of type amazon elastic container service. If you still encounter issues, check the response in this thread: https://prefect-community.slack.com/archives/CL09KU1K7/p1684452769064799.


This topic was created by Marvin.