问题描述
使用EMR Web控制台时,您可以创建一个集群,AWS会自动创建名为"ElasticMapReduce-master"和EMR的EMR管理的安全组. "ElasticMapReduce从属".您如何通过aws
cli创建这些文件?
When using the EMR web console, you can create a cluster and AWS automatically creates the EMR-managed security groups named "ElasticMapReduce-master" & "ElasticMapReduce-slave". How do you create those via the aws
cli?
我找到了aws emr create-default-roles
,但是没有aws emr create-default-security-groups
.
推荐答案
到目前为止,您似乎还无法做到.请参见 http://docs.aws.amazon .com/emr/latest/ManagementGuide/emr-man-sec-groups.html 部分使用AWS CLI指定由Amazon EMR管理的安全组":
As of right now, it looks like you can't. See http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html section "To specify Amazon EMR–managed security groups using the AWS CLI":
另请参见 https://github.com/aws/aws-cli/issues/2485
这篇关于创建默认的EMR管理的安全组的aws cli命令是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!