How to change subnet in a network interface

0

Hello, I have an EC2 instance with two netowrk interface, for two different subnet, now I need to change the subnet in default interface, but cannot find the way to change it. Could anyone help for this?

Simon
질문됨 7달 전417회 조회
1개 답변
1

Hello.

The default ENI cannot be detached from EC2, so you should not be able to change the subnet.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html

If you really want to change it, you will need to create an EC2 AMI and select a subnet when creating a new instance from the AMI. https://repost.aws/knowledge-center/move-ec2-instance

profile picture
전문가
답변함 7달 전
profile picture
전문가
검토됨 7달 전
  • Thanks for your reply, can I change the default ENI to another interface?

  • You cannot change the default ENI of an already running EC2 to another one.

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

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

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

관련 콘텐츠