Hi! The way you start instances in Azure is the same in all providers. jclouds provides a portable layer you can use to create instances in different clouds using the same code. I recommend you read the "compute getting started guide" [1] to have a better understanding of how it works.
You can also try the compute-basics example [2]. The code is simple and to the point, and you can compile and run it to deploy also on azure (although you'll need to explicitly add the azurecompute dependency to the pom.xml). Have a look at the azurecompute readme [3] for the details on how to generate the credentials and what identity and credential jclouds expects. HTH! I. [1] http://jclouds.apache.org/start/compute/ [2] https://github.com/jclouds/jclouds-examples/tree/master/compute-basics [3] https://github.com/jclouds/jclouds-labs/tree/master/azurecompute On 14 October 2015 at 11:03, Ruben Rubio Rey <[email protected]> wrote: > Hi Everyone, > > I am exploring the capabilities for Azure but azurecompute still under > development. As far I understand we should use AzureComputeApi. > > Could anyone please tell me how to create a new instance using > AzureComputeApi ? > > Regards, > Ruben >
