How to chage auto scaling Public IP address?

재호 김 21 Reputation points
2021-12-28T08:26:37.35+00:00

I want the virtual machine public IP to change every hour.

should be Public ip can change without rebooting.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,124 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,139 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
347 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tuan LE 81 Reputation points
    2021-12-28T10:27:18.36+00:00

    Hello there,

    Were you asking about VMSS or an independent VM?

    I'm a little bit curious about the reason why you want the Public IP of a Virtual Machine Scale Set (isn't it?) to be constantly changed.
    Normally a VMSS doesn't have its own Public IP, nor each VM member in a VMSS. The Public IP you may see from within a VM of VMSS the the dynamic outbound IP handled by Azure. If your VMSS was created in such a way that each member has its own Public IP, then it is quite the same as Public IP of an independent VM per explained below.

    For a Public IP resource on Azure with dynamic allocation, its value stay the same as long as it is attached to a running VM. You can either dissociate a dynamic Public IP from a running VM then attach again, or stop and start the VM itself, to force changing the value of Public IP.

    The value of a given Public IP resource on Azure is not meant to be constantly changed for every time period.

    0 comments No comments

0 additional answers

Sort by: Most helpful