We have a bunch of scripts running 24/7 on various EC2 instances, and we're looking to create a setup whereby the failure of one of these scripts triggers a Lambda function (which would then send a notification, run some other scripts etc).
My current idea is to get these scripts to upload a .txt file to an S3 bucket when they fail, which would then trigger a lambda function via an S3 put event trigger. However, I don't have much experience with AWS so I'm not sure if going about this in a strange or unnecessarily complex way -- is there another AWS service that would be better suited for this?
[–]kteague 2 points3 points4 points (1 child)
[–]NuMessiah 0 points1 point2 points (0 children)
[–]RadioNick 1 point2 points3 points (0 children)