Home > database >  how can I create alarm when server in AWS goes down?
how can I create alarm when server in AWS goes down?

Time:01-23

how can I receive a notification in Google chat or email when running jar process goes down in AWS server ? I have created status check alarm in EC2 instance but not working when i stop the running program.

CodePudding user response:

The cloudwatch monitors logs and metrics from the AWS resources, not really taking care of the application out of box. There are multiple ways to do so, depending if the application can provide some http enpoints or post its metrics

Just out of blue there are multiple options

  • If using an application load balancer, the load balancer has a metric for healthy instances in the autoscaling group
  • Using CloudWatch Cannary
  • The application could post its own custom metrics

CodePudding user response:

Thats when AWS CloudWatch comes for rescue.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-createalarm.html

  •  Tags:  
  • Related