GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Fargate] [request]: Support IPv6 egress in dual-stack subnets without a NAT gateway · Issue #2924 · aws/containers-roadmap

[Fargate] [request]: Support IPv6 egress in dual-stack subnets without a NAT gateway #2924

New issue
Copy link
New issue
Copy link
Open
Open
[Fargate] [request]: Support IPv6 egress in dual-stack subnets without a NAT gateway#2924
Copy link
Labels
EKSAmazon Elastic Kubernetes ServiceEKS NetworkingEKS Networking related issuesFargateAWS FargateProposedCommunity submitted issue

Description

@jackvreeken
jackvreeken
opened on Nov 18, 2026
Issue body actions

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
Let Fargate tasks in dual-stack subnets reach the AWS endpoints they need at launch (ECR, Secrets Manager, CloudWatch Logs) over IPv6, so that a dual-stack subnet whose only way out is an egress-only internet gateway works. This could be automatic, or an opt-in task or service setting equivalent to ECS_INSTANCE_IP_COMPATIBILITY=ipv6 on the EC2 agent.

Which service(s) is this request for?
Fargate (ECS)

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Our private subnets are dual-stack. Outbound traffic goes over IPv6 through an egress-only internet gateway; there is no NAT gateway. In these subnets Fargate tasks fail with ResourceInitializationError: context deadline exceeded. As far as we can tell, a task that has an IPv4 address does its launch calls over IPv4, even when the subnet has no IPv4 route out.

We tested this in eu-west-1 with the dualStackIPv6 account setting enabled:

Subnet Image URI Result
dual-stack standard (<account>.dkr.ecr.eu-west-1.amazonaws.com/...) ResourceInitializationError
dual-stack dual-stack (<account>.dkr-ecr.eu-west-1.on.aws/...) ResourceInitializationError
IPv6-only dual-stack works (image pull, Secrets Manager, awslogs)
IPv6-only standard CannotPullContainerError

Even the dual-stack image URI fails in the dual-stack subnet, so the problem is not the image reference alone.

#2904 asks for the same on ECS Managed Instances. Its workaround, a self-managed auto-scaling group whose launch template sets ECS_INSTANCE_IP_COMPATIBILITY=ipv6, has no Fargate equivalent: there is no instance, user data or ecs.config to change.

Are you currently working around this issue?
We run Fargate tasks in separate IPv6-only subnets. That works, but it means a second set of private subnets just for Fargate, the tasks cannot reach IPv4-only resources, and ECS Exec does not work. The other options, a NAT gateway, interface VPC endpoints in every AZ, or public IPv4 addresses (with public dual-stack subnet), add cost or exposure that the egress-only gateway is meant to avoid.

Additional context
In IPv6-only subnets Fargate already uses the dual-stack endpoints, so the capability exists; we would like to be able to use it in dual-stack subnets too.

Attachments
None.

Reacted by Richard Tunnicliffe and Steffen Opel

Activity

  1. jackvreeken
    added
    ProposedCommunity submitted issue
    on Nov 18, 2026
  2. mikestef9
    added
    EKSAmazon Elastic Kubernetes Service
    EKS NetworkingEKS Networking related issues
    FargateAWS Fargate
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EKSAmazon Elastic Kubernetes ServiceEKS NetworkingEKS Networking related issuesFargateAWS FargateProposedCommunity submitted issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.