More Info:

Ensure that EMR Cluster Master nodes don’t have public Ips

Risk Level

High

Addresses

Security

Compliance Standards

SOC2,ISO27001,HITRUST,NISTCSF,PCIDSS,SEBI,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of EMR Cluster Master Node having a public IP in AWS, you can follow these steps using the AWS Management Console:

  1. Access the AWS Management Console: Go to the AWS Management Console (https://aws.amazon.com/console/).

  2. Navigate to EMR Service: Click on the “Services” dropdown in the top left corner, search for “EMR” (Elastic MapReduce), and click on it to open the EMR dashboard.

  3. Select the EMR Cluster: From the list of EMR clusters, select the cluster where the Master Node has a public IP address that needs to be remediated.

  4. Update Security Configuration:

    • Click on the “Security and access” tab in the cluster details.
    • Under the “Security groups” section, click on the security group associated with the Master Node.
  5. Edit Security Group Rules:

    • In the security group settings, locate the inbound rule that allows inbound traffic to the Master Node from the internet (0.0.0.0/0).
    • Edit the inbound rule to restrict access to the Master Node by changing the source IP range to a specific IP or CIDR block that needs access.
  6. Remove Public IP:

    • In the EMR Cluster settings, find the Master Node configuration.
    • Update the network settings to remove the public IP assignment for the Master Node.
  7. Save Changes: Once you have made the necessary changes to the security group rules and network settings, save the configuration changes.

  8. Verify Configuration:

    • After saving the changes, verify that the Master Node no longer has a public IP address assigned to it.
    • Test the connectivity to ensure that the necessary access is still available without exposing the Master Node to the public internet.

By following these steps, you can remediate the misconfiguration of an EMR Cluster Master Node having a public IP address in AWS.