none
How to redeploy a deleted Windows Azure Virtual Machine

    General discussion

  • How to redeploy a deleted Windows Azure Virtual Machine

    This document applies to the Windows Azure Virtual Machine feature.
    The behavior described here may change with no previous notice. To use this
    feature and other new Windows Azure capabilities, sign up for the free preview.

    When a Windows Azure Subscription reaches its spending limit, all the Virtual
    Machines in the subscription are deleted but the associated disks are kept
    (generally for 90 days but this may change with no previous notice). After
    resolving the issue with the spending limit, you can re-create the Virtual
    Machines using their original disks by following the process below.


    1. Sign in to the Windows Azure
      Management Portal
      .

    2. On the command bar, click New.

      Create a new virtual machine

    3. Click Virtual Machine, and then click From
      Gallery
      .

      Create a new custom virtual machine

    4. Click My Disks, select the Disk you want to use as the boot
      device, and then click the arrow to continue.

    5. In Virtual Machine Name, type the name that you want to use
      for the virtual machine.

    6. In Size, select the size that you want to use for the
      virtual machine. The size that you select depends on the number of cores that
      are needed for your application.

    7. Click the arrow to continue.

      The VM Mode dialog box appears.

      Define the stand-alone virtual machine

    8. Choose whether the virtual machine is a single stand-alone machine or whether
      it is part of a cloud service that contains multiple connected machines. For
      more information about connecting virtual machines, see How to connect
      virtual machines in a cloud service
      .

    9. If you are creating a stand-alone virtual machine, in DNS
      Name
      , type a name for the cloud service that is created for the
      machine. The entry can contain from 3-24 lowercase letters and numbers.


      NOTE: You may receive a message stating "The DNS name you specified is
      already in use", this means a Cloud Service is already holding that DNS name. If
      you own the Cloud Service you can delete it on the portal under "Cloud Services"
      to free the DNS Name. If you do not wish to delete the cloud service in order to
      keep the existing public IP, you can use powershell to deploy a new Virtual
      Machine in an existing Cloud Service.

    10. In Region/Affinity Group/Virtual Network, select region,
      affinity group, or virtual network that you want to contain the virtual machine.
      For more information about affinity groups, see About Affinity
      Groups for Virtual Network
      .

    11. Click the arrow to continue.

      The VM Options dialog box appears.

      Define the virtual machine options

    12. (Optional) In Availability Set, select Create
      availability set
      . When a virtual machine is a member of an availability
      set, it is deployed to different fault domains as other virtual machines in the
      set. Multiple virtual machines in an availability set make sure that your
      application is available during network failures, local disk hardware failures,
      and any planned downtime.

    13. If you are creating an availability set, enter the name for the availability
      set.

    14. (Optional) Choose the subnet that the virtual machine should be a member of.
      For more information about adding a virtual machine to a network, see Create
      a Virtual Machine into a Virtual Network
      .

    15. Click the arrow to create the virtual machine.

      Custom virtual machine creation successful







    Flavio Muratore Sr. Support Escalation Engineer Windows Azure Technical Support







    Thursday, January 17, 2013 3:34 AM
    Moderator

All replies

  • For How to Guides
    Windows VMs: http://www.windowsazure.com/en-us/manage/windows/how-to-guides/

    Linux VMs: http://www.windowsazure.com/en-us/manage/linux/how-to-guides/


    Flavio Muratore Sr. Support Escalation Engineer Windows Azure Technical Support

    Thursday, January 17, 2013 4:22 AM
    Moderator
  • I got my VM deleted for same reason as you mentioned, however I have my data on D Drive on my VM and when I recreate the VM it was set blank. Actually before deletion we copy the inetpub in D: Drive which is labelled as "temporary Storage" and hold 130 GB Blank space out of 160GB Disk. [it is created using Gallery image].

    How can I get it back. Also I found a "Cloud Service" is been added for me which I now delete to get my URL back for cloud.


    Sumit Gupta http://www.sumitgupta.net

    Monday, January 28, 2013 5:21 PM
  • I got my VM deleted for same reason as you mentioned, however I have my data on D Drive on my VM and when I recreate the VM it was set blank. Actually before deletion we copy the inetpub in D: Drive which is labelled as "temporary Storage" and hold 130 GB Blank space out of 160GB Disk. [it is created using Gallery image].

    How can I get it back. Also I found a "Cloud Service" is been added for me which I now delete to get my URL back for cloud.


    Sumit Gupta http://www.sumitgupta.net


    Hi Vikasumit,

    The drive labeled "Temporary Storage" is a non persistent drive and once the VM doesn't exist, the disk is deleted.

    Here is the article explaining why and labeled item 3.

    http://blogs.msdn.com/b/narahari/archive/2013/01/15/windows-azure-virtual-machines-gotcha-s.asp

    Joao Madureira Sr. Support Escalation Engineer Windows Azure Technical Support

    Monday, January 28, 2013 9:57 PM
    Moderator