Creating a public IP prefix
Creating new resources is usually associated with creating new IP addresses. There can be issues when public IP addresses need to be associated with firewall rules or app configurations. To overcome this, we can create a public IP prefix and reserve a range of IP addresses that will be assigned to our resources.
How to do it...
To create a new public IP prefix, we must follow these steps:
- In the Azure portal, select Create a resource and choose Public IP prefix under Networking services (or search for
public IP prefix
in the search bar). - We need to provide information for Subscription, Resource group, Name, Region, and IP Version. SKU is not selectable and is set to Standard. For Prefix size, we define how many IP addresses we want to reserve:
Figure 4.17: Creating a public IP prefix
How it works...
When we create a public IP prefix, public IP address association is not done randomly but from a pool of addresses reserved for...