1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked 8 months ago
- asked 5 years ago
- asked 3 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 days ago
- AWS OFFICIALUpdated 8 months ago
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.