Public Preview: Azure Network IP Address Management

Now avaliable in public preview, Azure Network Manager IP Address Management!

Introduction

Azure Virtual Network IP Address Management (IPAM) is now available in public preview. This feature centralizes and optimizes IP address management, giving users more control and efficiency in their network operations. Azure Virtual Network IPAM helps in planning and allocating IP addresses, ensuring non-overlapping, conflict-free usage. The tool automatically handles address reservations for specific needs and prevents address conflicts, thus simplifying network management.

Implementation Guide using Bicep

Step 1: Create an IP Address Pool

1
2
3
4
5
6
7
resource ipamPool 'Microsoft.Network/ipamPools@2024-05-01' = {
  name: 'myIpamPool'
  location: 'australiaeast'
  properties: {
    addressPrefix: '10.0.0.0/16'
  }
}

Step 2: Associate the IP Address Pool with Your Virtual Network

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
resource vnet 'Microsoft.Network/virtualNetworks@2024-05-01' = {
  name: 'myVNet'
  location: 'australiaeast'
  properties: {
    addressSpace: {
      addressPrefixes: [
        '10.0.0.0/16'
      ]
    }
    subnets: [
      {
        name: 'subnet1'
        properties: {
          addressPrefix: '10.0.1.0/24'
        }
      }
    ]
  }
}

resource ipamAssociation 'Microsoft.Network/ipamAssociations@2024-05-01' = {
  name: 'myIpamAssociation'
  location: 'australiaeast'
  properties: {
    ipamPool: {
      id: ipamPool.id
    }
    virtualNetwork: {
      id: vnet.id
    }
  }
}

Step 3: Create Static CIDR Blocks

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
resource staticCidrBlock 'Microsoft.Network/staticCidrBlocks@2024-05-01' = {
  name: 'myStaticCidrBlock'
  location: 'australiaeast'
  properties: {
    addressPrefix: '10.0.2.0/24'
    ipamPool: {
      id: ipamPool.id
    }
  }
}

Step 4: Deploy the IPAM Configuration

1
2
3
4
5
6
7
8
9
targetScope = 'resourceGroup'

module ipamPool 'ipamPool.bicep' = {}
module vnet 'vnet.bicep' = {}
module staticCidrBlock 'staticCidrBlock.bicep' = {}

output ipamPoolId string = ipamPool.outputs.id
output vnetId string = vnet.outputs.id
output staticCidrBlockId string = staticCidrBlock.outputs.id

Step 5: Deploy the Bicep File

Use the Azure CLI to deploy the Bicep file to your Azure subscription.

1
az deployment group create --resource-group <Your-Resource-Group> --template-file aznetman-ipam.bicep

Monitor IPAM

After deploying, monitor IP address usage and allocation using the Azure portal. Navigate to your IPAM resource and check the overview for address allocations and reservations.

Conclusion

The Azure Virtual Network IP Address Management public preview brings a sophisticated toolset for effective IP address management, crucial for maintaining seamless network operations. With the steps above, you can start harnessing the capabilities of Azure IPAM, ensuring efficient IP address allocation and monitoring.

Learn More

For detailed information, refer to these Microsoft Learn resources: