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

How to ssh to Azure VM using private IP address from internet

I'm new to Azure. Just deployed an Ubuntu VM but thought I'd only create a private IP address, no public IP. How do I ssh from my laptop at home to the Azure VM using the 10.x.x.x IP address? I've tried: Using the Azure Cloud Shell but…
SeaDude
  • 3,725
  • 6
  • 31
  • 68
7
votes
2 answers

MS Azure: VM auto start/shutdown

Is there any way in which I can automate stopping my VM on a Friday and starting this back up again on the Sunday evening at specified times? I’m aware this is possible via the VM blade and DevTest labs but their only option is daily, whereas I…
user9118621
  • 85
  • 1
  • 1
  • 8
7
votes
3 answers

How to unmount an Azure File Share

I've got a Windows Server VM on Azure. I also have a File Share. According to the MS documentation, one can mount the drive using the following command: net use : \\.file.core.windows.net\ This does…
pookie
  • 3,796
  • 6
  • 49
  • 105
7
votes
3 answers

Azure Resource Manager Error One or more errors occurred while preparing VM disks

I receieve the following error when creating an azure virtual machine using an Azure Resource Manager ARM Template. I am creating 32 datadisks in the template and the following error is logged. The message says See disk instance view for…
Eric Hexter
  • 543
  • 3
  • 8
7
votes
2 answers

Is it useless to setup Azure VM "Availability Set" without setting up "Load Balancing"?

Let's say I have VM1 and VM2, using the service WS.cloudapp.com. Let's say I have an web app that has been depployed in both VM1 and VM2 in port 80. Because I'm not yet set up load balancing, so, for the port 80, only one VM can own, let's say VM1.…
Chinh Phan
  • 1,459
  • 19
  • 22
7
votes
1 answer

Azure load-balanced set preserves client IP

From experimenting with Azure load-balancing set, it seems that x-forwarded-for header is not used (as it would be expected in regular load-balancer), rather they preserve the original client IP. E.g.: app.get('/my-ip', function(req, res) { …
SyBer
  • 5,407
  • 13
  • 55
  • 64
7
votes
4 answers

Azure Virtual Machines stuck in Starting mode

This morning I found 5 of my Azure Virtual machines to be stuck in Starting mode. All other VMs are working ok. I managed to stop the VMs using the Azure command shell and then start them again but they are still stuck in starting mode with no end…
George Filippakos
  • 16,359
  • 15
  • 81
  • 92
7
votes
1 answer

Windows Azure - What is the use of internal IP address?

I had always been using the normal public IP to communicate between my virtual machine. However as I see in the portal there is an INTERNAL IP ADDRESS and I wonder what is the practical use of that? Is it that using this internal IP to communicates…
spacemilkman
  • 943
  • 1
  • 9
  • 15
7
votes
5 answers

Windows Azure: Delete disk attached to non-existent VM

Just found out I was taking up - and paying for - a lot of storage due to abandoned disks from long ago deleted VMs. I manged to delete most of them, but now I'm stuck with a set that cannot be deleted as they remain attached to VMs nowhere to be…
7
votes
2 answers

Windows Azure Virtual Machine deleted after spending limit reached - How can I get it back?

As you can tell from the title, I set up a virtual machine on Azure and installed a website and database that my company is hosting for a client. The spending limit was not lifted, and after it was reached my VM was deleted. Since that time I have…
MattSavage
  • 778
  • 1
  • 7
  • 17
6
votes
3 answers

How can i login to VM using Azure Bastion Host Other than Azure portal web based SSH?

I have created Azure Baston Host and VM in my Azure Subscription, I am able to SSH to my VM from Azure Portal by giving username and password, I am looking for alternate SSH method like CLI SSH. I don't want to use Browser based SSH from Azure…
Sai Prasad Goud
  • 199
  • 1
  • 7
6
votes
3 answers

Why Azure provides multiple delete locks on a virtual machine?

As we know that we can apply a lock to prevent the accidental deletion of a VM in azure. To delete it - we have to un-assign/delete the lock first. But Why azure provides multiple delete locks on the same resource? even a single lock will work as…
Indrajeet Singh
  • 470
  • 1
  • 6
  • 21
6
votes
1 answer

How to tell if my VM is Gen1 or Gen2 in Azure?

I would like to figure out if my Azure VM (Windows + Linux) is Gen1 or Gen2. Ideally I want to get this to work via az cli or from the actual server itself. I have tried az vm list -g RG-Name -d but it does not really display this information. Does…
souser
  • 5,868
  • 5
  • 35
  • 50
6
votes
3 answers

GIT with client certificates failing and working with curl

I'm running into an issue with using GIT to connect to a GIT server that is protected by client certificates. I'm trying to use the Azure Pipeline Agent to run jobs on a brand new Azure VM. I'm connecting to an on-premise TFS instance that is…
6
votes
1 answer

How to pass extra parameters along with New-AzureRmResourceGroupDeployment cmdlet

I'm writing a powershell script to create VM using New-AzureRmResourceGroupDeployment cmdlet, which is as below. New-AzureRmResourceGroupDeployment -Name VmDeployment ` -TemplateFile C:\template\template.json ` -TemplateParameterFile…