https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html#ec2launch-inittasks
To be complete, LaunchConfig.json has to have
adminPasswordtype
set to Random (default). Then, run the following PowerShell command:C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule
No comments:
Post a Comment