Use of BYOIP in Azure
Tags: azure, byoip, ipaddress, custom
Published: 2022-05-28 13:34:23

A `custom IP address prefix` is a contiguous range of IP addresses owned by using an external customer and provisioned into a subscription. Microsoft is approved to advertise the range. Addresses from a custom IP address prefix can be used in the equal way as Azure owned public IP address prefixes. Addresses from a custom IP address prefix can be related to Azure resources, interact with internal/private IPs and virtual networks, and attain external destinations outbound from the Azure Wide Area Network.

## Benefits

- Customers can hold their IP ranges (BYOIP) to maintain established reputation and proceed to skip thru externally controlled allowlists.
- Public IP address prefixes and standard SKU public IPs can be derived from customized IP address prefixes. These IPs can be used in the identical way as Azure owned public IPs.

## Bring an IP prefix to Azure

It's a three phase method to bring an IP prefix to Azure:

- Validation
- Provision
- Commission

## Validation

A public IP address range it really is introduced to Azure need to be owned through you and registered with a Routing Internet Registry such as `ARIN` or `RIPE`. When you deliver an IP range to Azure, it remains beneath your ownership. You ought to authorize Microsoft to advertise the range. Your ownership of the range and its association with your Azure subscription are additionally verified. Some of these steps will be completed backyard of Azure.

## Provision

After the previous steps are completed, the public IP range can complete the Provisioning phase. The range will be created as a customized IP prefix resource in your subscription. Public IP prefixes and public IPs can be derived from your range and related to any Azure resource that supports Standard SKU Public IPs (IPs derived from a customized IP prefix can additionally be safeguarded with `DDoS Protection Standard`). The IPs may not be advertised at this point and not reachable.

## Commission

When ready, you can issue the command to have your range advertised from Azure and enter the Commissioning phase. The range will be marketed first from the Azure place where the customized IP prefix is located, and then by Microsoft's Wide Area Network (WAN) to the Internet. The specific region where the  range was once provisioned will be posted publicly on Microsoft's IP Range GeoLocation page.

## Limitations

- A custom IP prefix ought to be related with a single Azure region.
- The minimum size of an IP range is /24.
- IPv6 is presently no longer supported for custom IP prefixes.
- In regions with availability zones, a custom IP prefix ought to be exact as either zone-redundant or assigned to a unique zone. It can't be created with no zone specified in these regions. All IPs from the prefix ought to have the equal zonal properties.
- The advertisements of IPs from a custom IP prefix over Azure ExpressRoute aren't currently supported.
- Once provisioned, customized IP prefix ranges can't be moved to any other subscription. Custom IP address prefix range can't be moved within resource groups in a single subscription. It's viable to derive a public IP prefix from a customized IP prefix in another subscription with the proper permissions.
- Any IP addresses utilized from a custom IP prefix presently rely towards the standard public IP quota for a subscription and region. Contact Azure assist to have quotas extended when required.
- IPs brought to Azure can't currently be used for Windows Server Activation.

## Pricing

There is no charge to provision or use custom IP prefixes. There is no cost for any public IP prefixes and public IP addresses that are derived from custom IP prefixes.

All traffic destined to a customized IP prefix range is charged the web egress rate. Customers traffic to a customized IP prefix address from within Azure are charged internet egress for the source region of their traffic. Egress traffic from a custom IP address prefix vary is charged the equal price as an Azure public IP from the identical region.


Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.


Above blog is submitted as part of 'Devtron Blogathon 2022' - https://devtron.ai/
Check out Devtron's GitHub repo - https://github.com/devtron-labs/devtron/ and give a ⭐ to show your love & support.
Follow Devtron on LinkedIn - https://www.linkedin.com/company/devtron-labs/ and Twitter - https://twitter.com/DevtronL/, to keep yourself updated on this Open Source project.