Autoscalling Error in Local Environment deployed from UIPath AWS Template.Error message: involved our dev to find and use a new AMI Windows_Server-2022-English-Full-Base-2023.03.15(ami-09cf24ffd6d332930) and finally successfully created a new Windows Server 2022, and Orchestrator is installed successfully and working good
Issue: While doing autoscaling, it's failed due to below error in AWS:
- Launching a new EC.2 instance. Status Reason: Not authorized for images: [ami-00803a3c61ac12ee2]. Launching EC2 instance failed.
Verification:
It seems the AMI is not correct, because the folder C:\Program Files(x86)\AWS Tools\ is missing in the server. In the cnf-init.log file, there is an error:
2023-07-06 13:27:43,272 [DEBUG] Command a-execute-install output: C:\cfn\scripts\Set-MutexLock.ps1 : Failed to set lock
Resolution:
- Find and use a new AMI Windows_Server-2022-English-Full-Base-2023.03.15(ami-09cf24ffd6d332930)
- Successfully provision new Windows Server 2022
- Install Orchestrator.