EMR Studio Workspace Cannot Create Cluster

0

Hi Im in an EMR Workspace notebook and tried to select clusters on left and Advanced and Create Cluster. I get an error Unable to create cluster. Invalid InstanceProfile: EMR_EC2_DefaultRole. The only docs I can find say this role is depricated. How can I create a cluster from the EMR Studio Workspace ?

질문됨 5달 전185회 조회
2개 답변
3

Hello,

There could be the reason that EMR_EC2_DefaultRole might have been modified or deleted which would not allow to create the EMR cluster through Studio. To solve it, you need to create "EMR_EC2_DefaultRole" role by following the guidelines in this AWS documentation.

Below are the steps to achieve this result:

1- In AWS IAM console, under "Roles", click on "Create role" button.

2- Under "Use cases for other AWS services", choose "EMR" and select EMR Role for EC2 then click on next.

3- The "AmazonElasticMapReduceforEC2Role" policy will be automatically attached to your role. Click on next.

4- Under "Role name", enter "EMR_EC2_DefaultRole" and click on "Create role".

AWS
지원 엔지니어
답변함 5달 전
0

What helped in my case was calling aws emr create-default-roles from the command line. This will create the three roles "EMR_DefaultRole", "EMR_EC2_DefaultRole" and "EMR_AutoScaling_DefaultRole" in your AWS environment.

답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠