Your application performance management (APM) system can read the status of your CloudWatch monitors and perform scripted actions. When the CloudWatch metric StatusCheckFailed enters a failed state (a value of 1), you would like your APM to automatically repair the instance. Which script do you use?

  • aws ec2 stop-instances –instance-ids i-0b263919b6498b123
    aws ec2 start-instances –instance-ids i-0b263919b6498b123
  • aws ec2 reboot-instances –instance-ids i-0b263919b6498b123
  • aws ec2 reboot-instances –instance-ids i-0b263919b6498b123
    wait 30
    aws ec2 start-instance –instance-ids i-0b263919b6498b123
  • aws ec2 reboot-instances –instance-ids i-0b263919b6498b123
    aws ec2 start-instances –instance-ids i-0b263919b6498b123
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend