Tell us about your request
Support IPv6 egress for Fargate containers
Which service(s) is this request for?
Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Right now Fargate containers receive a ENI that is managed by the AWS. It's not possible to assign IPv6 to it, even if the underlying VPC supports it. This makes it impossible for Fargate containers to contact IPv6-only resources.
An opt-in setting to assign an IPv6 address to the container's ENI would be appreciated.
Are you currently working around this issue?
We're working around it by using a dedicated proxy instance
Hi @Cyberax, thanks for creating the issue! We are now actively looking at enabling native IPv6 connectivity for Fargate and ECS. Also thanks to everyone who have up-voted the proposal!
We appreciate feedback from everyone, as it helps us prioritize the most requested IPv6 scenarios. It would be especially useful to understand:
Please keep the feedback coming!
Dualstack is fine for us, we also depend on third-party IPv4-only services so realistically IPv4 is a hard requirement for the next couple of years at least. So having native AWS resources (like ECR or S3) being accessible through IPv6 is also not really a huge issue.
Some background about our IPv6 usage, it's a bit unique.
We're splitting our organization into multiple units. Each organizational unit has multiple AWS accounts (for prod, test, staging, etc.). Units are responsible for providing one or more services (accessible through API). We want these services to talk to each other with minimal infrastructure overhead and so we identified the following solutions:
So far the 3. is almost perfect for us, as it's very easy to setup and automate. And it works really well with regular EC2 instances.
BTW, we'd be glad to beta-test IPv6 support when it's ready (we're an NDA customer if it helps).
@Cyberax a much cleaner solution is VPC private links.
No public Web, no messy peer cidr over lap, easy security groups, and native dual stack.
@ofiliz excited to see this is been researched. Here are some answers based on my team's use case:
Application: Fargate containers deployed in VPC need to access telecom IPv6 only equipment which is on-premise in a customer's lab.
What type of VPC resources do you want to access over IPv6?
Ans: There are certain on-premise telecom networking resources which only support IPv6
Are you interested in dual stack (IPv4+IPv6) or do you need IPv6-only (IPv4 disallowed) access?
Ans: Dual Stack would be needed
Are you planning to use IPv6 only within your VPC(s), or are you also planning to connect your tasks to IPv6 internet?
Ans: IPv6 internet
I would be interested in contributing by testing during the developer preview to support this effort.
My team would like to be able to use internet-facing load balancers within the network over IPv6 so that we don't have to maintain a redundant set of internal load balancers for Fargate.
Dual-stack IPv6 is now available with awsvpc networking mode for both ECS on Fargate and ECS on EC2!
https://aws.amazon.com/about-aws/whats-new/2020/11/amazon-ecs-supports-ipv6-in-awsvpc-networking-mode/
Most helpful comment
Dual-stack IPv6 is now available with awsvpc networking mode for both ECS on Fargate and ECS on EC2!
https://aws.amazon.com/about-aws/whats-new/2020/11/amazon-ecs-supports-ipv6-in-awsvpc-networking-mode/