Maurits de Ruiter

01/11/2021, 9:54 AM
Quick question. I'm looking for a way to start and wait for a Fargate Task. In the docs I see possibilities to start Lamda's, but nothing about ECS and Fargate. Am I correct to assume this isn't possible by default?


01/11/2021, 11:48 AM
Hi @Maurits de Ruiter You’re right, there’s no out-of-the-box task to create/start a Fargate Task. You’ll have to implement it on your own by leveraging Boto3. However, your use case could be a good fit for an task library enhancements, so I encourage you to open an enhancement issue on Prefect githubt repo 🙂
💯 2


01/11/2021, 3:05 PM
If you’re looking to run your Flows in Fargate, check out the ECS Agent, which can submit Tasks to either ECS or Fargate: