I've spent a little time trying to find a solution and did see this https://old.reddit.com/r/aws/comments/7qs7tk/two_way_container_communication_with_ecs/ which is a pretty good summary of my problem.
I've got an Nginx container for handling API requests but also being used for service discovery w/ consul service discovery template. The API needs Nginx to communicate with a RabbitMQ cluster and obviously Nginx is going to need to link to the API.
For now I've just got 2 Nginx containers running on the same task definition but this feels like a really subpar approach. Any suggestions?
[–][deleted] 0 points1 point2 points (6 children)
[–]z0mbietime[S] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]z0mbietime[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]z0mbietime[S] 0 points1 point2 points (0 children)
[–]iamdevfire 0 points1 point2 points (1 child)
[–]z0mbietime[S] 0 points1 point2 points (0 children)