Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Messaging Server key whitelist IP addresses with auto scaling

I'm migrating my AWS beanstalk application to use GCM on the server side for android push update. However, when i'm setting up the server key, it prompts me for a set of whitelist server IP.

My question is, if my application is under AWS's auto scaling system, how does the whitelist work? Should I be manually entering the IP addresses of all the EC2 instances?

like image 292
wangyif2 Avatar asked Jun 09 '13 19:06

wangyif2


People also ask

What is Google Com's IP address?

In the DNS servers field, enter the Google Public DNS IP addresses, separated by a comma: For IPv4: 8.8.8.8 and/or 8.8.4.4 . For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844 .

What is the difference between internal and external IP addresses within Google Cloud?

Google Cloud uses the following labels to describe different IP address types. For example, an internal IP address is not publicly routed. An external IP address is a publicly routed IP address. You can assign an external IP address to the network interface of a Google Cloud VM.


1 Answers

You don't have to fill in the set of whitelist server IPs. It's optional.

If you know all the potential IP addresses your server may run on, you can specify a list of IP addresses or subnets (such as 192.168.12.0/23). Otherwise, keep it empty.

like image 167
Eran Avatar answered Sep 19 '22 01:09

Eran