Changing Public and Private IP Address from Dynamic to Static

By default, the Azure VM has a dynamic IP address which changes during the reboot. Hence you need to change from dynamic to static.

  1. Click the Public IP address under the Overview section.
  2. (Required) Enter text of second step here.

    Figure 9-4 Public IP Address


    Public IP Address
  3. Choose Static or Dynamic as per your requirement then click Save.

    Figure 9-5 Save IP address


    Save IP address
  4. Click Networking on the side panel.
  5. Click on the network interface as shown in the graphic.

    Figure 9-6 Network Interface


    Network Interface
  6. Click Private IP under IP Configuration.
  7. Assign the Dynamic or Static IP address.

    Figure 9-7 Static and Dynamic Address


    Static and Dynamic Address