1

I have a Google Cloud account and I am using a Compute Engine VM. Recently GCP started providing IPv6 for their VM instances. And I am in a supported region: us-east.

I created a new custom VPC with dual stack. In IP addresses under VPC network, I see the new IPv6 address assigned and used by my instance as an External, but Ephemeral address. Please look at the last line of the figure below:

GCP IP addresses screenshot

I have no problem with the newly assigned IPv6 address on my instance. However, I want to reserve that address and make it Static. While trying to use the RESERVE button for this, it returns: Error: Request contains an invalid argument.

2 Answers 2

1

Not possible yet unless your GCP project is granted Alpha access to the feature:

https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#reserve-regional-ipv6

Important: Static regional external IPv6 addresses are available as a limited Preview feature. Contact your sales representative for access.

When you reserve a regional external IPv6 address, a /96 range is assigned from the specified subnet.

gcloud alpha compute addresses create ADDRESS_NAME \ --region=REGION \ --subnet=SUBNET \ --ip-version=IPV6 \ --endpoint-type=VM 
2
  • Thanks. Can you make any estimated guess about the time this feature will go live (prod)? Commented Sep 12, 2022 at 18:47
  • No idea, I'm just a GCP user who also needs this feature. Commented Sep 13, 2022 at 19:14
0

Go to the Reserve a static address page Choose a name for the new address.

Specify whether it is an IPv4 or IPv6 address. Global IPv6 addresses can only be used with global load balancers.

Specify whether this IP address is regional or global. If you are reserving a static IP address for an instance or for a regional load balancer, choose Regional. If you are reserving a static IP address for a global load balancer, choose Global.

If this is a regional IP address, select the region to create the address in.

Optional: Select a resource to attach the IP. Click Reserve to reserve the IP.

4
  • Thanks for the answer. Unfortunately, the form at console.cloud.google.com/networking/addresses/add does not allow me to select IPv6 and Regional. (And I had already tried the Global type with no success.) Commented May 31, 2022 at 12:18
  • Use below gcloud command with verbosity this will reserve the external IPv6 : < gcloud compute addresses create <name_of_ipv6_address> --global --ip-version IPV6 --verbosity=debug >. with this many of them got reserved their IP. Commented Aug 1, 2022 at 13:47
  • Unfortunately, no, I haven't be able to reserve any IPv6 address. If you [edit and extend your original answer] with more detailed (and tested) step by step actions, I can try it once more. Commented Aug 22, 2022 at 7:21
  • Try to Use the below gcloud command with verbosity this will reserve the external IPv6 : < gcloud compute addresses create <name_of_ipv6_address> --global --ip-version IPV6 --verbosity=debug > with this many of them reserved their IP. Commented Aug 22, 2022 at 7:36

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.