Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # create 10 instances
- for i in {1..10}
- do
- time oci compute instance launch --display-name "test-$i" --availability-domain sbnF:UK-LONDON-1-AD-1 --compartment-id ocid1.compartment.oc1.<compartment-id> --shape VM.Standard.E2.1 --subnet-id ocid1.subnet.oc1.uk-london-1.<subnet-id> --image-id ocid1.image.oc1.uk-london-1.<image-id> --raw-output --query 'data.id'
- done
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m2.730s
- user 0m0.901s
- sys 0m0.491s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m2.071s
- user 0m0.625s
- sys 0m0.061s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.977s
- user 0m0.723s
- sys 0m0.000s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.762s
- user 0m0.615s
- sys 0m0.061s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.776s
- user 0m0.639s
- sys 0m0.060s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.690s
- user 0m0.639s
- sys 0m0.040s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m2.173s
- user 0m0.671s
- sys 0m0.040s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.771s
- user 0m0.582s
- sys 0m0.090s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.865s
- user 0m0.662s
- sys 0m0.049s
- ocid1.instance.oc1.uk-london-1.<instance-id>
- real 0m1.695s
- user 0m0.668s
- sys 0m0.011s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement