0

Is there a way to start multiple virtual machines (instances) simultaneously in CloudStack?

Apparently this can't be done using the http user interface. Also, the http API request specifies only one id for targeting the virtual machine.

All I can think to solve this problem is to fire multiple individual start requests for each instance, then polling each of the job for results. Is there a better way?

kaspersky
  • 3,959
  • 4
  • 33
  • 50

2 Answers2

0

CloudStack is an API driven system, if there is no API call where you can specify multiple VMs to be created (and I don't think there is), then it is not possible.

If you do need to create multiple machines (nearly) simultaneously, the only option I see is to fire multiple API calls, as you already mentioned.

See this answer on another question for a list of tools that make interfacing with CloudStack easier.

Community
  • 1
  • 1
Miguel Ferreira
  • 1,282
  • 11
  • 27
0

To start VM on cloudstack simultaneously tho in serial, I used cloudmonkey and created a bash script to setup a group of know VM UUID. See here for my experience https://sites.google.com/site/cloudfyp/tutorial/cloudmonkey/commands-on-cloudmonkey

Tsu Wei Quan
  • 335
  • 1
  • 5
  • 19