Reputation: 1344
Can someone let me know if its possible to attach an existing public ip address to a Load Balancer? At the moment, we have a public address assigned to one of our devices by Azure. We would like to disassociate the address from the device and use the same on our Load balancer. Is that possible?
Regards
Carlton
Upvotes: 1
Views: 2300
Reputation: 13974
We would like to disassociate the address from the device and use the same on our Load balancer. Is that possible?
Yes, it is possible, before disassociate the public IP address, we should set this public IP address to static, in this way, the IP address will not change to other address.
After that, we can associate this public IP address to Azure load balancer.
Update:
We can associate this IP address to LB via Azure portal, like this:
Upvotes: 2
Reputation: 72141
Yes, this is possible, for example with an arm template, this is the part that assigns ip address:
"frontendIPConfigurations": [
{
"name": "elb-FE",
"properties": {
"publicIPAddress": {
"id": "IP_ADDRESS_ID_GOES_HERE"
}
}
}
]
Upvotes: 0