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 22, 2019 in GCP by anonymous
• 6,260 points
785 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 22, 2019 by Sirajul
• 59,230 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, 2019 in GCP by Sirajul
• 59,230 points
2,791 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,390 points
397 views
0 votes
1 answer
0 votes
1 answer

AWS to GCP migration.

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

answered Oct 21, 2019 in GCP by Sirajul
• 59,230 points
2,323 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP