nanovms / ops

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

GCP rate limit: one disk image create every 10 minutes #1569

Closed chk-n closed 8 months ago

chk-n commented 8 months ago

According to google cloud docs: "You can create a disk image once every 10 minutes. If you want to issue a burst of requests to create a disk image, you can issue at most 6 requests in 60 minutes". This seems like a problem especially in a development environment where many deployments could occur. How does ops handle this?

eyberg commented 8 months ago

have you actually ran into that limit? we have quite a few users on GCP and I've never seen that limit hit; we definitely have situations where we go past that limit quite a lot; if you click on the second link it seems to imply it's for snapshots which is not how we create images

chk-n commented 8 months ago

No, but I don't want to run into that limit haha. Yeah its not very clear what they are referring to.. thanks for the quick reply

rinor commented 8 months ago

@chk-n what you are interested in, when dealing with image operations (boot images and/or disk(volume) images), is the gcp api quota limit for main actions like:

and, atm, that should be smth like 375 requests/minute/project. Check https://cloud.google.com/compute/api-quota and search for GlobalResourceWriteRequestsPerMinutePerProject

chk-n commented 8 months ago

@rinor Cool, thanks for the clarification :) That's more than enough for my use case