https://prefect.io logo
What is an ECS Task in Prefect
c

Chris Gunderson

12/08/2022, 5:51 PM
Hi Team - Is the ECS Task basically the agent listening to the work queue?
m

Mason Menges

12/08/2022, 7:20 PM
The ECStask is used to run the flow through in an ECS cluster, i.e. it's essentially defining the actual execution environment for the flow https://prefecthq.github.io/prefect-aws/ecs/#prefect_aws.ecs.ECSTask. The Agent Serves a fundamentally different role as it's job is simply to poll for and submit work from a work-queue and propose state transitions for a flow run as it is executing the logic for which is all handled server side through the api this is a good resource to check out for agents/work queues https://discourse.prefect.io/t/agents-and-work-queues-faq/1468
:gratitude-thank-you: 2
🙌 1