EMR cluster has no security configuration attached

Attach an EMR security configuration with the required encryption and authentication settings.

Description

For an EMR cluster that requires encryption or Kerberos authentication, select a configuration that enables those features and attach it through SecurityConfiguration.

Potential impact

Jobs can run without the encryption or Kerberos authentication the workload requires.

Remediation

Provide the keys and certificates the configuration requires, then specify its name when creating the cluster. Changing this property replaces an existing cluster. Verify the configuration on the new cluster before moving jobs.

Examples

The second excerpt references a separately defined EMRSecurityConfiguration. Supply the instance configuration and required IAM roles in the full template.

Before

yaml
Resources:
  EMRCluster:
    Type: AWS::EMR::Cluster
    Properties:
      Name: analytics-cluster
      ReleaseLabel: emr-6.14.0

After

yaml
Resources:
  EMRCluster:
    Type: AWS::EMR::Cluster
    Properties:
      Name: analytics-cluster
      ReleaseLabel: emr-6.14.0
      SecurityConfiguration: !Ref EMRSecurityConfiguration

References