简体   繁体   中英

GCE create an instances from iso file

I'm trying to create an instance with the custom image.

First, I found that the gcloud compute instances import command can create VM with the OVA file.

But I would like to create with ISO. Is there any approach to get it done? I read the doc , and it looks like only can create a persistent disk image from an ISO file, but I want it to be the boot disk.

Thank you.

As Suggested by @John Hanley, you should select a supported Google Cloud image and modify the VM as you desire. Then create an image from the VM.

You can create custom images of boot disks and use these images to create new instances. This is ideal for situations where you have created and modified a persistent boot disk to a certain state and need to save that state to create new instances.

Alternatively, you can import boot disk images to Compute Engine from your existing systems and add them to your custom images list.

There is a whole section of the Google Documentation "How-to" regarding the creation of Custom images that you can follow. You can also check the steps of how to import a Boot Disk to Compute engine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM