How to monitor ECS tasks which are not registered on ELB?

Viewed 244

I have services that interact over messaging and are not required to be registered on a load balancer. For health check, I have configured container healthcheck and I have verified that it all works. But I am not able to find a way to monitor these services - how do I create alarms and notifications when the tasks become unhealthy or go below the desired count? For other tasks registered on ALB, I have alarms for 'HealthyHostCount' metric.

I tried creating Eventbridge rule to receive notifications when a task stops by following this guide but I am not sure if this is the right way.

0 Answers
Related