Share via


Windows Azure Virtual Machine disappeared or gone , How do I recover?

 

We often hear from our Windows Azure customers who are using new preview feature “Windows Azure Virtual Machines” that they created a VM and one fine day, it suddenly disappeared or gone. I’m writing this post to give few details about the issue and what steps can be performed to recover from the situation.

 

Symptoms

You have created a VM and it worked fine for few days and all of a sudden VM is not being listed in the portal and it appears to be gone. There are two common reasons we see why the VMs are deleted.

Reason#1 VM is created under a trial subscription and the trial quotas are reached

This is by design behavior to ensure your account is not billed after the quotas are reached. Trial quotas are documented here. If the VMs are deleted due to quotas, an email will be send to account administrator and also, you can navigate to account.windowsazure.com to verify if the quotas are indeed reached.

Note: New preview portal now gives notification message when the trial period is about to end. 

Workaround: Though the VMs are deleted to ensure the account is not billed, the data(VHDs) itself is persisted to Windows Azure Storage and we can use these VHDs/Disks to create a new VM. To create a VM based on the disk, use the following steps. Also ensure that you enable charges on your subscription before you follow these steps so that you will not encounter the same problem again.

  • Navigate to new preview portal (Note: if you are using the OrgId, you need to append the OrgId to the URL)
  • Choose “Virtual Machines” , Select “New”
  • Select “From Gallery” , Select “My Disks”
  • Select the disk that was created for previous VM(which was missing from the list)
  • Follow the wizard to complete other steps to create virtual machine.

Note: 1) If you do not see the disk in the list, it is possible that lease on VHD is not removed. You can follow this thread to break lease on the VHD.

2) To use the DNS name that was created for original VM, you need to delete the cloud service before creating the new virtual machine. Otherwise, you would get an error stating DNS name is already in use.

*** Efforts are in progress to improve the user experience for this issue.***

 

Reason#2 User performed capture operation on a VM

This is by design too. Capture operation is meant to create an image(or template) based on which multiple VMs can be created. Part of the process involves user to sysprep the VM which strips out system specific information (i.e. system name, etc.) from VM , so that it can be used as an Image. Since the system specific information is removed, VM cannot continue as-is. To create a new VM based on the image which was captured, use the following steps.

  • Navigate to new preview portal (Note: if you are using the OrgId, you need to append the OrgId to the URL)
  • Choose “Virtual Machines” , Select “New”
  • Select “From Gallery” , Select “My Images”
  • Select the Image that was created using “Capture” operation
  • Follow the wizard to complete other steps to create virtual machine.

 I've posted another blog post about Windows Azure Virtual Machines - common issues, questions, gotchas that may be helpful.

     

Applies To : Windows Azure Virtual Machines

Key words : VM is missing, VM gone, Virtual Machine, Disappeared, Windows Azure

Comments

  • Anonymous
    December 25, 2012
    PLEASE STOP DELETING VMs AND VIRTUAL NETWORKS!  This is insane that you would be so draconian to delete the VMs & Virtual Networks.  I can see disabling them to not incure costs not expected, but simply deleting them without providing the ability to alert the subscription owner in advance is a TERRIBLE way to treat customers & partners

  • Anonymous
    December 25, 2012
    hi rs, I totally understand your opinions. But, unfortunately there is no option to disable them with out avoiding the charges. If we do enable charges for VMs post trial quotas, then account administrators can question us as to why we started charging with out taking consent. So, we are caught up in a catch 22 situation. I believe the best option would be to provide the account administrators to choose what action platform should perform(whether it should delete VMs/Virtual networks or enable charges) after the trial quotas are reached. Please share your thoughts on this! Thanks, Hari

  • Anonymous
    January 14, 2013
    I just lost my two VMs last night, two months into our THREE month trial period. And while I am big fan of Microsoft, and a partner of theirs, this practice is absolutely absurd and unacceptable. While I was able to recover the OS portion of the missing VM after some searching for solutions on the forums, I am still missing the D: drive that actually had my main application installed. Once again, Microsoft’s techies have outdone themselves. What ever happened to advanced emails or similar notifications? Arrrgh!!

  • Anonymous
    January 14, 2013
    Hi Karel, 3 month free trial offer does not come with unlimited quotas. The trial quotas are documented here www.windowsazure.com/.../free-trial. The temporary disk is not persisted to Windows Azure storage like the other OS Disk, Data Disks. Data on the temporary disks will be lost when the VM is moved to another physical node due to patching, upgrades, etc. Data loss can also happen if Windows Azure detects an issue with the node your VM is running on and moves your deployment to another node to rectify the issue.  The temporary disk is purely meant to store pagefile, temporary logs that you do not need to persist, etc. You must not use this temporary disk to store any data that you are not ready to lose. Thanks, Hari

  • Anonymous
    January 31, 2013
    I understand that charges will occur if the trial limits are reached. However, when I chose not to incur any charges, I had no idea that all of my machines that I have spent a couple of weeks building would be deleted. Sure, it may have been in some lengthy TOS agreement, but had I been warned in big bold text that not choosing a payment method could have resulted in this action, I would have certainly provided a payment method. I'm very pleased with Azure so far, but this frustrated me enough that I'm now considering AWS instead, especially after really talking up Azure to my peers over the past couple of weeks.

  • Anonymous
    January 31, 2013
    Hi Robert, Thank you for sharing your valuable feedback. I totally understand your sentiments and we have received similar feedback from others.  I want to inform you that feedback is well received by our internal teams and efforts are in place to address this issue. Also, as I've explained in the blog, critical data is not lost and customers can rebuild VMs with steps outlined above. We apologize for any inconvenience that may have caused to you due to this issue and we hope to see you continue with Azure. Thanks, Hari

  • Anonymous
    April 03, 2013
    Hi Robert, On a longshot that you may see this thread again, I'm curious where you ended up with your buildout? Like you, I have been up to a direct comparison between AWS vs Azure, also leaning towards Azure until I ran into essentially the same issue that you have reported here. While we can recover from this abrupt data loss without any warning, it has raised concerns for other unknowns in the Azure product base. Joel

  • Anonymous
    May 06, 2013
    The comment has been removed

  • Anonymous
    May 14, 2013
    I have lost my VM after trial period expired. I was trying to restore VM following advise in this article, but have found problem with selecting the Disk. I can't choose it because it's subscription disabled. What I must to do? How can I change subscription of the disk?

  • Anonymous
    May 15, 2013
    Hi,  (Trouble with restoring VM) Below are the few options for you to recreate the VM.

  1. If you are using the 90 day free trial subscription and have days left, you would need to wait for the billing cycle to start again, so that for the next billing cycle, the quotas are reset, you will be able to use the subscription again. After the subscription becomes active, you can recreate the VM.
  2. If you the trial subscription you are using does not have any days left for the billing cycle to start again, you can contact our billing support team using www.windowsazure.com/.../contact and convert the subscription to paid subscription and then recreate the VM. Hope this helps. Thanks, Hari
  • Anonymous
    January 25, 2015
    I created a trial account on Windows Azure using my office365 account, and created a VM, it was up and running, I was also able to log in on the VM via RDP and install test software. Today, I deleted the account i used to create the azure account, and recreated the same account. Now, when I log in on Windows Azure, it says I have no subscription! And I can still login on the VM via RDP! What's going on?

  • Anonymous
    February 16, 2015
    Hi Hamza, Apologies for the delay. Behavior you are stating is very weird, I've not seen it before. I suggest creating a support case from manage.windowsazure.com Thanks, Hari