I have some custom business logic which requires me to use a Google API Key and make an HTTP Request. (Specifically Google Places)
I need to generate an API key from my Google Developers Console which requires me to provide authorized IP addresses.
Is this necessary? Should I be using a “Server API Key”? What are the Backendless Server IP’s?
Hi Nick,
Yes, you will need a “Server API key”. My understanding is the server IP address for “Server API keys” is optional. Here’s what the config screen in google dev console looks like:
http://support.backendless.com/public/attachments/e5b1adb46850f16f38fe58d703d8f940.png</img>
Regards,
Mark
Setting the IP is optional. However, it might be undesirable to accept every IP. (for security reasons)
Backendless Standalone would solve the issue.
Otherwise maybe you could “design” your Service to not cause such security risks.
The service is very dynamic. New instances are constantly allocated and deallocated, therefore maintaining a consistent list of IP addresses would rather impractical.
Does your Cloud has a fixed IP Subnet? Looks like googleApi’s accept complete subnets too.
No, there is no guarantee for the public IP which would be assigned by AWS to an instance: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html
“When you launch an instance in EC2-Classic, we automatically assign a public IP address to the instance. You cannot modify this behavior.”