ENTRDEESFRPTIT
Azure BYOIP Guide

Azure BYOIP — Bring Your Own IP Addresses with Custom IP Prefix

Eliminate Azure Standard public IP charges by deploying your own IPv4 addresses through Custom IP Prefix. Save up to 86% on IP costs while maintaining full control over your address space.

What Is Azure BYOIP?

Azure BYOIP is implemented through the Custom IP Prefix (CIP) feature, which allows you to bring your own public IPv4 address ranges into Azure and use them as Standard SKU public IPs. Once provisioned and commissioned, these addresses behave identically to Azure-allocated IPs but without the recurring per-IP hourly charges. Azure charges approximately $0.005/hour ($3.60/month) for each Standard public IP — a cost that scales rapidly with large deployments. Custom IP Prefix eliminates these charges entirely, making BYOIP a compelling strategy for organizations running workloads that require many public IP addresses.

Custom IP Prefix is supported in most Azure regions globally. Azure offers both regional and global prefix types — a global prefix can be provisioned once and then derived into multiple regional prefixes, enabling centralized IP management across geographies without re-provisioning.

AS8075
Target ASN
/24
Min Prefix
~48 hours
Setup Time
86%
Savings

Azure BYOIP Requirements

Ensure you meet all prerequisites before creating a Custom IP Prefix in Azure.

Minimum /24 Prefix (Custom IP Prefix)

Azure requires a minimum /24 IPv4 prefix (256 addresses) for Custom IP Prefix resources. Smaller blocks are not supported. The prefix must be owned by your organization and registered with an RIR such as ARIN, RIPE NCC, or APNIC.

ROA with AS8075

A valid Route Origin Authorization (ROA) must be created in the appropriate RIR portal, authorizing AS8075 (Microsoft) to announce your prefix. The ROA must include the exact prefix and maximum length, and RPKI validation must pass before Azure will accept it.

Signed Authorization Message

Azure requires a specially formatted signed authorization message that includes your subscription ID, the prefix to be onboarded, and an expiration date. This message must be added to the RDAP/Whois record of the prefix as a public comment or remark before provisioning.

Azure Subscription with Network Contributor Role

You need an active Azure subscription and at least the Network Contributor RBAC role (or a custom role with Microsoft.Network/customIpPrefixes/* permissions) to create and manage Custom IP Prefix resources.

Provisioning + Commissioning Steps

After creating the Custom IP Prefix resource, Azure performs a two-phase process: provisioning (validation and BGP advertisement preparation, 12–24 hours) and commissioning (activating the prefix for use with public IPs). Both steps must complete before addresses are usable.

Azure BYOIP Setup Guide

Follow these steps to bring your own IP addresses into Azure using Custom IP Prefix.

1

Prepare Authorization Message

30 minutes

Generate the signed authorization message in the format Azure requires, including your Azure subscription ID, the IP prefix, and an expiration date. Add this message to your prefix's RDAP or Whois record as a public remark through your RIR portal.

2

Create ROA with AS8075

2–4 hours

Log into your RIR's RPKI dashboard (ARIN, RIPE NCC, or APNIC) and create a Route Origin Authorization for your prefix with AS8075 as the authorized origin. Allow 2–4 hours for global RPKI propagation and validation.

3

Create Custom IP Prefix Resource in Azure

1 hour

In the Azure portal or via Azure CLI/PowerShell, create a Custom IP Prefix resource specifying your prefix CIDR, the signed authorization message, and whether it is a global or regional prefix. Select the target Azure region.

4

Provision the Prefix

12–24 hours

Trigger provisioning on the Custom IP Prefix resource. Azure validates your ROA, verifies the signed authorization, and prepares BGP advertisement. This validation phase typically takes 12–24 hours to complete.

5

Commission the Prefix

1–2 hours

Once provisioning succeeds, commission the prefix to start BGP advertisement from Azure's edge network. After commissioning, the prefix state changes to "Commissioned" and addresses become available for allocation.

6

Associate with Public IP Resources

30 minutes

Create Standard SKU public IP addresses from your commissioned Custom IP Prefix and associate them with your Azure resources — virtual machines, load balancers, NAT gateways, or Virtual Machine Scale Sets.

Total: Approximately 48 hours (including Azure provisioning validation)

Azure BYOIP Cost Comparison

Compare native Azure public IP pricing against BYOIP with leased addresses to see how much you can save.

Azure Standard Public IP

Per IP/hour$0.005/IP/hour
Per IP/month$3.60/IP/month
/24 Monthly$922/month for /24

Azure charges approximately $0.005 per hour for each Standard SKU public IP address, whether attached or unattached. For a full /24 (256 IPs), this adds up to $922 per month in IP charges alone.

BYOIP with Leased IPv4

Per IP/month$0.50/IP/month
/24 Monthly$128/month for /24

Lease a /24 block and bring it to Azure via Custom IP Prefix. You pay only the lease cost — Azure does not charge per-IP fees for BYOIP addresses, making this dramatically more economical for IP-intensive workloads.

Your Savings

86%
cost reduction
/24 Monthly$794/month
/24 Annual$9,528/year

Advantages of Azure BYOIP

Key benefits of using Custom IP Prefix to bring your own addresses into Azure.

Eliminates Azure IP Charges

Standard public IP fees ($0.005/hour per IP) are completely eliminated for BYOIP addresses. For deployments using dozens or hundreds of public IPs, the savings are substantial and immediate.

Custom IP Prefix Flexibility

Azure allows you to carve a Custom IP Prefix into smaller allocations and distribute individual public IPs across multiple resources. You retain full control over how your address space is allocated within Azure.

Global & Regional Prefix Support

Azure supports both global and regional Custom IP Prefixes. A global prefix can be onboarded once and then derived into regional child prefixes, enabling efficient multi-region IP management from a single block.

Load Balancer & VMSS Compatibility

BYOIP addresses work seamlessly with Azure Load Balancer (Standard SKU), Virtual Machine Scale Sets, NAT Gateway, and other networking services — no feature limitations compared to Azure-allocated IPs.

ExpressRoute Integration

Custom IP Prefix addresses can be used alongside ExpressRoute for hybrid cloud scenarios, enabling consistent IP addressing between on-premises infrastructure and Azure workloads.

Azure BYOIP FAQ

Frequently asked questions about bringing your own IP addresses to Azure.

What is the difference between provisioning and commissioning a Custom IP Prefix?

Provisioning is the validation phase where Azure verifies your ROA, checks the signed authorization message, and prepares the BGP infrastructure — this takes 12–24 hours. Commissioning is the activation phase that starts the actual BGP advertisement of your prefix from Azure's edge, making the IPs usable with Azure resources. Both steps must complete in sequence.

Which Azure services support BYOIP addresses from Custom IP Prefix?

Custom IP Prefix addresses can be used with any service that supports Standard SKU public IPs, including Virtual Machines, Azure Load Balancer (Standard), Virtual Machine Scale Sets (VMSS), NAT Gateway, Azure Firewall, VPN Gateway, and Application Gateway v2.

Does Azure support IPv6 BYOIP?

Yes, Azure supports bringing your own IPv6 prefixes through Custom IP Prefix. IPv6 BYOIP follows the same provisioning and commissioning workflow as IPv4, with a minimum prefix size of /48 for IPv6.

Can I use BYOIP addresses with Azure ExpressRoute?

Yes. BYOIP addresses provisioned through Custom IP Prefix can be used alongside ExpressRoute circuits. This enables consistent IP addressing for hybrid deployments where workloads span on-premises and Azure environments.

What permissions do I need to create a Custom IP Prefix in Azure?

You need at minimum the Network Contributor role on the target subscription, or a custom RBAC role that includes Microsoft.Network/customIpPrefixes/* permissions. For cross-subscription scenarios or delegated management, additional role assignments may be needed.

How long does it take to decommission and remove a Custom IP Prefix from Azure?

Decommissioning a prefix (stopping BGP advertisement) typically completes within 1–2 hours. After decommissioning, you must deprovisioning the resource and ensure all associated public IPs are disassociated before deleting the Custom IP Prefix. The full removal process usually takes a few hours.

Ready to Bring Your IPs to Azure?

Get a /24 or larger IPv4 block for Azure Custom IP Prefix. Our team handles RIR transfers, ROA setup, and provides full onboarding guidance to get you live on Azure quickly.

Free consultation — no commitment required