EMR_EC2_DefaultRole和EMR_DefaultRole有什么区别? [英] what's different between EMR_EC2_DefaultRole and EMR_DefaultRole?

查看:177
本文介绍了EMR_EC2_DefaultRole和EMR_DefaultRole有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

aws emr启动后,我注意到它具有ec2实例配置文件EMR_EC2_DefaultRole和emr角色EMR_DefaultRole,它们具有相似的权限,那么EMR_EC2_DefaultRole和EMR_DefaultRole有什么区别?

After a aws emr has launched, I'v noticed that it has a ec2 instance profile EMR_EC2_DefaultRole, and a emr role EMR_DefaultRole, they have similar permissions,so what's different between EMR_EC2_DefaultRole and EMR_DefaultRole?

推荐答案

根据文档:

EMR角色

EMR角色定义了在供应资源并执行在集群内运行的EC2实例的上下文中未执行的其他服务级别任务时,Amazon EMR所允许的操作.默认角色为EMR_DefaultRole.

The EMR role defines the allowable actions for Amazon EMR when provisioning resources and performing other service-level tasks that are not performed in the context of an EC2 instance running within a cluster. The default role is EMR_DefaultRole.

EC2的EMR角色

集群中的EC2实例使用EC2的EMR角色.换句话说,这是与群集实例的EC2实例配置文件关联的角色.与此角色相关联的权限适用于在群集实例上运行的进程.只要应用程序流程在Hadoop生态系统之上运行,该应用程序就将承担与其他AWS服务进行交互的角色.默认角色为EMR_EC2_DefaultRole.

The EMR role for EC2 is used by EC2 instances within the cluster. In other words, this is the role associated with the EC2 instance profile for cluster instances. The permissions associated with this role apply to processes that run on cluster instances. As long as an application process runs on top of the Hadoop ecosystem, the application assumes this role to interact with other AWS services. The default role is EMR_EC2_DefaultRole.

进一步添加:

EMR_DefaultRol e

这是EMR角色,它允许Amazon EMR代表您调用其他AWS服务,例如Amazon EC2.

This is the EMR role, which allows Amazon EMR to call other AWS services such as Amazon EC2 on your behalf.

EMR_EC2_DefaultRole

集群中EC2实例的EMR角色.在集群实例上运行的流程在调用其他AWS服务时将使用此角色.要访问Amazon S3中的EMRFS数据,您可以根据发出请求的用户或组或Amazon S3中数据的位置来指定要承担的不同角色.

The EMR role for EC2 instances within a cluster. Processes that run on cluster instances use this role when they call other AWS services. For accessing EMRFS data in Amazon S3, you can specify different roles to be assumed based on the user or group making the request, or on the location of data in Amazon S3.

这篇关于EMR_EC2_DefaultRole和EMR_DefaultRole有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆