Hey guys! I'm working on deploying Prefect Server...
# ask-community
e
Hey guys! I'm working on deploying Prefect Server on ECS, v0.15.13 (need to host this version for now) and going through some issues. I'm hosting it on a ECS cluster (all containers on the same task) using awsvpc (you can't reach containers by name, only using
localhost
). My load balancer is configure to redirect traffic from port 8080 to 8080 (UI port), and my ECS service is exposing port 8080 as well, to receive this traffic. On the URL, I can see the UI interface (it opens up getting-started endpoint). The problem I'm having is basically that I can't connect to the backend. And the question I have is, is it correct to use the port 8080 or should I use the Apollo's 4200 port? The log I get from apollo is:
FetchError: request to http://<my-url>:4201/graphql/ failed, reason: connect ETIMEDOUT 52.7.152.112:4201
My PREFECT_API_URL env var is:
http://<my-url>:4201/graphql/
Any help would be much appreciated!
this is basically how I'm setting up the containers environment variables.