A Cloud Engineer needs to create a new infrastructure deployment in Google Cloud using Google Cloud Deployment Manager. The configuration template file is stored locally as `network-config.yaml`. Which `gcloud` command should the engineer execute to create a new deployment named `production-network`?
- gcloud deployment-manager deployments create production-network --config network-config.yamlCevap
- Bgcloud deployment-manager deployments update production-network --config network-config.yaml
- Cgcloud compute instances create production-network --config network-config.yaml
- Dgcloud storage buckets create production-network --config network-config.yaml
Cevap
The command `gcloud deployment-manager deployments create production-network --config network-config.yaml` is the correct syntax for creating a new deployment in Deployment Manager.
To create a brand-new deployment in Google Cloud Deployment Manager, the `gcloud deployment-manager deployments create` command must be used along with the deployment name and the `--config` flag pointing to the YAML or Jinja/Python configuration file.
Adım Adım Çözüm
Anahtar Kavram
Deployment Manager CLI Execution