Is there any way to send a button/hyperlink in an email through HTML which will trigger a Python/Bash Script which will stop a running EC2 instance ?
I am basically going through all running instances, checking their uptime through Fabric -> SSH and then sending a mail when the uptime has been beyond a specified limit.
If it is not possible through a script, is there a specific hyperlink for every instance which triggers its stopping ?
PS: I know about Amazon CloudWatch but am searching for an alternative since I would have to create an alarm for every instance manually through cloudwatch.
PS-2: I don't require the whole code. Any help in this direction will be appreciated.
Example : What frameworks can be used ? etc.
Aucun commentaire:
Enregistrer un commentaire