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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容