* azure * yaml * json
- You need to supply the account information on "azure_account.yaml"
---
storage_account_name: ##the storage account name
storage_access_key: ##storage access key
management_certificate: ## *.pem location
subscription_id: ##your account subscription id
management_endpoint: 'https://management.core.windows.net'
- Supply the desired VM name on "hostname.yaml"
---
host:
- my_vm_name01
- my_vm_name02
- my_vm_name03
- my_vm_name04
- my_vm_name04
Once the gems that required are installed on your system and you provide all the information needed on the yaml file.
- To deploy vm
$ ruby deploy_azurevm.rb NOTE: This deploy script will spawn all the VM you supply on the "hostname.yaml"
- To list all the VM created
$ ruby list_azurevm.rb
- To list the available public images
$ ruby image_azurevm.rb
- To list locations
$ ruby location_azurevm.rb
- To Delete the VM's included on the hostname.yaml
$ ruby destroy_azurevm.rb