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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ