Which EC2 types support IPv6?

1

Hey, I got this error when attempting to migrate to IPv6 to not be charged for a public IPv4 I don't really need.

"Failed to attach network interface eni-<snipped> to instance i-<snipped>. IPv6 addresses are not supported on t2.micro"

which contradicts the documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html that says t2.micro does support it.

Steps I took:

I modified my VPC by adding a new IPv6 CIDR block.

I created a new IPv6 only Subnet for the same Availability Zone as my EC2 instance.

I created a new Network Interface using the new Subnet.

I attempted to Attach the new NI to my existing EC2 t2.micro instance.

I got the error.

Since it isn't working, I wanted to ask which instance types DO support it before doing all the work to resetup my server on a new instance type. I can upgrade to a new t2.small instance or to a t3.micro instance, but I don't know how to tell which types will support it since the documentation is wrong.

Enduinn
질문됨 6달 전1244회 조회
3개 답변
1

Hello

Instance types: IPv6 is supported on all instance types, except C1, M1, M2, M3, and T1.

you can also see Elastic network interfaces, T2 family ec2 support IPv6

Enter image description here

profile pictureAWS
답변함 6달 전
0

Hello.

You can also add IPv6 using t2.micro by following the steps below.
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#working-with-ipv6-addresses
a

Therefore, I think there is a problem with the following procedure, which involves moving to a different subnet.

I created a new Network Interface using the new Subnet.

I attempted to Attach the new NI to my existing EC2 t2.micro instance.

profile picture
전문가
답변함 6달 전
  • Ah, so that means I need both IPv4 and IPv6 network interfaces instead IPv6 only NI? Maybe that's what the OP wants? To reduce the cost of using public IPv4 address on his/her instances?

0

Hello, If you want to use an IPv6-only EC2 instance, you need to use instance types based on nitro. For specific details, please refer to this documentation.

[+] Introducing IPv6-only subnets and EC2 instances https://aws.amazon.com/cn/blogs/networking-and-content-delivery/introducing-ipv6-only-subnets-and-ec2-instances/

[+] Instances built on the AWS Nitro System - https://docs.aws.amazon.com/zh_cn/ec2/latest/instancetypes/ec2-nitro-instances.html

AWS
Harry H
답변함 한 달 전

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

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

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

관련 콘텐츠