Hello, I'm trying to run a workload on ECS using t...
# ask-community
r
Hello, I'm trying to run a workload on ECS using this

tutorial

. Server and Agent both run on ECS and talk to each other, but the task that is spun by the Agent runs for a while then times out. I guess it's because this task cannot reach the Server because it was spun outside of the security group associated with the Agent. In the video, we can briefly see that Taylor's ECSTask has a task_customizations parameter mentioning a security group. I tried to set the same parameter in my ECS infra block using the Agent security group id, but the run crashes without logs and without submitting to ECS. Am I on the right track on this one?
Ok I figured it out. The new task not belonging to the worker's security group was indeed the issue. I found a way around.