Azure Interview questions – Explain Public IP addresses types ?
Explain Public IP addresses types ?
A dynamic public IP address is an assigned address that can change over the lifespan of the Azure resource. The dynamic IP address is allocated when you create or start a VM. The IP address is released when you stop or delete the VM. In each Azure region, public IP addresses are assigned from a unique pool of addresses. The default allocation method is dynamic.
A static public IP address is an assigned address that won’t change over the lifespan of the Azure resource. To ensure that the IP address for the resource remains the same, set the allocation method explicitly to static. In this case, an IP address is assigned immediately. It’s released only when you delete the resource or change the IP allocation method to dynamic.
ip address