EC2 Administrator permission access denied

0

Hi AWS, I am running the CI/CD pipeline to deploy a DOTNET application on IIS server using GitHub Actions which is configured on EC2 Windows Instance using Base AMI amazon/Windows_Server-2022-English-Full-Base-2023.08.10. The error I am getting is:

**Access denied, you must be an administrator of the remote computer to use this

command. Either have your account added to the administrator local group of

the remote computer or to the domain administrator global group.


Access denied, you must be an administrator of the remote computer to use this

command. Either have your account added to the administrator local group of

the remote computer or to the domain administrator global group.

Error: Process completed with exit code 1.**

Can someone from the Amazon team help me in resolving this issue as I have been experiencing it since yesterday due to which my deployment gets stuck.

1 回答
0

Hi Arjun,

Ensure the account you're using to run the tasks on the Windows EC2 instance has administrator privileges.

If using a specific IAM user, make sure that the IAM user has the necessary permissions to execute the required actions.

profile picture
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则