Create EMR cluster error: "The instance profile for the newly created default role is not yet visible"

0

I use an IAM account to log in AWS console and want to create an EMR cluster. But when I click the "create cluster" button, it says: The cluster could not be created. The instance profile for the newly created default role is not yet visible. Wait a few seconds and try again.

Do I miss some permissions or did anything else cause this?

Thanks very much.

duwan
質問済み 2年前1287ビュー
1回答
1
承認された回答

Hi duwan, It's more of a timing thing than anything else. After you create a role it might take several seconds for the permissions to propagate. Check out the following link and search for "several seconds for the permissions to propagate" to get to the relevant section... https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

Also look at the following link where the similar problem was encountered... https://github.com/hashicorp/terraform/issues/1885

There are two ways to solve the problem :-

  1. try creating the cluster again as it's a timing thing and you likely won't encounter the problem again.
  2. Create the default roles before you create the EMR cluster... https://awscli.amazonaws.com/v2/documentation/api/latest/reference/emr/create-default-roles.html
AWS
回答済み 2年前
AWS
サポートエンジニア
レビュー済み 5日前
AWS
エキスパート
レビュー済み 2年前
  • Thank you very much. I have already tried a lot of times and always the same error. Need I delete the created role before I try again?

  • When I use aws-cli to create EMR roles, it says "is not authorized to perform: iam:GetInstanceProfile". So I think it's because I do not have this permission.

  • @duwan, I would delete the created roles and re-create them. And looks like you don't have appropriate permissions ("iam:GetInstanceProfile").

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ