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

Azure Virtual Machine Billing

I dont know if this is the right place, but I am assuming MSFT staff also answers these questions since the azure portal links to StackOverflow? Questions: I understand that Azure no longer bills me for a VM so long as it and its cloud service are…
Frank
  • 1,056
  • 3
  • 17
  • 38
15
votes
2 answers

Azure VMs Virtual Network inter-communication

I'm new to Azure (strike 1) and totally suck at networking (strike 2). Nevertheless, I've got two VMs up and running in the same virtual network; one will act as a web server and the other will act as a SQL database server. While I can see that…
John
  • 429
  • 1
  • 3
  • 17
14
votes
2 answers

Why doesn't my Azure virtual machine show up in Visual Studio's Publish feature, for an ASP.NET MVC app?

I'm trying to publish my ASP.NET MVC4 web application, using Visual Studio 2013, to a virtual machine that I have up and running in Azure. The virtual machine has IIS installed on it. I'm not using the Azure Web Sites feature because it does not…
Ryan
  • 867
  • 9
  • 23
13
votes
0 answers

use websocket in azure vm

I have an Azure VM running Windows Server 2012 R2. I am trying to run a c# console application that utilizes TcpListener for websocket communication at port 8080. When I run my application locally it works fine. I get the initial GET request from…
nmess88
  • 420
  • 1
  • 4
  • 14
13
votes
1 answer

Shutting down VM returns all VM states as unknown

When using the methods below to shutdown and query the role instances. When I shutdown a VM all other role instances are returned with a status of ready state unknown. After about a couple of minutes I can query again and get the actual status. …
Sorceri
  • 7,870
  • 1
  • 29
  • 38
12
votes
3 answers

Can you do in-place updating/upgrading of Azure VM Operating System?

Is there a way to do in-place update the OS of an Azure VM, from within the Azure Portal? i.e. from Windows Server 2012 R2 to Windows Server 2016
Jia Jian Goi
  • 1,415
  • 3
  • 20
  • 31
12
votes
4 answers

Is there a way to attach the same disk to multiple Azure VMs

I have created a VHD for data and attached it to one Virtual Machine instance. Is there a way to attach that disk again to another VM? I basically want a shared drive for multiple VMs. I see an "attach VHD" option in Server Manager for 2008 R2, but…
Anthony Potts
  • 8,842
  • 8
  • 41
  • 56
11
votes
6 answers

Assigning multiple tags to a resource via Azure CLI results in one big tag when using a variable

When creating VM via az cli (bash) with a list of tags. First set this variable: tags='env=qa servertype=frontend Distinct=qa-frontend25 CI=Yes DataDog:True' However when running the below command in bash az vm create ... --tags "${tags}" It…
J00MZ
  • 675
  • 1
  • 10
  • 27
11
votes
5 answers

Azure Permission - needed for creating resource group - RBAC

I have assigned with Owner role to a resource group. I am unable to create a new resource group. For creating a resource group whether I need owner/contributor role to subscription? And When a user is assigned with Owner and Reader role, which role…
11
votes
8 answers

Azure VM: Adding a Reserved IP address to an existing VM

What I have read so far on the web is that there is no way to add a reserved IP to an existing VM (unless I recreate the VM which I am trying to avoid). However, I have noticed that external IP of my VM and the cloud service is same. Reserved IP…
Oxon
  • 4,901
  • 8
  • 40
  • 54
11
votes
3 answers

Access internet from Azure VM not working

I've created an Azure DNS server with Address 192.168.0.4 I've created a Virtual Network with address space 192.168.. I changed the Subnet-1 to be starting IP 192.168.10.0 Address Count 64 Address Range 192.168.10.0 - 192.168.10.63 I've…
Paul Rowland
  • 8,244
  • 12
  • 55
  • 76
11
votes
1 answer

A Same Name "Cloud Service" will be created when create "Virtual Machine" in Azure, can I delete it?

A same name "Cloud Service" will be created when create "Virtual Machine" in Azure. My question is: A: What is the same name "Cloud Service" for? B: Can I delete the one exist in "Cloud Service", which is empty, no deployment in neither production…
Eric Yin
  • 8,737
  • 19
  • 77
  • 118
10
votes
1 answer

How to reference a data source from a module to another module and pass it as a variable to root module?

I have terraform directory structure as below: terraform/ main.tf modules outputs.tf provider.tf variables.tf ./modules: compute network resourcegroup ./modules/compute: main.tf outputs.tf variables.tf ./modules/network: main.tf …
10
votes
2 answers

Get-AzureVM Returns Nothing

I am using Version 1.0.1 Azure PowerShell module and it seems there is some breaking changes I cannot figure out. I have logged into Azure and the Get-AzureSubscription cmdlet returns my two accounts. However, executing Get-AzureVM's returns…
ChiliYago
  • 11,341
  • 23
  • 79
  • 126
10
votes
6 answers

Windows Azure Powershell Copying file to VM

I am trying to use Windows Azure PowerShell to copy a zip file into VM. I have managed to connect to VM following the documentation. But, I cannot find any tutorial to upload / copy / transfer a zip file to VM Disk, say into the C drive. Can any one…
Syed Farabi
  • 175
  • 1
  • 2
  • 11