Not able to find stopped VM

Arnold Jim 60 Reputation points
2024-01-24T04:09:37.41+00:00

I have stopped some VMs which we are not using. Now all those machines seems to be deleted automatically. Is this a expected behaviour that the machines gets deleted after stopping those? Can those be restored anyway if needed in future ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,376 questions
0 comments No comments
{count} votes

Accepted answer
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft Vendor
    2024-01-28T20:17:09.94+00:00

    Hi @Arnold Jim,
    Thanks for contacting Microsoft Q&A platform. Do VMs get deleted when you stop/deallocate them? What did you use to stop the VMs (script, etc.)? Deallocating VMs should leave them in the deallocated state, not deleted: User's image

    Generally there isn't an option to restore deleted VMs unless you've already configured backup and restore. If that has been configured, you can use the following documentation to restore the VMs: https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms Soft delete is a feature that protects deleted backup data for VMs, however the VMs must have backups. If not, there is the possibility of restoring the VM from an OS disk if that still remains. If a VM has been deleted without restore, backups, or a remaining OS disk there's very little that can be done. If it's production critical let us know and we'll see if there's anything that can be done on the backend however this is very unlikely to be successful.

    ---I hope this has been helpful! Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!


2 additional answers

Sort by: Most helpful
  1. Silvia Wibowo 5,286 Reputation points Microsoft Employee
    2024-01-24T04:28:41.1833333+00:00

    Hi @Arnold Jim , Azure will not delete stopped VM.

    Could you please make sure that the filter in Azure Portal is showing all?User's image

    0 comments No comments

  2. Deepanshu katara 13,920 Reputation points MVP
    2024-01-24T04:31:01.9266667+00:00

    Hi , In most cloud computing environments, stopping a virtual machine (VM) typically means that the VM is temporarily turned off or paused, but the underlying resources (such as storage) associated with the VM are retained and it does not get deleted as it will maintain the allocated hardware (including the IP addresses currently assigned) and Yes you can restore the VM from backup , please find the link below for the same https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms If you have any other questions, please let me know. Thank you for your time and patience throughout this issue. Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.