AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

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
전문가
답변함 일 년 전
  • 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.

  • It's unfortunate that AWS charges for the use of IPv4 addresses and NAT gateways and doesn't support IPv6 in many of its services, making the transition to IPv6 impossible.

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

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

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

관련 콘텐츠