AWS EMR perform “bootstrap” script on all the already running machines in cluster

后端 未结 1 1027
旧巷少年郎
旧巷少年郎 2021-02-12 22:55

I have one EMR cluster which is running 24/7. I can\'t turn it off and launch the new one.

What I would like to do is to perform something like bootstrap action on the

相关标签:
1条回答
  • 2021-02-12 23:33

    Late answer, but I'll give it a shot:

    That is going to be tough.

    You could install Amazon SSM Agent and use the remote command interface to launch a command on all instances. However, you will have to assign the appropriate SSM roles to the instances, which will require rebuilding the cluster AFAIK. However, any future commands will not require rebuilding.

    You would then be able to use the CLI to run commands on all nodes (probably boto as well, haven't checked that).

    0 讨论(0)
提交回复
热议问题