Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Compute Instance, IPv6

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.

like image 909
Donny Sutherland Avatar asked Jul 24 '17 14:07

Donny Sutherland


People also ask

Does Google Compute Engine support IPv6?

Google Cloud supports IPv6 clients with proxy load balancers such as the global external HTTP(S) load balancers, External SSL Proxy Load Balancing, and External TCP Proxy Load Balancing. The load balancer accepts IPv6 connections from your users, and then proxies those connections to your backends.

How do I ping Google IPv6 address?

To test Internet connectivity with IPv6 host name resolution: Type ping ipv6.google.com and press Enter. Observe the results. If you see replies indicating success, you have Internet connectivity and IPv6 host name resolution.

How do I use IPv6 with curl?

The square brackets are required to tell curl that it's an IPv6 address and not a host:port pair. The quotes are required to stop the shell from treating the square brackets as a glob. The backslash is required to stop curl from treating the square brackets as a range specification.


2 Answers

IPv6 Termination for HTTP(S), SSL Proxy, and TCP Proxy Load Balancing is currently in Beta.

https://cloud.google.com/compute/docs/load-balancing/ipv6

Configuring IPv6 termination for your load balancers lets your backend instances appear as IPv6 applications to your IPv6 clients.

Note: The documentation says this feature is not covered by any SLA or deprecation policy and may be subject to backward-incompatible changes.

The definition of Beta from their documentation: Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release, and charges may be waived in some cases. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.

https://cloud.google.com/terms/launch-stages

like image 155
afed Avatar answered Oct 29 '22 09:10

afed


IPv6 Termination for HTTP(S), SSL Proxy, and TCP Proxy Load Balancing became GA on September 20, 2017.

Source: https://cloudplatform.googleblog.com/2017/09/announcing-ipv6-global-load-balancing-ga.html.

See the documentation at https://cloud.google.com/compute/docs/load-balancing/ipv6

Keep in mind that inside the GCP network, all is still on IPv4, https://issuetracker.google.com/issues/35904387

like image 2
user7610 Avatar answered Oct 29 '22 09:10

user7610