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 個月前檢視次數 1242 次
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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南