This message was deleted.
# general
s
This message was deleted.
b
const bastionSystemStatus = awsx.ec2.metrics.statusCheckFailed_System({ instance: bastion }); bastionSystemStatus.createAlarm(“bastion-sys-failed”, { threshold: 1, evaluationPeriods: 2, alarmActions: [/* recover instance */] });
I’m not sure what to define for alarmActions to cause a “recovery” to happen.
I’ll let everyone know if that works
That worked!
arnawsautomateregionec2:stop | arnawsautomateregionec2:terminate | arnawsautomateregionec2:recover | arnawsautomateregionec2:reboot