Hello I´m trying to automate AZURE VM management like Amazon EC2. Is there any way to manage AZURE VM from Powershell like Amazon EC2 API ?. I can´t find API easily documentation or how to do it. Thanks in advance :)
2 Answers
Windows Azure Management Cmdlets lists a number of AzureVM cmdlets.
- Add-AzureDataDisk : Adds a new data disk to a virtual machine object.
- Add-AzureProvisioningConfig : Adds the provisioning configuration to a Windows Azure virtual machine.
Add-AzureEndpoint : Adds a new endpoint to a Windows Azure virtual machine
Export-AzureVM : Exports a Windows Azure virtual machine state to a file.
.....and tonnes more
Do these not cover what you need?
2 Comments
Windows Azure has a REST-based API for just about everything, including the management API. Additionally, the API has a corresponding set of Windows Azure PowerShell cmdlets that you can call, which essentially lets you automate your entire deployment via PowerShell.
The most recent version, 2.2.2, has the ability to persist subscription settings, obviating the need for repeating parameters such as subscription ID and certificate thumbprint. Michael Washam, Technical Evangelist, blogged about v2.2.2 here.