I am trying to find the significance of the detach setting in windows EC2 in regards to userdata. According to the AWS docs it says run as a detach process. Which is not very useful by itself, forcing me to guess as to what the point or reason for the existance of the detach setting.
So here I go guessing as to what it means:
-Detach means it runs on a seperate process, meaning async from...
EC2launch v2, EC2Launch or EC2Config? (called EC2L* from here on).
This means that if my userdata is long, whatever EC2L* does after running the
userdata, it gets to finish before my userdata powershell does.
So then what is the significance of EC2L* service finishing? Is it what triggers the ec2 state change from pending to running? Does it allow/prevent user login(RDP)? I could be wrong but cant a windows EC2 still work with the EC2L* service uninstalled?
.html