Search code examples
google-cloud-platformgoogle-cloud-networkinggoogle-cloud-tpu

How can I attach a static external IP address with a GCP Cloud TPU VM?


I want to use a static reserved IP address with a Cloud TPU VM.

For a regular (non-TPU) Compute Engine instance, I can just use the web interface and go to the "External IP addresses" tab of the "VPC Network" page, select an existing external IP (or create a new one), and choose to attach it to a Compute Engine instance from the dropdown. However, my TPU VM does not show up in this same dropdown.

Is it possible to reserve and attach a static external IP address to my TPU VM by some other means?

Thanks!

EDIT: Here's what I see in the GCP web interface when I select the TPU VM: enter image description here


Solution

  • Unfortunately you currently can't assign a static IP to a TPU VM yet like you can a GCE node (e.g. https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address).

    This may be supported in the future though!