Azure VM: Adding a Reserved IP address to an existing VM

前端 未结 8 1613
情话喂你
情话喂你 2021-02-05 23:13

What I have read so far on the web is that there is no way to add a reserved IP to an existing VM (unless I recreate the VM which I am trying to avoid). However, I have noticed

8条回答
  •  有刺的猬
    2021-02-05 23:37

    Add Public IP to an Existing VM

    1. Log into the portal
    2. Find the Resource Group (RG) where your VM is Located
    3. Confirm your VM has a network interface - if not, create one (it should have one)
    4. Create a Public IP Address (static or dynamic, doesn't matter) by adding one to your RG from the marketplace (do this first so it is creating while you make your NSG).
    5. Create a Network Service Group by adding one to your RG from the marketplace and associating it with your VM.
    6. Once the NSG has deployed, go back to the Overview of your PIP and click the "Associate" button in the info section of the blade.
    7. Select the Network Interface of your VM you validated in step 3. Get a cup of coffee or something, it will be a minute, but otherwise you're done.

提交回复
热议问题