Hey all, I successfully deployed a simplistic fast...
# aws
p
Hey all, I successfully deployed a simplistic fastapi API to AWS ECS as shown in the snippet. I can access the API docs via the public IP of the task but somehow not via the load balancer DNS 🤔 Any ideas how to debug or what could be the reason?
Here is the related Dockerfile 🙂
b
what happens when you try access via the loadbalancer address?
p
I get a 503 for
/docs
b
is the task started and running? if you look in the AWS console can you see targets registered?
p
Yes, it is in
Running
I guess it does not have target groups?
b
Look at the load balancer itself, and follow the path through there
p
Seems like the load balancer does not have any registered targets. However, there is a target which seems related to the loadbalancer. Maybe some settings are off?