Getting API Error in Ohio and N. Carolina

0

I am not able access my resource in two regions and I ma getting API error for emarly any operation. Enter image description here What is the reason?

已提问 1 年前258 查看次数
1 回答
0

Hello!

This can be caused by a few things, but primarily revolves around access denied or active event.

You can check for active events by checking the Service Health Dashboard https://health.aws.amazon.com/health/home

If it is a permissions issue it is likely IAM policy [1] or SCP related. If possible (if you have access), a good way to troubleshoot this is to go to your CloudWatch console event history. Here you may filter recent events to EventSource "ec2.amazonaws.com". The API calls from your screenshot will be listed there with their error messages. As an example, one of the API calls is likely "DescribeInstances". If this event error message is AccessDenied, consult your AWS administrator or check your user/role IAM policies and SCPs in your Organizational Unit if you are in an organization. If you are unable to view CloudTrail events either, it is likely a regional Deny policy being applied to either your IAM user/role or the OU.

[1] https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html [2] https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

已回答 1 年前

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

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

回答问题的准则