I have two EC2 instances, in which I have running Node engine in one EC2 and Mongo in another EC2 instance.
When I am trying to connect with Node instance to Mongo instance it is not connecting. But the Mongo Instance is running. Later I found that the Mongo is not-working/stopped inside the instance.
Is there any way to know when a Mongo service is not-working/stopped. Like for enabling cloudwatch alarm to know the status of an instance.