How to create VM in GCP with gcloud

Below are the steps for creating VM in Google Cloud Platform with gcloud.
  • Before creating VM list available operating system image to use for the boot disk of your instance.
  • Select any image and note down imgae family and imgae project. Run command in below format and select zone.
  • You should see output in below format after successful VM creation.

  • Category: GCP