Reputation: 72
I have very serious question that my App Engine instance’s IP changed automatically with specific time interval. So my live application stops working. Can you please help so that we can make it working again.
Right now to solve this issue we have to change IP every time & set in SQL database also manually which is not proper way to do that.
Thanks in advance.
Upvotes: 0
Views: 588
Reputation: 11167
As an update to Scott's answer addressing how to get a static IP address (inbound or outbound) for App Engine can be found in my recent (2021) answer from a related question. Yes, it's not available directly from the App Engine service itself, but it's possible with other "GCP infrastructure." (BTW [by the way], that FAQ knowledge base has been deprecated, so you'll be redirected elsewhere if you click that link.)
Upvotes: 0
Reputation: 72
Solution: Set SQl instance network IP as : 0.0.0.0/0
They above IP called as none IP means your instance accessible by any IP
Upvotes: 1
Reputation: 4460
From the Google App Engine FAQ and as mentioned in the comments
Static IP Addresses and App Engine apps
App Engine does not currently provide a way to map static IP addresses to an application. In order to optimize the network path between an end user and an App Engine application, end users on different ISPs or geographic locations might use different IP addresses to access the same App Engine application. DNS might return different IP addresses to access App Engine over time or from different network locations.
Outbound services, such as the URL Fetch, Sockets and Mail APIs, make use of a large pool of IP addresses. The IP address ranges in this pool are subject to routine changes. In fact, two sequential API calls from the same application may appear to originate from two different IP addresses.
Upvotes: 2