A Cloud Engineer needs to reserve a static regional external IP address named `frontend-static-ip` in the `us-east1` region for a Google Cloud workload using the command-line interface. Which `gcloud` command should the engineer run?
- gcloud compute addresses create frontend-static-ip --region=us-east1Cevap
- Bgcloud compute networks subnets update frontend-static-ip --region=us-east1
- Cgcloud compute routes create frontend-static-ip --region=us-east1
- Dgcloud storage addresses create frontend-static-ip --region=us-east1
Cevap
The command `gcloud compute addresses create frontend-static-ip --region=us-east1` reserves a static regional external IP address.
To reserve a static regional external IP address in Google Cloud, the `gcloud compute addresses create [ADDRESS_NAME] --region=[REGION]` command is used. This allocates a static IP address in the specified region that can be attached to Compute Engine instances or load balancers.
Adım Adım Çözüm
Anahtar Kavram
Reserving Static IP Addresses in GCP