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.

profile picture
Arjun
demandé il y a 9 mois322 vues
1 réponse
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
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions