Create an identity and access management (IAM) role in the security, identity, and compliance. To create an IAM role, select the EC2 instance. Assign the AmazonEC2ReadOnlyAccess privilege to the role. Enter the role name.
To create an IAM role, select the EC2 instance. Assign the AmazonEC2ReadOnlyAccess privilege to the role. Enter the role name.