Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Azure - create subscription programmatically

Tags:

azure

Is there a way to create a new subscription and add it to a Windows Azure account programmatically?

The goal is to have a web application where users can register and deploy a set of virtual machines (automatically). The web application should use an existing Windows Azure account and add a new subscription to it, which is then used to deploy the machines for the new user.

Any suggestions for implementing this, without having to manually access the management portal and add a new subscription?

like image 808
user3327607 Avatar asked Nov 10 '22 12:11

user3327607


1 Answers

There's no REST API or any other programmatic method for creating a subscription. Subscriptions have related security checks, specific plans, payment methods, etc. This part must be done via the windowsazure.com portal.

Once this is complete, though, you can programmatically create cloud services, deploy VMs (based on either gallery images or your own custom images), and pretty much anything else.

like image 71
David Makogon Avatar answered Nov 29 '22 20:11

David Makogon