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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ