Configure EMR job sizes
Job sizes determine the compute resources allocated to your EMR clusters when running EMR fabrics. The job size configuration depends on the authentication method you use to connect to Amazon EMR. This guide walks you through creating and configuring job sizes for both static and SAML authentication methods.
Add job size for static authentication
Static authentication uses keys stored directly in the fabric. To create a job size, follow these steps:
- In the Name field, enter a descriptive identifier for your job size.
- In the Driver Cores (CPUs) field, specify the number of CPU cores for the driver node.
- In the Driver Memory (in GB) field, set the amount of memory in GB for the driver node.
- In the Executors field, define the number of executor nodes to allocate.
- In the Executor Cores (CPUs) field, specify the number of CPU cores per executor.
- In the Executor Memory (in GB) field, set the amount of memory in GB for each executor.
- In the Spark Config (key-value pairs) field, add any custom Spark configuration parameters as needed.
- Click Add to save your job size configuration.
Add job size for SAML authentication
SAML authentication uses Okta for secure access. To create a SAML-authenticated job size, follow these steps:
- In the Name field, enter a descriptive identifier for your job size.
- From the Executor Size dropdown menu, select a preset executor configuration.
- Under Executor Memory (GB), drag to set the executor memory for the job size.
- Under Executor Ephemeral Storage (GB), drag to set the ephemeral storage capacity.
- In the Executors field, define an integer number of executors to allocate.
- From the Driver Size dropdown menu, select a preset driver configuration.
- Under Driver Memory (GB), drag to set the driver memory allocation.
- Under Driver Ephemeral Storage (GB), drag to set the ephemeral storage for the driver node.
- Click Add to save your job size configuration.
info
For more information about EMR worker configurations and sizing considerations, refer to the Supported worker configurations section of the AWS documentation.