Cooper
Cooper7mo ago

beginner question: ECS terraform deployment; tasks are stuck in pending

Has anyone tried to deploy the terraform ecs templates and encountered the tasks being stuck in pending before? I am going to continue plugging away at it tomorrow but wanted to reach out to see if anyone had something similar. the terraform for reference, copy and pasted from the docs with some roles manually made https://github.com/RCSnyder/rcstech-windmill/tree/main/src/terraform Thanks!
7 Replies
rubenf
rubenf7mo ago
Many of our customers are on ecs terraform. Do you see anything the cloudwatch logs about the error ?
Cooper
Cooper7mo ago
I actually don't see logs, both the worker and the server show no logs?
No description
Cooper
Cooper7mo ago
its gotta be a security group setting or something or something with the port mapping? actually it seems like the windmill-cluster-server-tg doesnt have the ecs containers as targets? Is that something that happens automatically? I'm getting 503 Service Temporarily Unavailable from the alb dns route Looks like its TaskFailedToStart: EMPTY CAPACITY PROVIDER
rubenf
rubenf7mo ago
Hi @Cooper , this sounds like an ecs misconfiguration rather than being a windmill issue.
gregkop
gregkop7mo ago
hey @Cooper did you ever figure this one out? I'm also trying to deploy to ECS using the terraform example and encountered the same exact error - have not made any changes to the provided terraform code example @rubenf whats your recommendation for best route to self host on AWS? if its not the ECS terraform would it be the helm chart? also the reason we want to self-host at all is that we are a HIPAA compliant organization, do you ever sign BAAs for cloud hosted managed deployments?
rubenf
rubenf7mo ago
EKS helm is recommended. And yes we can sign BAAs for cloud hosted deployments
Cooper
Cooper6mo ago
Sorry didn't see this. I haven't. But I think it's an aws skill issue. I was only trying this on my own free time experimenting. I didn't want to mess with eks but I guess it can't be that hard to learn lol