ECR login not working from IPv6 EC2 instance

0

I created an EC2 instance that has IPv6 address ONLY and the ECR login takes forever, I'm running this command below.

aws ecr get-login-password --region eu-west-1

It eventually times out.

Connect timeout on endpoint URL: "https://api.ecr.eu-west-1.amazonaws.com/"

I tried with another EC2 instance that includes a public IPv4 address in addition to IPv6 and it works fine. Any reason why ECR login doesn't work from IPv6?

1回答
0
承認された回答

Hello.

Looking at the issue below, it seems that you cannot pull images from ECR with IPv6 only.
I don't think the reason why IPv6 cannot be used has been made public.
I think AWS will probably support this in the future, but for now I think it's best to make ECR accessible via IPv4.
https://github.com/aws/containers-roadmap/issues/1340

profile picture
エキスパート
回答済み 6ヶ月前
  • Thank you so much! Just a side note, now I have an interesting dilemma. AWS is starting to charge public IPv4 addresses at 1st February 2024. They want to encourage the acceleration of IPv6 adoption. That's why I'm here and considering the IPv4 pricing (not insignificant) I will do just that, stick with IPv6 only and replace ECR with some alternative unfortunately. I'm hoping AWS will add IPv6 support to ECR as soon as possible.

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

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

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

関連するコンテンツ