Powered by Blogger.

Saturday, December 1, 2018

New announced Azure Public IP Prefixes

0 comments

A new Azure feature brings you the ability to assign IP addresses in a given range to your Azure components instead of assigning them individually.


Azure has offered the ability to get static public IP addresses for many years now, however, when you request an IP you will receive one from the general pool of available addresses and it is very unlikely you will receive multiple IPs in the same range. A new preview feature announced at Ignite changes this, called Public IP Address Prefixes.
Instead of requesting a single static IP you can request a Prefix, which will give you a contiguous range of IP addresses. You can then assign IP's from this range to your VM's, Load Balancers and other resources. The benefit of this is that you get a contiguous range of IP's that you know the addresses of up front, which you can then allocate as required. This means that if you need to work with customers of service providers to whitelist your IP's you can now do this with a set range, rather than having to update this each time you create a new IP in Azure.
In the rest of this article, we'll take a look at how you work with IP prefixes.

Restrictions

First off, Public IP Address Prefixes is in preview currently, so has limited SLA, and is only available in certain regions (at the time of writing these are West Central US, West US, West US 2, Central US, North Europe, West Europe, and Southeast Asia). In addition, the following restrictions apply:
  • Whilst you receive a contiguous range of addresses, you do not get to choose the IP address space you get. IPs are allocated from the Azure IP pool for your region.
  • IPv4 addresses only.
  • Ranges are per region, so if you need to deploy in multiple regions you will need to create a prefix per region.
  • IPs from a prefix cannot be used for classic resources.
  • You can create between a /31 (2 addresses) and a /24 (256 addresses) with the default being a /28 (16 addresses).
  • Public IPs created from a prefix must use the standard SKU, not basic.

Create an IP Prefix

Azure Portal

To create an IP prefix using the Azure portal you need to use a preview portal currently. This can be found at the feature page. Once connected to this portal:
  1. Click create a new resource
  2. Search for "Public IP Prefix"
  3. Click "Create"
  4. In the window that opens select a resource group to deploy to then enter a name for your range and a region
  5. In the prefix size drop-down, select the size of the range you wish to create


No comments:

Post a Comment