Whenever we create a new VM (virtual machine) Instance on Google Cloud Platform, an external IP address gets assigned on our VM Instance automatically and that IP address sets as an Ephemeral IP address by default. This IP address we need to save on our Cloud DNS section and the problem is, the IP address changes every time whenever our virtual machine stopped or restarted. That’s why we need to reserve a Static IP address instated of default ephemeral IP address to save our website from technical errors.
In this tutorial, you will learn how to reserve and configure a static IP address on VM instance of Google Cloud P
So, Let’s get Started!
Steps to Reserving a Static IP Address on GCP
Reserving an Existing IP Address
Reserving a New IP Address
Congratulations! you have successfully Reserved your External IP address as Static
Suggested Reading – How to set up a domain on a Google Cloud server
Please Note: Google allows us to reserve only one External IP address per Zone. So, if you want to reserve external IP addresses for your different instances, then you must have to select a separate zone for each Instance.
So, this is my complete guide on How to reserve and assign a static IP address on Google Cloud Platform. If you have any questions regarding this tutorial, then feel free to let me know by commenting below, and I’ll get back you as soon possible.