1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
ENIs created by ECS or Glue cannot be deleted if they are in use.
It is automatically deleted when the ECS task ends or the Glue job completes.
Therefore, I think it is better to increase the quota as stated in the error message instead of deleting it.
https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis
In the case of Glue, the following documentation may be helpful.
https://repost.aws/knowledge-center/glue-specified-subnet-free-addresses

I noticed that there are 678+ ENIs with the status "Available." For testing purposes, I deleted a Stage Glue ENI that was also in Available status, and everything continued to work as expected.
My only question is: If I delete all "Available" ENIs, could it impact any of my services?
If the Glue job is not running, it is safe to delete all ENIs. However, if you delete an ENI while a job is running (likely, you won't be able to delete one that is associated with the job), it may affect the job's operation.