All checks
Medium SageMaker · regional

SageMaker data quality job definitions should have inter-container traffic encryption enabled

Flags Amazon SageMaker data quality monitoring job definitions whose NetworkConfig.EnableInterContainerTrafficEncryption is disabled. Without it, traffic between containers in a distributed processing job is unencrypted on the data plane network.

service
SageMaker
severity
Medium
scope
evaluated in every region

How to fix it

  • Replaces the resource: Job definitions cannot be updated: create a copy with this setting under a new name, repoint every monitoring schedule to it, then delete this one.

Settings

NetworkConfig.EnableInterContainerTrafficEncryption
true

With Terraform

resource "aws_sagemaker_data_quality_job_definition" "this" {
  role_arn = var.role_arn

  data_quality_app_specification {
    image_uri = var.monitor_image_uri
  }

  data_quality_job_input {
    endpoint_input {
      endpoint_name = var.endpoint_name
    }
  }

  data_quality_job_output_config {
    monitoring_outputs {
      s3_output {
        s3_uri = var.report_s3_uri
      }
    }
  }

  job_resources {
    cluster_config {
      instance_count    = var.instance_count
      instance_type     = var.instance_type
      volume_size_in_gb = var.volume_size_in_gb
    }
  }

  network_config {
    enable_inter_container_traffic_encryption = true
  }
}

See which of your accounts this check is failing on.

Book a live scan