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
3
votes
3 answers

Change the boot diagnostic storage account of azure virtual machine

I have enabled a diagnostic storage account for my virtual machine. Now I want to change the diagnostic storage account. How do I do it in portal / PowerShell? I can see that we have a cmdlet - "Set-AzureRmVMBootDiagnostics", however, this is not…
3
votes
1 answer

Azure List all Instances REST API not returning the mentioned values in response

This REST API gives the List of Instances . But as mentioned in the document it doesn't give InstanceViewStatus values. How do we get the InstanceViewStatus while getting the list of instances ? Cuz we don't wanna call more number of API's to get…
3
votes
0 answers

VM Agent is either unavailable, or not installed, which may prevent VMAccess from Running

I created a VM using a managed data disk but there is a problem of VMAgent for connecting through ssh. Command is: az vm create --resource-group Test_Group --location eastus --name myVM2 --os-type linux --attach-os-disk disk1 The error is: VM…
cbhangale
  • 87
  • 2
  • 8
3
votes
2 answers

Running a custom shell script in Azure VM using terraform

It's been quite long I've been struggling to run a custom shell script in an Azure VM. Shell commands are working fine but when I bundle them to a shell script it fails. I have defined the shell script in settings section. Terraform Code: resource…
jagatjyoti
  • 699
  • 3
  • 10
  • 29
3
votes
1 answer

Azure Application gateway cannot upload pfx certificate

For Application gateway all documentation says to upload pfx certificate but when I go to http settings for backend pool it only allows ".cer" certificate and it wont allow ".pfx" file to be uploaded, error displayed says wrong format ? m i doing…
BlindSniper
  • 1,731
  • 3
  • 16
  • 30
3
votes
1 answer

Get the names of all virtual machines in an azure scale set via the Python SDK

How do I get a list of all the names of VMs in a scale set via the Python SDK? I think this might have the answer, but I cant create an instance of the class.
3
votes
1 answer

GitLab on Azure, could not resolve host

I've installed GitLab on Azure according to this: http://docs.gitlab.com/ce/install/azure/index.html And now have a new VM running on mygit.northeurope.cloudapp.azure.com, with ports 22, 80 and 443 open. I can log in to my GitLab through the link…
Juri Pyykkö
  • 109
  • 2
  • 9
3
votes
4 answers

"Failed to mount the azure file share. Your clouddrive won't be avaible"

Whenever I start the Azure Cloud Shell, I get this error: Failed to mount the azure file share. Your clouddrive won't be avaible Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session. Can…
3
votes
1 answer

Best way to archive an Azure VM?

I want to archive a Azure VM. It's currently deallocated, so we're not incurring compute charges, but we're still paying for the storage, even if it's not online. We want to move the storage to BLOB storage since it's cheaper, as we don't want to…
Robear
  • 986
  • 1
  • 11
  • 15
3
votes
4 answers

Hosting two websites on single Azure VM and exposing ports

I have an Azure Linux VM that runs two web sites. On port 80 and 8080. I'm going to add domains to both the sites and when the domains are mapped I don't want the user to specify the port (for example 8080). Meaning there should be two public…
Kamal Rathnayake
  • 514
  • 3
  • 29
3
votes
2 answers

Would KeyVault managing Storage Account Keys invalidate already served SAS token after Key regeneration?

I am planning to use keyVault to manage Storage Account Keys. My question is, when the keys get rotated, would the SAS token previously served by the keyVault get invalidated ? For example, if I request a SAS for a blob with 30days validity but the…
3
votes
2 answers

Azure Custom Script Extension. Execute script as another user

I'm using command1.ps1 script to install Azure Custom Script Extension on the target VM and execute command2.ps1. command2.ps1 is supposed to run a script (that is inside ScriptBlock) as domain administrator (hence -Credential $Credentials). When I…
3
votes
2 answers

List my custom images Azure CLI

I'm using Azure CLI to managed my VMs. My VMs are created from a custom image. I forgot the name I was given to the image. I created the image using az image create Is there any way to list all my custom images name? I tried using this command: az…
liorko
  • 1,435
  • 2
  • 24
  • 41
3
votes
1 answer

Is it possible to convert azure VM from Managed Disk to UnManaged Disk?

i have created new VM in Azure with Managed disk. now i want to convert it to Unmanaged disk. Is it Possible?
Avinash patil
  • 1,689
  • 4
  • 17
  • 39
3
votes
2 answers

Unable to start com.bitnami.mongodb

I'm using MongoDB with replication on azure and I have attached an SSD disk to MongoDB node and mounted on a specific path. And I changed MongoDB data and logs path to specific path in MongoDB.conf(/opt/bitnami/mongodb/conf/mongodb.conf) file. But…