hardgcloud

Expand the IP range of an existing subnet to a larger CIDR prefix

command

gcloud compute networks subnets expand-ip-range SUBNET --region REGION --prefix-length PREFIX

also accepted

gcloud compute networks subnets expand-ip-range

Test your recall — not just your reading.

Practice with interactive quiz →