Prathyush
Prathyush

Reputation: 13

Why does ECS REPLICA service tasks run in Draining instance but not the DAEMON service task?

I have setup nginx and backend service in ECS. My tasks are running in 2 different EC2 instances. I also have a fluent-bit service running as DAEMON which is responsible to send the application logs to firehose.

I noticed that when my ec2 instances are going to DRAINING state, my application containers are still running in it but the fluent-bit DAEMON stops. This results in logs not getting fetched from the running app containers.

Also new instance which is in active state does not have any tasks running in it.

What can be done to overcome this issue?

Upvotes: 0

Views: 20

Answers (0)

Related Questions