DEV Community

taragurung
taragurung

Posted on

How to make the services communicate in AWS ECS?

I have multiple service running on AWS ECS. Now, I am trying to connect one service with another using the build in service discovery. When creating a services It's successfully creating a SRV and mapping to A records in Route53.

The problem is I am not able to connect using the Service Discovery Endpoint. It's not resolving the name

Example:

Service1: Runs Task definition: To run nginx-phpfpm
Service2: Runs Task definition: to run redis

Goal is to make the Service1 communicate with Service2

Top comments (0)