#StackBounty: #amazon-web-services #devops #amazon-ecs #service-discovery Not able to make AWS ECS service communicate over service dis…

Bounty: 50

I am trying to make 2 service communicate over service discovery endpoint in AWS ECS service.

Example:

Service1: runs the Task Definition to run nginx and phpfpm

Service2: runs the Task Definition to run redis

Now, I need to make service1 container communicate to service2
container

As per the documentations and resource found on internet. This is what I have done and not able to achieve the need.

  1. We need to turn on service discover (Done)
  2. Set proper service name and namespace which will work as service discovery endpoint (Done)
  3. Create task definition and create service with above property set (done)
  4. Now AWS will generate a SRV records on the Route53 (OK)

Now, when using the service discovery endpoint which is generally in format
service_discovery_service name.service_discovery_namespace.

The error logs shows , It’s not able to resolve the name.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.