LoginSignup
0
0

More than 5 years have passed since last update.

awscliでEMRを実行する際に、IAM Roleを使う

Last updated at Posted at 2015-03-23

ちょっと嵌ったのでメモ。
既にEMRを実行するサーバでIAM Roleの権限は適用済みの前提

最新のawscliを取り直す

curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
sudo pip install --upgrade awscli
  • 古いawscliだとcreate-clusterがなかったりする。

これが必要(デフォルトのRoleを作成)

aws emr create-default-roles --region ap-northeast-1

で、--use-default-rolesを付ければIAM Roleを認識した。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0