How do I scale my AWS EMR cluster with 1 master and 2 core nodes using AWS auto scaling? Is there a way?

不羁岁月 提交于 2019-12-25 11:15:24

问题


I have implemented a cluster using AWS EMR. I have a master ndoe with 2 core nodes with hadoop bootstrap action. Now, I would like to use autoscaling and adjust the cluster size dynamically based on cpu threshold and some other constraints. BUt, I have no idea as there isn't much information on the web on how to use AutoScaling on already existing cluster. Any help.


回答1:


Currently you can't launch a EMR CLuster in a AutoScaling Group. But you can achieve a very similar goal by delivering your CloudWatch alarms notification to an SQS queue and a script consuming from that queue that uses AWS CLI or SDK to modify the cluster.



来源:https://stackoverflow.com/questions/25512375/how-do-i-scale-my-aws-emr-cluster-with-1-master-and-2-core-nodes-using-aws-auto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!