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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠