how can i change public ip Routing preference in VMSS?

realquest 20 Reputation points
2023-05-26T13:33:50.2366667+00:00

create VM -> NetWorking -> Public IP -> Create new -> Routing preference -> internet

it can be change Routing preference when i make one vm, but

create vmss -> networking -> Edit network interface -> public ip address -> disabled / enabled

how can i change public ip Routing preference when i make VMSS?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
391 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2023-05-26T13:54:33.5633333+00:00

    Hi @realquest

    In VMSS, the public IP configuration is not exposed directly. You can only enable or disable the public IP address for a VMSS.

    But you can try create a new Public IP with the desired routing preference and associate to VMSS
    Go to the Azure portal -> IP addresses -> Add -> fill in the required details. Here, you can select the routing preference.

    User's image

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.