nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

gcp(volumes): ops volume create - add disk image ops (GCP only) #1553

Closed rinor closed 9 months ago

rinor commented 10 months ago

a different, less intrusive, take on https://github.com/nanovms/ops/pull/1547 This allows additional flow for non-boot disk volumes on clouds (gcp only atm).

New flow allows to execute those actions separately:


Use cases:

eyberg commented 10 months ago

for cloning large volumes is it not possible to use the link I provided earlier? https://cloud.google.com/compute/docs/disks/create-disk-from-source#go

rinor commented 10 months ago

for cloning large volumes is it not possible to use the link I provided earlier? https://cloud.google.com/compute/docs/disks/create-disk-from-source#go

it is, and I can add the extra flow to use as source an existing disk (not image), but here I'm not "cloning" anything and using "images" as sources. And that link provides the additional sources disk, snapshot.

eyberg commented 10 months ago

I guess i'm still a bit unclear as to why would you want to use an image as the source vs using a volume as the source since that is what you want as the result? isn't it the use-case that you want to copy a large volume on GCP's side w/out having to upload it each time?