sudo tee -a /etc/yum.repos.d/google-cloud-sdk.repo << EOM [google-cloud-sdk] name=Google Cloud SDK baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64 enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg EOM yum -y install google-cloud-sdk
gcloud auth activate-service-account --key-file [your-key-file]
gcloud compute instances list
gcloud compute instances create [new instance-name]
gcloud compute instances create [new instance-name] --source-instance-template [your-instance-template]
gcloud compute instances delete [your-hostname] --zone [zone-of-the-instance]