Need to run scripts in user data on specific instance behaivor, like example:
"In my script there are certain portion that's need to be run on initial launch of instance and don't execute this script on reboot or start state"
"The other part of script should execute on initial launch and on reboot or started state"
Is that possible ?