amazon ec2 - How to run user scripts at termination of windows ec2 instance? -
i want send email @ termination of windows instance userdata using sns. there chance run scripts send sns message once give command termination? in linux, read there option put script. there way same in windows instances. tried cloudtrail feature, can't userdata not displayed. there other option?
in windows, depending on windows version can set policy run script during shutdown. following link describes how run script when windows 7 professional shutdown.
you have fetch userdata , send sns in script.
Comments
Post a Comment