Dear support,
I have deployed retool and temporal services on aws ECS cluster more details here
Everything is working fine. All deployed services [ Retool ( main backend, jobs runner, workflows backend, workflows worker) AND temporal ( frontend, history, matching, worker) ] are running and healthy and i am able to access both retool main service and workflows section
But i also need to deploy Temporal UI on an AWS ECS Fargate service. So, here are the steps i followed :
-
Create a Dockerfile for the Temporal UI using this docker image
temporalio/ui:2.21.3
. -
Build the Docker image and push it to aws ECR that my AWS ECS cluster can access.
-
Create a task definition for my Temporal UI service in AWS ECS and set the container port to 8080
-
Create a service in my AWS ECS cluster that uses the task definition.
-
Create an internal application load balancer and configure the domain name with cloudflare so i can access the temporal ui service via https://temporal.mydomain.com. I setup the ALB health check path to
/
-
Allow cloudflare zero trust service to access the internal load balancer
-
Add this environment variable
TEMPORAL_ADDRESS=temporal.retoolsvc:7233
The service starts but the application load balancer health check didn’t pass and keep draining so i am getting the 504 Gateway time-out error
Here are the temporal ui ecs logs :
2023/12/09 19:51:53 Loading config; env=docker,configDir=config
2023/12/09 19:51:53 Loading config files=[config/docker.yaml]
Starting UI server...
/___/\__/_//_/\___/ v4.9.0
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
O\
⇨ http server started on [::]:8080
2023/12/09 19:51:53 Loading config; env=docker,configDir=config
2023/12/09 19:51:53 Loading config files=[config/docker.yaml]
Getting some help here is really appreciated and i am ready to provide more details about the terraform code i am using to deploy the different services
Thank you in advance