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
118
votes
4 answers

In Windows Azure: What are web role, worker role and VM role?

The application I work on contains a web role: it's a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or…
51
votes
12 answers

Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet

I was trying to install Azure using Install-Module Azure in PowerShell. I got the following error: PS C:\Windows\system32> Install-Module Azure Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
51
votes
4 answers

what is the difference between virtual machine classic and virtual machine in azure?

In Azure there are 2 options available to create virtual machines. A. normal VM B. Classic VM Does anybody know what is the difference between both option? When do we use one over other?
user1136425
  • 612
  • 1
  • 5
  • 6
39
votes
2 answers

Azure Web Apps are really slow

I've been investigating a slow warmup time for my production app and I got some unexpected results. Testing on various Azure VMs showed the warmup time to be well-related to the application server performance (so it's not external request, including…
John
  • 6,693
  • 3
  • 51
  • 90
31
votes
3 answers

Azure Active Directory as Domain Controller for Azure Virtual Machines

Azure Active Directory is "as a service" offering from Azure. I have seen documentations and content from Microsoft stating that can be used for SSO and other Web application for unified auth. Will it be possible to make use of Azure Active…
26
votes
2 answers

OpenSSH SSH-2 private key (old PEM format) on Azure Linux VM

I've been using Puttygen to generate SSH Key pair for Azure Linux VM. recently i found openssh is available on Windows 10 and i can use "ssh-keygen" command on Windows 10 CMD and generate Private and Public Key. I've tried this but with unsuccessful…
aquib.qureshi
  • 557
  • 1
  • 8
  • 21
26
votes
5 answers

Do Azure VM pricing include storage in the VHD?

So i'm looking for a cost affective way to host a website in a linux vm. The pricing only states the VM's cpu and RAM. What about the space used up by the OS and apps in the VM as well as the ongoing disk usage? is this an added cost? Whats the size…
Ryan Burnham
  • 2,619
  • 3
  • 27
  • 43
23
votes
2 answers

Azure Python SDK: 'ServicePrincipalCredentials' object has no attribute 'get_token'

So I have the following Python3 script to list all virtual machines. import os, json from azure.mgmt.compute import ComputeManagementClient from azure.mgmt.network import NetworkManagementClient from azure.mgmt.resource import…
21
votes
7 answers

How to run Azure CLI commands using python?

I want to use Azure CLI to get the list of all the VMs in my resource group. But I want to implement the same using a python script. For example, I will use the following command in Azure CLI to list the VMs in my resource group: " az vm list -g…
21
votes
3 answers

Using Terraform to import existing resources on Azure

I have an existing resource group on Azure with a VM running on it and have been playing around with Terraform to try and import the resource to my state file. I have set up a skeleton file, and as far as my understanding is once I import TF should…
21
votes
6 answers

Azure CLI how to check if a resource exists

I'm starting to write a bash script to provision a VM in a new or existing resource group so that we can enforce naming convention and configuration. In a bash script how can I check that a resource already exists so I don't try to create it…
Jeremy
  • 44,950
  • 68
  • 206
  • 332
17
votes
1 answer

Azure VM Core vs vCPU

When comparing two different VM series in Azure, I see that one has Cores and the other one vCPUs. Keeping aside the number of Cores/CPUs, Memory and Processor Type (Intel Xeon E/Platinum etc), what is the advantage of one over the other? I…
Thomas
  • 1,970
  • 4
  • 28
  • 59
15
votes
3 answers

Creating an Azure Linux VM with Ubuntu 20.04 with Terraform

I am trying to create a Linux VM, with Terraform, in the West Europe Azure region, with a Ubuntu Server 20.04 LTS image. I can do this just fine from within the Azure Portal, but Terraform complains that the image doesn't exist: The platform image…
Xophmeister
  • 8,884
  • 4
  • 44
  • 87
15
votes
3 answers

How can I delete a leased blob in Microsoft Azure storage

I created a virtual machine in Azure and then deleted it. However, the associated storage account still exists. I can't delete the storage account because it contains a container with a blob in it that has an indefinite lease. Nothing else is using…
duggulous
  • 2,427
  • 3
  • 23
  • 40
15
votes
5 answers

Mount a Blob Storage as Drive on VM

I need to somehow uploads files and access them on the VM, how can I do this? Specifically, how can I get access to files I've uploaded as a blob from within the VM? I tried to access a file that I've uploaded as a blob onto an Azure Virtual…
Ron
  • 1,744
  • 6
  • 27
  • 53
1
2 3
99 100