detaching eni from subnet error

0

I am having trouble deleteing my VPC's, and it incured a lot of money. I need to detach eni's from subnet and receiveing errors: An error occurred (AuthFailure) when calling the DetachNetworkInterface operation: You do not have permission to access the specified resource. I want to stop the charges at least for now for all VPC resources connected to this eni that cannot be deleted. Is it possible?

已提問 2 個月前檢視次數 320 次
1 個回答
1

Hello.

First, you need to delete the AWS service that is using that ENI.
For example, are there any EC2s, ALBs, other VPC endpoints or NAT Gateways left?
If you were using something like RDS Proxy, you need to remove RDS Proxy.
Have you ever created a Lambda connected to a VPC?
If these resources remain, the network interface cannot be deleted unless they are deleted.
I think reading the "Description" of the ENI you want to delete will help you determine which AWS service is using the ENI.
Also, try identifying the AWS service by reading the following documentation.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc
https://repost.aws/knowledge-center/vpc-delete-requester-managed-endpoint

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
Kallu
已審閱 2 個月前
  • well, thats definetly not the answer I was expected. 1st thing, my account ID is 495648066120, so please tell billing account to remove VPC payment from my next bill. 2nd thing, in this linked video, you can see exactly what the error is. cannot delete anything while the eni is claiming to be attached. https://drive.google.com/file/d/1Ef6Jc0LXSdCI0ez_m2funOjBnGEFdyOC/view?usp=sharing you need to enable force deleteion for my account. if that is something that can be enabled. because, currently, using force checkbox still claims i am missing permissions to access this network interface.

  • If you watch the video, the "Description" of ENI contains a description that seems to be used in EKS. So, if you delete all EKS resources from the EKS screen instead of ENI, I think ENI will disappear along with it.

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

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

回答問題指南