Google Cloud Compute Instance, IPv6

Viewed 12744

I currently have a google cloud compute instance set up to be the back-end for a multiplayer game. Certain publishers and app stores that I'm trying to publish the game on require that the server can be reached via a client using an IPv6 address, which makes perfect sense. So the question is, how do I go about making it that the compute instance can be connected to via IPv6?

It's worth noting that the connection between the client and server is done via UDP, so using load balancing doesn't appear to work (since load balancers in google cloud can only be done over TCP, from what I can tell).

Has anyone else had this issue, and if so how did you solve it?

Many thanks in advance.

4 Answers

Google cloud now supports external ipv6 on VM instances. Each instance can get a /96 external ip range and it can be used to access internet (without NAT) or be used for VM to VM traffic.

At this moment (July 2021) it's only supported limited regions:

  • asia-east1
  • asia-south1
  • europe-west2
  • us-west2

See more detailed in

https://cloud.google.com/compute/docs/ip-addresses/configure-ipv6-address https://cloud.google.com/vpc/docs/vpc#ipv6-addresses

If your instance happened to be one of the 4 regions above then you should be able to use the VM instance IPv6 feature.

Related