0

My Google cloud instance needs to support IPv4, IPv6, TCP, and UDP all on the same instance.

I've found this article that shows how to get IPv4, IPv6, and TCP with a global network load balancer, but it does not include UDP.

My instance is on GCE right now, but I am likely going to move over to GKE in the near future, so I'm looking for a solution that works on both.

Aaron H
  • 25
  • 5
  • That is for a load balancer, but you mention a single virtual machine instance. Exactly what are you actually trying to do? – Michael Hampton Jul 02 '19 at 18:11
  • @MichaelHampton Either via a load balancer or single instance is fine. I just need to find a way to get TCP and UDP traffic to my instance over both IPv4 and IPv6. – Aaron H Jul 02 '19 at 18:52
  • 1
    A Google load balancer can't do UDP, but you can certainly speak it directly from your instance, like any other host on the Internet. Keep in mind that [Google Cloud doesn't support IPv6](https://issuetracker.google.com/issues/35904387) on individual instances or VPCs. At this time only Amazon AWS meets all your requirements, as far as I can tell. – Michael Hampton Jul 02 '19 at 19:00
  • Okay, thank you very much for your help, @MichaelHampton. That answers my question. It looks like AWS will support what I need, but not Google Cloud. – Aaron H Jul 02 '19 at 19:17

1 Answers1

2

Google has added IPv6 support to a limited subset of regions which would enable you to run a VM with a public IPv6 /96.

Note that Google APIs and services are not reachable via IPv6.

There's a write-up of how to set it up here: GCP, basic IPv6 set up for Linux VM Instance

If you have a Google Customer Rep, you should ask them about IPv6 and GKE.

If you want to use k8s in Google with IPv6 today, you'll probably want something like Kops.

The only thing I know I need UDP+IPv6 for is DNS, and for that I'm willing to run a couple of VMs as opposed to a full k8s cluster.

Josh Soref
  • 36
  • 3