hardgcloud
Create a new subnet within a VPC network with a specified IP range
command
gcloud compute networks subnets create SUBNET --network NETWORK --region REGION --range RANGEalso accepted
gcloud compute networks subnets createcommand
gcloud compute networks subnets create SUBNET --network NETWORK --region REGION --range RANGEalso accepted
gcloud compute networks subnets createPart of the Google Cloud CLI (gcloud) — Networking category.
| Flag | Purpose |
|---|---|
--network | Boolean flag |
--region | Boolean flag |
--range | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →