I accidentally deleted the virtual machine. Can the static IP of the virtual machine after reconstruction be arranged the same as the original one?

琮儒 陈 1 Reputation point
2020-12-02T07:42:57.06+00:00

不小心删除了虚拟机, 重建之后的虚拟机静态IP是否可以安排与原来的一样呢? 需要这样的目的,操作步骤是怎么样的呢? 求步骤和流程,急。


Translated from Chinese to English:

I accidentally deleted the virtual machine. Can the static IP of the virtual machine after reconstruction be arranged the same as the original one? What are the operating steps for this purpose? Seeking steps and processes, urgent.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,126 questions
{count} votes

2 answers

Sort by: Most helpful
  1. prmanhas-MSFT 17,886 Reputation points Microsoft Employee
    2020-12-07T16:14:29.463+00:00

    @琮儒 陈 As mentioned by @Bechir Gharbi above you need to reserve ip address in order to reuse it again.

    As mentioned here A virtual machine (VM) is automatically assigned a private IP address from a range that you specify, based on the subnet in which the VM is deployed. The VM retains the address until the VM is deleted. Azure dynamically assigns the next available private IP address from the subnet you create a VM in. If you want a specific IP address from the subnet assigned to the VM, assign a static IP address.

    Also you can refer to below articles to restore your VM data:

    https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms

    https://learn.microsoft.com/en-us/azure/backup/backup-azure-security-feature-cloud

    Hope it helps!!!

    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics

    1 person found this answer helpful.
    0 comments No comments

  2. Bechir Gharbi 301 Reputation points
    2020-12-02T10:30:23.113+00:00

    If you didn't reserve that private ip address you can not reuse it again. Look at this for more info https://azure.microsoft.com/en-us/blog/reserved-ip-addresses/

    0 comments No comments