In azure all the IP address assignments are dynamic by default. Which means IP addresses can change in restart. There are 2 methods you can use to assign IP address to a VM in azure. its dynamic and static.
Why we need static IP addresses ?
1) Application requirements – sometime applications need to connect with fixed IP address. For example, if it’s a database VM it’s…