To enable an external access analyzer in a Region, you must create an analyzer in that Region. You must create an external access analyzer in each Region in which you want to monitor access to your resources.
Create an external access
analyzer with the AWS account as the zone of trust
-
Open the IAM console at https://console.aws.amazon.com/iam/
. -
Under Access analyzer, choose Analyzer settings.
-
Choose Create analyzer.
-
In the Analysis section, choose External access analysis.
-
In the Analyzer details section, confirm that the Region displayed is the Region where you want to enable IAM Access Analyzer.
-
Enter a name for the analyzer.
-
Choose Current AWS account as the zone of trust for the analyzer.
Note
If your account is not the AWS Organizations management account or delegated administrator account, you can create only one analyzer with your account as the zone of trust.
-
Optional. Add any tags that you want to apply to the analyzer.
-
Choose Submit.
When you create an external access analyzer to enable IAM Access Analyzer, a service-linked
role named AWSServiceRoleForAccessAnalyzer
is created in your account.
Create an external access
analyzer with the organization as the zone of trust
-
Open the IAM console at https://console.aws.amazon.com/iam/
. -
Choose Access analyzer.
-
Choose Analyzer settings.
-
Choose Create analyzer.
-
In the Analysis section, choose External access analysis.
-
In the Analyzer details section, confirm that the Region displayed is the Region where you want to enable IAM Access Analyzer.
-
Enter a name for the analyzer.
-
Choose Current organization as the zone of trust for the analyzer.
-
Optional. Add any tags that you want to apply to the analyzer.
-
Choose Submit.
When you create an external access analyzer with the organization as the zone of
trust, a service-linked role named AWSServiceRoleForAccessAnalyzer
is created in each account of
your organization.