# prefect-community

Abhishek Mitra

06/28/2022, 9:48 AM
I'm having a problem in the execution layer of my project. I'm using an ECS Fargate agent to run my tasks. I'm following this method to define task containers. I'm also using the logging options mentioned here but the task only gets submitted by the agent. Nothing happens after that and after a while it gets restarted by Lazarus. Could anyone suggest a way to narrow down the problem or a better practice to follow for configuring flows?

Kevin Kho

06/28/2022, 3:09 PM
If you added the logs, you can check them in CloudWatch. This can be a couple things: 1. Roles don’t have permissions to get the containers 2. Incompatible container (container built with M1) 3. Is your container named “flow”?