Karthikeyan KR
Karthikeyan KR

Reputation: 1174

Create multiple virtual machine instances in azure using java SDK without Scale Set

I am using java sdk for creating virtual machines in windows azure.But i can create only one instance of virtual machine at a time.

I can use Scale Set for creating multiple virtual machine instances but i am not suppose to do that, because Scale Set is a special image. If we created virtual machines using scale set it won't be displayed under virtual machines tab.

So is there any way to create multiple virtual machine instances in azure using java SDK without using thread,loops and Scale Set?

Upvotes: 0

Views: 448

Answers (1)

Peter Pan
Peter Pan

Reputation: 24138

It sounds like you want to separately create multiple VM instances at a time, and not using concurrent programming or creating one by one.

I think it's impossble for doing in a Java client with SDK without Scale Set.

Perhaps, you can try to use Azure Batch Service to run a Java job this parallelly, please refer to https://azure.microsoft.com/en-us/documentation/services/batch/ to know it. And there is a batch sample at https://github.com/Azure/azure-batch-samples.

Hope it helps.

Upvotes: 0

Related Questions