'Connecting 2 ECS (1 Backend Service and 1 Fluentd service)

I'm running two ECS instances built from the ECR and onto EC2. One image is the fluentd and one image is the normal backend service.

When I provide the driver options as fluentd in ECS and providing the fluentd address in the console, I am getting

Cannot start service backend: failed to initialize logging driver: dial tcp:*ip-address*:22422: i/o timeout



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source