By using AWS re:Post, you agree to the Terms of Use
/Unable to access EC2 instance?/

Unable to access EC2 instance?


In the EC2 instance details, i am finding this error "User is not authorized to perform: compute-optimizer:GetEnrollmentStatus on resource: * with an explicit deny in a service control policy" under Amazon Compute Optimizer section. Because of this while I am connecting to EC2, it is showing error as "verify that your iam policy is correctly configured to use ec2 instance connect."

1 Answers

I don't know your situation, but if you're in an Enterprise environment you may find that the team in charge of AWS governance has applied Service Control Policies (SCPs) in your Organization that prohibit what you're trying to do.

answered 2 months ago

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