Import an Instance with custom settings on GCP

0 votes

I want to import a VM instance onto GCP but with a few custom settings. The required settings are:

  • Instance name: my-instance
  • Operating system: Ubuntu 1404
  • Network: custom-vpc network
  • Subnet company-vpc-us-east1-c
  • Zone: us-east1-c

How do i import an instance with these custom properties? 

Oct 21 in GCP by anonymous
• 3,920 points
16 views

1 answer to this question.

0 votes

Run the following command:

gcloud compute instances import my-instance --os ubuntu-1404 \
  --source-uri=gs://my-bucket/Ubuntu.ova \
  --network company-vpc \
  --subnet company-vpc-us-east1-c \
  --zone us-east1-c
answered Oct 21 by Sirajul
• 37,930 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

Set a custom password for a windows instance on GCP

Compute Engine generates a random password, but ...READ MORE

answered Nov 8 in GCP by Sirajul
• 37,930 points
11 views
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,260 points
46 views
0 votes
1 answer

AWS to GCP migration.

Migrate for Compute Engine gets enterprise applications ...READ MORE

answered Oct 21 in GCP by Sirajul
• 37,930 points
62 views
0 votes
1 answer