What is the current state of IPv6 support in AWS? Are there any practical reasons to use IPv4 these days? With IPv6 NAT is not required, so it is supposed to be cheaper…
Thanks
What is the current state of IPv6 support in AWS? Are there any practical reasons to use IPv4 these days? With IPv6 NAT is not required, so it is supposed to be cheaper…
Thanks
Hello,
I found a couple resources that you may find helpful regarding IPv6 on AWS:
&
Additionally, you can also explore more help options here:
- Thomas E.
Why is NAT not required ?
Because there are enough addresses in IPv6 that everything can be assigned a publicly routable IP address. There’s no need to put an entire network behind a single public IP as in IPv4.
With IPv6 there can be egress-only subnets. So there wouldn’t need to be a private subnet → pubic subnet (with NAT) → outbound internet flow. Since IPv6 has a crazy number of addresses, it’s guaranteed to be unique outside of internal networks, and why network address translation isn’t needed
Interesting. I’ve set up a fair number of ipv4 AWS networks with that exact private/public/NAT config and this sounds super alien. Will look into it thanks.
So you can block inbound traffic, but network replies can route successfully because of the uniqueness of the addresses?
EC2 has great IPv6 support. Where AWS really lacks in IPv6 support is it’s APIs. All but a handful are IPv4-only. So if you want to access an AWS service from an IPv6-only EC2 instance, you need an IPv4 NAT or a VPC endpoint.
Not to mention many other third-party APIs don’t yet support IPv6.
This sounds like a siri response, lol.
It’s also cheaper compute wise because NAT is actually expensive in terms of compute.
Sorry, I didn’t quite understand. Can you repeat that?
Well the new added cost to all public IPs is a reason to move away from it. We have some spikes not to move to IPv6 as the new cost will add almost $500k to our yearly cost. We have over 10k in public IPs using stuff like load balancers and CloudFront.
Maybe captain obvious but, If you have a 3rd party integration that DNS resolves to a IPv4..
I feel this is long overdue. The whole world seems to be dragging it’s feet on IPv6. Hopefully, this gives everyone more reasons to enable v6 on their services. At this point, it’s just pure laziness, we have all the tools we need to enable v6 on everything, just lacking the will.
That’s funny regarding your VPC endpoint comment. You might want to scroll through “Private endpoints support IPv6” for AWS services. Unless you’re only talking to Athena from inside your VPC….
https://docs.aws.amazon.com/vpc/latest/userguide/aws-ipv6-support.html
You can’t deploy IPv6 only subnets right now without them having at least DNS64/NAT64 turned on your NAT gateway and you’ll be paying VPC egress data fees no matter what for talking to AWS services.
It doesn’t seem that IPv4 addresses used by CloudFront or by internet facing load balancers will be charged, though.