Reputation: 4175
I am creating my own VPN server. I want it to have an IP address of (say) Canada. I created an Compute Instance in the region of my choice and reserved a static IP in that region as well but when I check the external IP Geolocation it still says Mountain view CA. I tried this answer but it didn't worked.
In AWS when I chose a region the IP is located in that region itself.
I would like to know how to change Geolocation of External IP in Google Compute?
Upvotes: 1
Views: 2161
Reputation: 350
By Default all External IP addresses provided by GCP will always show that it is hosted in Mountain View (which is the Google headquarters). But it doesn't necessarily means that it is hosted there. Right now, there is no way to change the IP geolocation. This Stackoverflow thread has more detailed explanation.
But, there is already a Feature Request with GCP support to show the proper IP location. Just remember that, Google does not provides ETA or when it will be implemented. You can consult this feature request in the next URL where updates will be posted, you can also use this same link to post any comment to make developers aware that more people is requesting this.
Upvotes: 3