-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
I'm trying to launch VMs across AWS, GCP and Azure and have noted the following:
- the AWS VM create function returns within a second and then I can wait on the VM by checking its state (as in the startup example) which takes ~15s.
- the Azure VM creation call takes ~1m and then "waiting" on the VM state aftewards takes no time (because the create call essential blocks until the VM is ready).
- I don't recall the GCP behavior but the VM startup time is closer to AWS than azure
I'm using cloudbridge inside an asyncio application so a ~1m+ blocking call is problematic for me. Looking at the examples on Azure's website I see the Azure API returns some kind of poller and the create_vm call in azure_client blocks on the .result().
Is it possible to not block here but simply return a VM identifier? I have not been able to find enough documentation on the underlying API to even know if this is an option but I wanted to ask.
Metadata
Metadata
Assignees
Labels
No labels