Questions tagged [azure-virtual-machine]

IaaS service provided by Microsoft Azure to host custom persistent virtual machines running Windows Server or Linux.

Microsoft Azure Virtual Machine enables you to create a server in the cloud that you can control and manage. After you create a virtual machine in Microsoft Azure, you can access it like any other server and you can delete and re-create it whenever you need to. You can use a virtual machine in Microsoft Azure to deploy Windows OS images or various distributions of Linux operating systems.

Virtual Networks are available to connect these Virtual Machines together, and to your existing in-house infrastructure.

Note: Microsoft Azure Virtual Machine (which is IaaS) should not be confused with Microsoft Azure Cloud Services VM Role (which is PaaS and was retired 31st May 2013).

For more information, see http://msdn.microsoft.com/en-us/library/windowsazure/jj156003.aspx.

2399 questions
5
votes
1 answer

Do you know of a good explanation for fault domains and update domains?

I'm new to Azure and have been struggling with a concept specifically update domains and fault domains. Probably having a harder time understanding Update Domains. So as I understand it, having 3 VMs in 3 fault domains would be essentially having…
5
votes
2 answers

Receiving the error Code: SubscriptionNotFound Message: The subscription not found when trying to get data about Azure Virtual Machine?

I am working on a script that accesses details about an Azure Virtual Machine currently. This is the code that I have so far: """ Instantiate the ComputeManagementClient with the appropriate credentials. @return ComputeManagementClient…
5
votes
5 answers

Unable to ssh into Azure VM -- connection timed out

I am trying to create a VM with the Azure CLI and ssh into it from Azure Cloud Shell. I have followed the official guide (https://learn.microsoft.com/en-us/azure/virtual-machines/linux/quick-create-cli) by running these commands: $ az group create…
wbinventor
  • 345
  • 1
  • 4
  • 13
5
votes
2 answers

Terraform reports 'No module called "name of the module" is declared' in "root" module

I have done exploration and I want to stick customized module concept rather than to use the Azure public registry of modules. Source code location is here https://github.com/ameyaagashe/help_me_cross_2 I run terraform on command line with below…
5
votes
3 answers

Can I get SSL certificate for website running in Azure VM at westeurope.cloudapp.azure.com subdomain

I have created Windows Server VM in Azure and deployed my site to IIS, which is now accessible at https://mysite.westeurope.cloudapp.azure.com/ however I get certificate error when I try to visit it from outside the vm. how do I configure the VM to…
Liero
  • 25,216
  • 29
  • 151
  • 297
5
votes
3 answers

VM has reported a failure when processing extension AzureDiskEncryption

I am running the following script: $keyVault = Get-AzKeyVault -VaultName $keyVaultName -ResourceGroupName $rgName; $diskEncryptionKeyVaultUrl = $keyVault.VaultUri; $keyVaultResourceId = $keyVault.ResourceId; $keyEncryptionKeyUrl =…
Baahubali
  • 4,604
  • 6
  • 33
  • 72
5
votes
2 answers

Does Azure Backup include attached Disks

I am new to Azure and setting up the backup of multiple Azure VM's, all on the Location. 2 of the 3 VM's have additional data disks attached to them. Will the Recovery Services Backup policy also back up the data on these disks or do I need to…
crm1975
  • 51
  • 1
  • 3
5
votes
1 answer

psql: could not connect to server... Is the server running on host ... and accepting TCP/IP connections on port 5432?

I know this is a popular question. I have tried everything suggested in similar threads. I am trying to connect remotely to a postgresql database on an azure windows server 2012 machine. I have tried the following... postgresql.conf…
Noah Huntington
  • 409
  • 2
  • 5
  • 17
5
votes
3 answers

How to backup Azure SQL that will withstand deletion of azure server

Azure SQL has built in backups. If the SQL database and server are deleted from within the Portal these backups are lost. What is best practice for backing up Azure SQL that will withstand deletion of the server from the portal. I have manually…
5
votes
4 answers

Azure VM custom script extension SAS token support

I am trying to deploy add a custom script extension to an Azure VM using an ARM template, and I want to have it download files from a storage account using a SAS token. Here is the template (simplified): { "name": "CustomScriptExtension" …
5
votes
2 answers

How to restore deleted azure resource groups

One of my resource groups has been deleted by mistake. I am unable to find any option in the azure portal to restore it. Is there any option available to restore deleted resource groups?
5
votes
2 answers

Do custom script extensions specified in ARM templates run each time the VM is restarted?

I used the sample template in the below link to create a VM with a custom script extension: https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-custom-script-windows If I stop and start the VM from the azure portal then the custom…
5
votes
2 answers

Stop multiple Azure VMs at the same time using Azure PowerShell

Get-AzureRmVM -ResourceGroupName RG-VNETS | ForEach-Object { Get-AzureRmVM -ResourceGroupName RG-VNETS -Name $_.Name -Status } | ForEach-Object { if (-Not ($_.Statuses[1].DisplayStatus -like "*deallocated*")) { …
5
votes
3 answers

Move a Microsoft Azure VM to a Different Subnet Within a vNet

Can't we Move a Microsoft Azure VM to a Different Subnet Within a vNet using the azure new portal or the azure classic portal ? if not possible through portal then how to do so ?then how to edit the properties of a VM after creation, like moving to…
5
votes
2 answers

How can I restrict virtual machine sizes with Azure RBAC?

As an administrator, I need to limit the sized of VMs my end-users can provision through the Azure portal. I'm looking for something similar to what I can do with AWS IAM, make sure that users can only provision certain sizes of VMs.
Harnik
  • 253
  • 2
  • 5