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?

feita há um ano736 visualizações
2 Respostas
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 há 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
ESPECIALISTA
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas