All checks
Medium EFS · regional

EFS mount targets should not be associated with subnets that assign public IP addresses on launch

Flags EFS mount targets associated with subnets that automatically assign public IP addresses on instance launch.

service
EFS
severity
Medium
scope
evaluated in every region

How to fix it

To ensure EFS mount targets are not associated with subnets that assign public IP addresses, you need to modify the subnet configuration or move the mount targets to private subnets.

  1. Navigate to the Amazon VPC console
  2. Select the subnet where your EFS mount target is located
  3. Choose 'Actions' and then 'Modify auto-assign IP settings'
  4. Disable 'Auto-assign public IPv4 address' for the subnet
  5. Alternatively, create a new private subnet and move the mount target
  6. Verify that the mount target is no longer publicly accessible

See which of your accounts this check is failing on.

Book a demo