You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
# Data platform with Amazon EMR on EKS and EMR Studio
2
+
This example demonstrate how to consume the AWS Analytics Reference Architecture constructs library to implement a data platform on Amazon EKS. The constructs simplify the setup of Amazon EKS, Amazon EMR on EKS and Amazon EMR Studio.
2
3
3
-
This is a blank project for CDK development with TypeScript.
4
+
This example will provision the following resources and features:
4
5
5
-
The `cdk.json` file tells the CDK Toolkit how to execute your app.
6
+
* An EKS cluster configured with Karpenter autoscaler (can be replaced with the Cluster Autoscaler)
7
+
* Predefined Karpenter provisioners (or managed nodegroups) to autoscale the EKS resources from 0 to X
8
+
* EMR on EKS virtual clusters for batch job and notebooks with best practices configured (autoscaling, spot, graviton, local disks...)
9
+
* IAM execution roles down only to EMR on EKS pods for a given namespace
10
+
* An EMR Studio with IAM (can be replaced by SSO) user
11
+
* A Managed endpoint for integration with EMR Studio with permissions scoped to the user
12
+
* The demo can be extended using the EmrEksCluster construct API and the NotebookDataPlatform construct API
6
13
7
-
## Useful commands
14
+
## Getting started
8
15
9
-
*`npm run build` compile typescript to js
10
-
*`npm run watch` watch for changes and compile
11
-
*`npm run test` perform the jest unit tests
12
-
*`cdk deploy` deploy this stack to your default AWS account/region
13
-
*`cdk diff` compare deployed stack with current state
14
-
*`cdk synth` emits the synthesized CloudFormation template
16
+
### Setup the environement
17
+
18
+
The `EmrEksCluster` construct requires an IAM Role to be set as the Amazon EKS administrator.
19
+
Edit the `lib/emr-eks-app-stack.ts` file (line 16) and add the ARN of the IAM Role you want to use as administrator.
0 commit comments