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?

已提問 1 年前檢視次數 736 次
2 個答案
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.

已回答 8 個月前
  • 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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南