I am trying to implement consul-agent and proxy as sidecar container inside my ECS fargate service. So, inside the task, there will be 3 containers running:
core-business-service-container
consul-agent-container
core-business-consul-proxy-container
All containers are up and running on ECS task. The node has registered in the consul UI as well. But, the service is not up in the consul UI.
I dig in and found the log of ‘consul-agent-container’, Here is the error log:
2021/03/12 03:33:14 [ERR] http: Request PUT /v1/agent/check/pass/greeting-fargate-proxy-ttl?note=, error: CheckID “greeting-fargate-proxy-ttl” does not have associated TTL from=127.0.0.1:43252
Hi Dipendra,
I think you might be missing actually registering your services with Consul. The -register flag on consul connect envoy doesn’t register the underlying service, it registers the proxy itself.
Hi @deependra97 , we have the tech preview of Consul on ECS/Fargate available. You might want to check it out to see if it helps you with your deployment
How to get started and installation guide can be found here . We can schedule some time to understand your use case and requirements. Please let me know a few pacific friendly time slots that work for you.