Unable to upgrade windows EC2 from 2012 to 2019 using SSM automation

0

Hi,

Am trying to upgrade windows OS from 2012 R2 to 2019 using AWS SSM automation. I have removed EC2config traces from the server and installed latest EC2launch on the server along with SSM Agent. However the automation is still getting failed and it is not providing any error code as well, due to which am unable to trace the issue.

The SSM automation document am using is "AWSEC2-CloneInstanceAndUpgradeWindows" and it fails at "Automation step6: runUpgradeFrom2012R2Or2016"

In the Output I get below response, Failure message Step fails when it is Execution complete: verified. Failed to run automation with executionId: XXXXX Failed : {Status=[Failed], Output=[No output available yet because the step is not successfully executed, No output available yet because the step is not successfully executed], ExecutionId=[XXXXXX]}. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

I tried to search root cause of it however no luck, Please help me to solve this issue

  • Have a look in the windows event log for any windows errors.

  • Mine one also failing at the same step

Diksha
asked 9 months ago551 views
1 Answer
0

Hello,

The "runUpgradeFrom2012R2Or2016" step in turn kicks off an execution of the "AWSEC2-CloneInstanceAndUpgradeWindows2019" automation document. You could check the execution of this document that got kicked off to see if there are any errors present there.

AWS
answered 9 months ago
  • I checked all the steps of AWSEC2-CloneInstanceAndUpgradeWindows2019 in which it fails in step6 runUpgradeFrom2012R2Or2016. However, when I check the execution steps included in runUpgradeFrom2012R2Or2016 it shows all success. Still the overall process fails with mentioned error

  • Could you provide the input parameter value you provided for "TargetWindowVersion" when you executed the "AWSEC2-CloneInstanceAndUpgradeWindows2019" automation document?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions