Configure AWS access using IAM role for EC2
PreviousConfigure AWS access for the discovery job using service account (AWS EKS)NextConfigure AWS access using access keys for IAM users
Last updated
Last updated
Copyright © 2023 configure8, Inc. All rights reserved.
This method allows you to create an IAM role for C8 and assume it from another role.
Please refer to the official AWS documentation about creating an AWS IAM role for the EC2
Download the IAM policy that grants read permissions to all AWS resources:
Create the IAM policy:
Create an IAM role that can be assumed by EC2 roles:
Name | Description |
---|---|
Note If you want to discover more AWS accounts, please repeat the 2nd step for each account.
$account_id
The AWS account id from which you want to allow run discovery
$ec2_role
The AWS role name from which you want to allow run discovery