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.

windows shutdown script

you have fetch userdata , send sns in script.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -