Amazon EC2 cluster error Unable to provide ec2 instances because "requested EMR_EC2_DefaultRole instance profile is not valid"

I am trying to create a cluster using the amazon aws console with the default role. A cluster is created and it remains in a start state sometimes, and then ends with this error: Failed to provide ec2 instances because "Invalid profile of requested instance EMR_EC2_DefaultRole"

I tried editing the default user trusts, but again it says it is not allowed. In addition, I registered as a root account.

+4
source share
2 answers

, EMR.

: 1. AWS Identity and Access Management (IAM). 2. , " ". 2. , (S3 EMR). - : 0.

, .

+6

EMR terraform. EC2 IAM ,

Failed to provision ec2 instances because 'The requested instance profile <iam_role_name> is invalid'

iam ​​ arn:aws:iam::aws:policy/service-role/AmazonElasticMapReduceforEC2Role, EMR_EC2_DefaultRole , , , -.

, , IAM -, Amazon, , .

EMR .

0

Source: https://habr.com/ru/post/1660126/


All Articles