AWS Glue does not clean up network interfaces

1

Hi,

We have several glue jobs with 30-120 workers, some of them run as often as every 5 minutes. We need to access VPC resources from glue, so we created a glue connection that points to RDS. Everything works fine, apart from the fact that glue creates network interfaces (I guess for worker nodes) and does not clean them up on termination. Gradually, we end up with thousands (!) of ENIs in the available state that exhausts the cidr pool completely. Why the ENIs are not deleted on node termination? and how can we fix that?

preguntada hace un año734 visualizaciones
2 Respuestas
0

You will need to ensure that you have the correct policies for the IAM role that's assigned to the Glue job. Specifically, the ec2:DeleteNetworkInterface action will need to be added to the permission set. Then, Glue should be able to clean these up after use.

respondido hace 8 meses
  • i m encountering same issue. my glue role have - ec2:DeleteNetworkInterface - policy. still glue is not automatically deleting ENI

0

Follow the instructions in the following document.
I believe that removing the unused ENI yourself will help to solve the problem.
https://repost.aws/knowledge-center/glue-specified-subnet-free-addresses

profile picture
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas