[go: up one dir, main page]

Skip to content

ev2900/EMR_Studio_Deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EMR Studio CloudFormation Deployment

map-user map-user map-user

The instructions below show you how to deploy and set EMR Studio with single sign on (SSO).

  1. Enable SSO for your AWS account, if it is now already enabled
  1. Run the CloudFormation stack. It will create the required resources required for this example

Launch CloudFormation Stack

The resources created by the CloudFormation stack are documented in the architecture below

Architecture

  1. Create a SSO User
  1. Add a user to the EMR studio
  • Go to EMR Studio Home Page
  • Click on the studio named EMR-Studio-Demo
  • Click on add users* and select the SSO user you created
  1. Assign policy to the user
  • Go to EMR Studio Home Page
  • Click on the studio named EMR-Studio-Demo
  • Select the bubble next to the SSO user
  • Click on the Assign policy button
  • Apply the advanced-user-policy-emr-studio to the user
  1. Log into EMR studio

Create Default EMR Roles

If you have never created a EMR cluster in your account before you may not have the EMR_DefaultRole and EMR_EC2_DefaultRole roles. To create these you can execute the following aws CLI command.

If you don't have the AWS CLI set up locally you can run this command via. CloudShell

aws emr create-default-roles

You may also need to create the AWSServiceRoleForEMRCleanup if you do not already have this role created. To create this role

  • Go to IAM Console Page
  • Click on roles, create role, AWS service, EMR, EMR - Clean Up
  • Click through the prompts and create the role

These roles (EMR_DefaultRole, EMR_EC2_DefaultRole, AWSServiceRoleForEMRCleanup) are required for users to create EMR clusters via. EMR studio

Future Imporvement to this Repo

  • Service catalog intergration

About

Example Jupyter notebook for EMR Studio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published