ECS support for IPv6-only

6

Hi,

I'm trying to set up ECS services in an environment where the only public Internet connectivity is via IPv6. The ecs agent is unable to talk to e.g. ecs.us-east-1.amazonaws.com and I notice it has no AAAA record.

Is this by design? As public IPv4 addresses become costly in a few months, it would be very desirable to be able to use ECS without them (or gateways etc.).

Thank you

  • This is such an important feature which is missing. We are being billed $$$ because of this.

  • It is still not possible to create ECS services with IPv6 only and still need to pay for the allocated IPv4 addresses.

Jon
질문됨 7달 전1350회 조회
5개 답변
5

Why has this not been answered? Since this month we're charged for having IPv4 public addresses, but it seems AWS has not done their effort to provide proper IPv6 support on widely used services like ECS.

Foo
답변함 3달 전
2

Any Solution for this problem

답변함 3달 전
1

Agent not able to resolve the ipv6 address Same issue here. We can clearly see that the issue is resolving the ecs endpoint b/c the there's no AAAA record on them. I was able to get the agent to connect when I followed the instructions here by adding a NAT Gateway and making a subnet route for it.

works after attaching nat

답변함 3달 전
1

This is the kind of thing I would expect from Microsoft, rather than AWS.

I understand IPv4 addresses are scarce, and encouraging a transition to IPv6 is a good thing, but surely it's a no-brainer to make your own services IPv6 compatible before forcing your customers to adopt it.

bgre033
답변함 한 달 전
-7

The VPC needs to be in dual-stack mode. ECS supports IPv6 for EC2 and Fargate launch types.

AWS
답변함 7달 전
  • Thank you for the answer! Specifically this is what I would like to support:

    VPC subnets have private IPv4 addresses only, and public IPv6 addresses There is no Internet Gateway or NAT gateway anywhere Instances have public IPv6 addresses. They have connectivity to the Internet via IPv6 which works well. The public ECS APIs do not support IPv6, so these instances cannot talk to ECS.

    What are the options here? Since AWS is encouraging customers to stop using public IPv4 addresses by charging for them, when will ECS support public IPv6 connectivity?

  • The VPC is already in Dual Stack mode and I've already updated the account settings in ECS to enable dual-stack as well. Still, the task cannot communicate with the container via IPv6, only when using public IPv4. Also, Load Balancer has dual-stack enabled, but the public IPv4 can't be disabled. How do we handle these problems? :(

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

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

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

관련 콘텐츠