The Blog

GCP How to assign a static IP address to a new VM instance Posted on

When you create a VM instance, it is automatically assigned an ephemeral external IP address. If you don’t want an ephemeral external IP address, you can explicitly assign a static external IP address to the instance instead.

  1. In the GCP Console, go to the VM Instances page.

  2. Click Create instance.

  3. On the Create a new instance page, fill in the properties for your instance.

  4. Expand the Management, security, disks, networking, sole tenancy section.

  5. Click Networking.

  6. Under Network interfaces, click on the default network interface to edit it.

  7. Under the External IP section, select the static external IP address that you reserved from the drop-down menu.

  8. Click Done to finish modifying the default network interface.

  9. Click Create to create the instance.

This entry was posted in Google Cloud Platform. Bookmark the permalink.

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

Change the CAPTCHA codeSpeak the CAPTCHA code