Default Role and Managed Policy The default role is EMREC2DefaultRole The

Default role and managed policy the default role is

This preview shows page 189 - 192 out of 395 pages.

Default Role and Managed Policy The default role is EMR_EC2_DefaultRole . The default managed policy attached to EMR_EC2_DefaultRole is AmazonElasticMapReduceforEC2Role The contents of version 3 of AmazonElasticMapReduceforEC2Role are shown below. { "Version": "2012-10-17", 183
Image of page 189
Amazon EMR Management Guide Configure Service Roles for Amazon EMR "Statement": [ { "Effect": "Allow", "Resource": "*", "Action": [ "cloudwatch:*", "dynamodb:*", "ec2:Describe*", "elasticmapreduce:Describe*", "elasticmapreduce:ListBootstrapActions", "elasticmapreduce:ListClusters", "elasticmapreduce:ListInstanceGroups", "elasticmapreduce:ListInstances", "elasticmapreduce:ListSteps", "kinesis:CreateStream", "kinesis:DeleteStream", "kinesis:DescribeStream", "kinesis:GetRecords", "kinesis:GetShardIterator", "kinesis:MergeShards", "kinesis:PutRecord", "kinesis:SplitShard", "rds:Describe*", "s3:*", "sdb:*", "sns:*", "sqs:*", "glue:CreateDatabase", "glue:UpdateDatabase", "glue:DeleteDatabase", "glue:GetDatabase", "glue:GetDatabases", "glue:CreateTable", "glue:UpdateTable", "glue:DeleteTable", "glue:GetTable", "glue:GetTables", "glue:GetTableVersions", "glue:CreatePartition", "glue:BatchCreatePartition", "glue:UpdatePartition", "glue:DeletePartition", "glue:BatchDeletePartition", "glue:GetPartition", "glue:GetPartitions", "glue:BatchGetPartition", "glue:CreateUserDefinedFunction", "glue:UpdateUserDefinedFunction", "glue:DeleteUserDefinedFunction", "glue:GetUserDefinedFunction", "glue:GetUserDefinedFunctions" ] } ] } Creating a Service Role for Cluster EC2 Instances With Least-Privileged Permissions As a best practice, we strongly recommend that you create a service role for cluster EC2 instances and permissions policy so that it has the minimum permissions to other AWS services that your application requires. The default managed policy, AmazonElasticMapReduceforEC2Role , provides permissions that make it easy to launch an initial cluster. However, Amazon EMR does not require any permissions to launch, 184
Image of page 190
Amazon EMR Management Guide Configure Service Roles for Amazon EMR monitor, and manage a basic cluster. If you launch a cluster without permissions in this way, the cluster is still created, and system logs are generated and pushed to Amazon S3 buckets owned by Amazon EMR using an alternative authorization method. However, cluster applications won't be able to interact with other AWS services. For example, the cluster won't be able to read to or write from Amazon S3. The policy statements below provide examples of the permissions required for different features of Amazon EMR. We recommend that you use these permissions to create a permissions policy that restricts access to only those features and resources that your cluster requires. All example policy statements use the us-west-2 region and the fictional AWS account ID 123456789012 . Replace these as appropriate for your cluster. For more information about creating and specifying custom roles, see Customize IAM Roles (p. 195) .
Image of page 191
Image of page 192

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors