Deleting network interface ID's?

0

How to delete network interfaces? I am facing issues in deleting network interface ID's since it is connecting to vpc subnet and route table they are also unable to delete

Anusha
질문됨 9달 전183회 조회
2개 답변
0

Hi Anusha,

This generally happens when there is an association of ENI with existing resource. You can either first delete the associated resources or detach the association from the ENI and then delete.

Here is the re:Post Knowledge Center Article, which has step by step guide, how to delete ENI.

Please follow the steps, you should be able to delete the ENI.

Additionally take a look at this re:Post thread, this may also help you where similar discussion happened.

Here is the command reference:

  aws ec2 delete-network-interface --network-interface-id <eni-name>

  aws ec2 describe-network-interfaces --filters 'Name=vpc-id,Values='$vpc | grep NetworkInterfaceId

Second command would provide you the resources with which this ENI is attached.

Additional Reference:

Hope you find this helpful.

Comment here if you have additional questions, happy to help.

Abhishek

profile pictureAWS
전문가
답변함 9달 전
  • Were you able to delete the ENI. Do you have any additional questions, feel free to comment.

0

Specifically, Which kind of ENI you trying to detach/remove from VPC? its totally depend on what kind of service/resources behind this ENI. for example if its related with some 3rd party SaaS like service you should first contact those 3rd party organization before rid of this.

V
답변함 9달 전

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

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

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

관련 콘텐츠