How can you run iOS Apps on the Google Cloud even though it lacks support for IPv6

喜你入骨 提交于 2019-12-19 09:01:53

问题


A new app store policy by Apple has taken effect on June 1 so that all apps submitted to the App Store must support IPv6-only networking (https://developer.apple.com/news/?id=05042016a). How is it possible to host an app on Google Cloud Platform that only supports IPv4 (https://cloud.google.com/compute/docs/networking) and still passes Apple's review process?


回答1:


The server side of the app doesn't need to be reachable over IPv6 yet. Most IPv6-only networks have a DNS64/NAT64 service to reach IPv4-only servers from IPv6-only clients.

Take a look at RFC 6052, RFC 6146 and RFC 6147 if you want to know more about the technology behind that.

This of course does make your application dependent on ugly transition mechanisms which will (probably) lower the user experience of your customers, so making sure that your servers are reachable over both IPv4 and IPv6 will make things work better. Both Facebook and LinkedIn measurements show that user experience is better from mobile networks over IPv6. The performance improvements range from 10% to 40%, depending on the mobile network.




回答2:


looks like this is the plausible solution:

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

but before using this solution, you should set up load balancing

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

for setting up load balancing, you need to create the instance group

https://cloud.google.com/compute/docs/instance-groups/



来源:https://stackoverflow.com/questions/38063077/how-can-you-run-ios-apps-on-the-google-cloud-even-though-it-lacks-support-for-ip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!